_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
buttons on screen themselves More...
#include <ui.h>
Public Member Functions | |
| CUIButton () | |
| ~CUIButton () | |
mouse.cpp - The mouse handling. | |
| bool | Contains (const PixelPos &screenPos) const |
Public Attributes | |
| int | X |
| int | Y |
| x coordinate on the screen More... | |
| std::string | Text |
| y coordinate on the screen More... | |
| ButtonStyle * | Style |
| button text More... | |
| LuaActionListener * | Callback |
| button style More... | |
buttons on screen themselves
|
inline |
|
inline |
| bool CUIButton::Contains | ( | const PixelPos & | screenPos | ) | const |
Check if the mouse is on a button
| screenPos | screen coordinate. |
| LuaActionListener* CUIButton::Callback |
button style
| ButtonStyle* CUIButton::Style |
button text
| std::string CUIButton::Text |
y coordinate on the screen
| int CUIButton::X |
| int CUIButton::Y |
x coordinate on the screen
1.8.17
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.