_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include <ui.h>
Public Member Functions | |
CMapArea () | |
ui.cpp - The user interface globals. | |
bool | Contains (const PixelPos &screenPos) const |
Public Attributes | |
int | X |
int | Y |
Screen pixel left corner x coordinate. More... | |
int | EndX |
Screen pixel upper corner y coordinate. More... | |
int | EndY |
Screen pixel right x coordinate. More... | |
int | ScrollPaddingLeft |
Screen pixel bottom y coordinate. More... | |
int | ScrollPaddingRight |
Scrollable area past the left of map. More... | |
int | ScrollPaddingTop |
Scrollable area past the right of map. More... | |
int | ScrollPaddingBottom |
Scrollable area past the top of map. More... | |
|
inline |
bool CMapArea::Contains | ( | const PixelPos & | screenPos | ) | const |
int CMapArea::EndX |
Screen pixel upper corner y coordinate.
int CMapArea::EndY |
Screen pixel right x coordinate.
int CMapArea::ScrollPaddingBottom |
Scrollable area past the top of map.
int CMapArea::ScrollPaddingLeft |
Screen pixel bottom y coordinate.
int CMapArea::ScrollPaddingRight |
Scrollable area past the left of map.
int CMapArea::ScrollPaddingTop |
Scrollable area past the right of map.
int CMapArea::X |
int CMapArea::Y |
Screen pixel left corner x coordinate.