_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include <popup.h>
Public Member Functions | |
virtual | ~CPopupContentTypeLine () |
popup.cpp - The popup globals. | |
CPopupContentTypeLine () | |
virtual void | Draw (int x, int y, const CPopup &popup, const unsigned int popupWidth, const ButtonAction &button, int *Costs) const |
Tell how show the variable Index. More... | |
virtual int | GetWidth (const ButtonAction &button, int *Costs) const |
Get the content's width. More... | |
virtual int | GetHeight (const ButtonAction &button, int *Costs) const |
Get the content's height. More... | |
virtual void | Parse (lua_State *l) |
![]() | |
CPopupContentType () | |
virtual | ~CPopupContentType () |
Additional Inherited Members | |
![]() | |
static CPopupContentType * | ParsePopupContent (lua_State *l) |
![]() | |
PixelPos | pos |
int | MarginX |
position to draw. More... | |
int | MarginY |
Left and right margin width. More... | |
PixelSize | minSize |
Upper and lower margin height. More... | |
bool | Wrap |
Minimal size covered by content type. More... | |
PopupConditionPanel * | Condition |
Color used for highlighted letters. More... | |
![]() | |
std::string | TextColor |
If true, the next content will be placed on the next "line". More... | |
std::string | HighlightColor |
Color used for plain text in content. More... | |
CPopupContentTypeLine::CPopupContentTypeLine | ( | ) |
|
inlinevirtual |
|
virtual |
Tell how show the variable Index.
Implements CPopupContentType.
|
virtual |
Get the content's height.
Implements CPopupContentType.
|
virtual |
Get the content's width.
Implements CPopupContentType.
|
virtual |
Implements CPopupContentType.