diff options
author | alberth <alberth@openttd.org> | 2009-06-20 15:05:59 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2009-06-20 15:05:59 +0000 |
commit | 8aa51823fca66887f21533e0de292faf6c907496 (patch) | |
tree | 19f87218810a7d6811cfca2556ba745ba6b6bf20 /src/gfx_type.h | |
parent | 4419366f94f75032b53362e2722b6476beb02866 (diff) | |
download | openttd-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.h | 8 |
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); |