diff options
author | alberth <alberth@openttd.org> | 2009-06-20 15:48:55 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2009-06-20 15:48:55 +0000 |
commit | c1ef6abc6a1ffadb9177868f91ddb652426d077d (patch) | |
tree | b56324a7edb968d83639feff393f54c03ced09e5 /src/gfx_func.h | |
parent | 0aed5bf7d7558e209ea57e277a85c408176147b6 (diff) | |
download | openttd-c1ef6abc6a1ffadb9177868f91ddb652426d077d.tar.xz |
(svn r16606) -Doc: Added/fixed doxygen comments.
Diffstat (limited to 'src/gfx_func.h')
-rw-r--r-- | src/gfx_func.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gfx_func.h b/src/gfx_func.h index dd7693f93..70286ee69 100644 --- a/src/gfx_func.h +++ b/src/gfx_func.h @@ -146,7 +146,7 @@ void SortResolutions(int count); bool ToggleFullScreen(bool fs); /* gfx.cpp */ -extern FontSize _cur_fontsize; +extern FontSize _cur_fontsize; ///< Currently selected font. byte GetCharacterWidth(FontSize size, uint32 key); @@ -162,8 +162,13 @@ static inline byte GetCharacterHeight(FontSize size) return _font_height[size]; } +/** Height of characters in the small (#FS_SMALL) font. */ #define FONT_HEIGHT_SMALL (GetCharacterHeight(FS_SMALL)) + +/** Height of characters in the normal (#FS_NORMAL) font. */ #define FONT_HEIGHT_NORMAL (GetCharacterHeight(FS_NORMAL)) + +/** Height of characters in the large (#FS_LARGE) font. */ #define FONT_HEIGHT_LARGE (GetCharacterHeight(FS_LARGE)) extern DrawPixelInfo *_cur_dpi; |