summaryrefslogtreecommitdiff
path: root/src/gfx_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-17 15:25:40 +0000
committerrubidium <rubidium@openttd.org>2009-11-17 15:25:40 +0000
commite297f79b7f16eb2393cce7d0081acb59349341ca (patch)
tree0a5a25434404df434560c4880e82f10fb228888b /src/gfx_func.h
parentcbc12fdd8695301814b27554cb1146ebc867ea26 (diff)
downloadopenttd-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.h1
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);