____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
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 | |
| ButtonStyle () | |
Public Attributes | |
| int | Width |
| Button width. | |
| int | Height |
| Button height. | |
| CFont * | Font |
| Font. | |
| std::string | TextNormalColor |
| Normal text color. | |
| std::string | TextReverseColor |
| Reverse text color. | |
| TextAlignment | TextAlign |
| Text alignment. | |
| int | TextX |
| Text X location. | |
| int | TextY |
| Text Y location. | |
| ButtonStyleProperties | Default |
| Default button properties. | |
| ButtonStyleProperties | Hover |
| Hover button properties. | |
| ButtonStyleProperties | Clicked |
| Clicked button properties. | |
Definition at line 89 of file ui.h.
Button width.
Definition at line 94 of file ui.h.
Referenced by CclDefineButtonStyle(), DrawMenuButton(), and OnButton().
Button height.
Definition at line 95 of file ui.h.
Referenced by CclDefineButtonStyle(), DrawMenuButton(), and OnButton().
Font.
Definition at line 96 of file ui.h.
Referenced by CclDefineButtonStyle(), and DrawMenuButton().
| std::string ButtonStyle::TextNormalColor |
Normal text color.
Definition at line 97 of file ui.h.
Referenced by CclDefineButtonStyle(), and DrawMenuButton().
| std::string ButtonStyle::TextReverseColor |
Reverse text color.
Definition at line 98 of file ui.h.
Referenced by CclDefineButtonStyle(), and DrawMenuButton().
Default button properties.
Definition at line 102 of file ui.h.
Referenced by CclDefineButtonStyle(), DrawMenuButton(), and CIcon::DrawUnitIcon().
Hover button properties.
Definition at line 103 of file ui.h.
Referenced by CclDefineButtonStyle(), DrawMenuButton(), and CIcon::DrawUnitIcon().
Clicked button properties.
Definition at line 104 of file ui.h.
Referenced by CclDefineButtonStyle(), DrawMenuButton(), and CIcon::DrawUnitIcon().
1.5.6