(svn r27755) -Codechange: Move TAB_SIZE to strings_type.h and use it consistently.

This commit is contained in:
frosch
2017-02-26 19:40:32 +00:00
parent 9ad09627ad
commit f4da8ece0c
4 changed files with 13 additions and 9 deletions

View File

@@ -26,6 +26,11 @@ enum TextDirection {
TD_RTL, ///< Text is written right-to-left by default
};
/** Number of bits for the StringIndex within a StringTab */
static const uint TAB_SIZE_BITS = 11;
/** Number of strings per StringTab */
static const uint TAB_SIZE = 1 << TAB_SIZE_BITS;
/** Special string constants */
enum SpecialStrings {