_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
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 | |
| CPopupContentTypeVariable () | |
| virtual | ~CPopupContentTypeVariable () |
popup.cpp - The popup globals. | |
| 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) |
Public Member Functions inherited from CPopupContentType | |
| CPopupContentType () | |
| virtual | ~CPopupContentType () |
Additional Inherited Members | |
Static Public Member Functions inherited from CPopupContentType | |
| static CPopupContentType * | ParsePopupContent (lua_State *l) |
Public Attributes inherited from CPopupContentType | |
| 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... | |
Protected Attributes inherited from CPopupContentType | |
| 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... | |
|
inline |
|
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.
1.8.17
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.