diff options
author | alberth <alberth@openttd.org> | 2010-06-26 15:22:10 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-06-26 15:22:10 +0000 |
commit | 212dbbf4d8d8f397b8392947471cfb916d470564 (patch) | |
tree | dd28ae0a82943998bfc316bf6c2b504c355cca6a /src/console_gui.cpp | |
parent | ef17c6042f2a78414dea5853cfccf99256ddbbb5 (diff) | |
download | openttd-212dbbf4d8d8f397b8392947471cfb916d470564.tar.xz |
(svn r20022) -Doc: Add some doxygen comments.
Diffstat (limited to 'src/console_gui.cpp')
-rw-r--r-- | src/console_gui.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/console_gui.cpp b/src/console_gui.cpp index 6a73790be..264e107bf 100644 --- a/src/console_gui.cpp +++ b/src/console_gui.cpp @@ -168,7 +168,7 @@ static const WindowDesc _console_window_desc( struct IConsoleWindow : Window { static int scroll; - int line_height; + int line_height; ///< Height of one line of text in the console. int line_offset; IConsoleWindow() : Window() @@ -375,6 +375,7 @@ void IConsoleGUIFree() IConsoleClearBuffer(); } +/** Change the size of the in-game console window after the screen size changed, or the window state changed. */ void IConsoleResize(Window *w) { switch (_iconsole_mode) { @@ -392,6 +393,7 @@ void IConsoleResize(Window *w) MarkWholeScreenDirty(); } +/** Toggle in-game console between opened and closed. */ void IConsoleSwitch() { switch (_iconsole_mode) { |