diff options
author | rubidium <rubidium@openttd.org> | 2009-11-17 15:25:40 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-17 15:25:40 +0000 |
commit | e297f79b7f16eb2393cce7d0081acb59349341ca (patch) | |
tree | 0a5a25434404df434560c4880e82f10fb228888b /src/gfx_func.h | |
parent | cbc12fdd8695301814b27554cb1146ebc867ea26 (diff) | |
download | openttd-e297f79b7f16eb2393cce7d0081acb59349341ca.tar.xz |
(svn r18143) -Codechange: allow stripping/ignoring of SETX(Y) during DrawString
Diffstat (limited to 'src/gfx_func.h')
-rw-r--r-- | src/gfx_func.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gfx_func.h b/src/gfx_func.h index c8ba4c0d6..6fe86ca68 100644 --- a/src/gfx_func.h +++ b/src/gfx_func.h @@ -100,6 +100,7 @@ enum StringAlignment { SA_RIGHT, ///< Right align the text SA_MASK = 3, ///< Mask for base alignment SA_FORCE = 4, ///< Force the alignment, i.e. don't swap for RTL languages. + SA_STRIP = 8, ///< Strip the SETX/SETXY commands from the string }; DECLARE_ENUM_AS_BIT_SET(StringAlignment); |