____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
A futuristic real-time strategy game.
This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project.
Distributed under the "GNU General Public License"#include <ui.h>
Public Member Functions | |
| CUIButton () | |
| ~CUIButton () | |
Public Attributes | |
| int | X |
| x coordinate on the screen | |
| int | Y |
| y coordinate on the screen | |
| std::string | Text |
| button text | |
| ButtonStyle * | Style |
| button style | |
| LuaActionListener * | Callback |
| callback function | |
Definition at line 108 of file ui.h.
| int CUIButton::X |
x coordinate on the screen
Definition at line 113 of file ui.h.
Referenced by DrawInfoPanelMultipleSelected(), DrawMenuButtonArea(), DrawPopup(), DrawTrainingUnits(), DrawTransportingUnits(), DrawUnitInfo(), EditorCallbackMouse(), EditorUpdateDisplay(), HandleMouseOn(), and OnButton().
| int CUIButton::Y |
y coordinate on the screen
Definition at line 114 of file ui.h.
Referenced by DrawInfoPanelMultipleSelected(), DrawMenuButtonArea(), DrawPopup(), DrawTrainingUnits(), DrawTransportingUnits(), DrawUnitInfo(), EditorCallbackMouse(), EditorUpdateDisplay(), and OnButton().
| std::string CUIButton::Text |
button text
Definition at line 115 of file ui.h.
Referenced by DrawMenuButtonArea(), and EditorUpdateDisplay().
button style
Definition at line 116 of file ui.h.
Referenced by DrawEditorPanel(), DrawInfoPanelMultipleSelected(), DrawMenuButtonArea(), DrawTrainingUnits(), DrawTransportingUnits(), DrawUnitInfo(), EditorUpdateDisplay(), and OnButton().
callback function
Definition at line 117 of file ui.h.
Referenced by EditorCallbackButtonUp(), and UIHandleButtonUp().
1.5.6