summaryrefslogtreecommitdiff
path: root/src/gfx_type.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-06-20 15:05:59 +0000
committeralberth <alberth@openttd.org>2009-06-20 15:05:59 +0000
commit8aa51823fca66887f21533e0de292faf6c907496 (patch)
tree19f87218810a7d6811cfca2556ba745ba6b6bf20 /src/gfx_type.h
parent4419366f94f75032b53362e2722b6476beb02866 (diff)
downloadopenttd-8aa51823fca66887f21533e0de292faf6c907496.tar.xz
(svn r16604) -Codechange: Use FS_BEGIN for iterating over fonts.
Diffstat (limited to 'src/gfx_type.h')
-rw-r--r--src/gfx_type.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gfx_type.h b/src/gfx_type.h
index 8cae5c0d4..569c78214 100644
--- a/src/gfx_type.h
+++ b/src/gfx_type.h
@@ -148,10 +148,12 @@ struct Colour {
/** Available font sizes */
enum FontSize {
- FS_NORMAL,
- FS_SMALL,
- FS_LARGE,
+ FS_NORMAL, ///< Index of the normal font in the font tables.
+ FS_SMALL, ///< Index of the small font in the font tables.
+ FS_LARGE, ///< Index of the large font in the font tables.
FS_END,
+
+ FS_BEGIN = FS_NORMAL, ///< First font.
};
DECLARE_POSTFIX_INCREMENT(FontSize);