diff options
Diffstat (limited to 'src/strings_type.h')
-rw-r--r-- | src/strings_type.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/strings_type.h b/src/strings_type.h index c6eebd54d..780221d0a 100644 --- a/src/strings_type.h +++ b/src/strings_type.h @@ -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 { |