_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

Public Member Functions | List of all members
CPopupContentTypeLine Class Reference

#include <popup.h>

Inheritance diagram for CPopupContentTypeLine:
CPopupContentType

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)
 
- Public Member Functions inherited from CPopupContentType
 CPopupContentType ()
 
virtual ~CPopupContentType ()
 

Additional Inherited Members

- Static Public Member Functions inherited from CPopupContentType
static CPopupContentTypeParsePopupContent (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...
 
PopupConditionPanelCondition
 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...
 

Constructor & Destructor Documentation

◆ CPopupContentTypeLine()

CPopupContentTypeLine::CPopupContentTypeLine ( )

◆ ~CPopupContentTypeLine()

virtual CPopupContentTypeLine::~CPopupContentTypeLine ( )
inlinevirtual

Member Function Documentation

◆ Draw()

void CPopupContentTypeLine::Draw ( int  x,
int  y,
const CPopup popup,
const unsigned int  popupWidth,
const ButtonAction button,
int *  Costs 
) const
virtual

Tell how show the variable Index.

Implements CPopupContentType.

◆ GetHeight()

int CPopupContentTypeLine::GetHeight ( const ButtonAction button,
int *  Costs 
) const
virtual

Get the content's height.

Implements CPopupContentType.

◆ GetWidth()

int CPopupContentTypeLine::GetWidth ( const ButtonAction button,
int *  Costs 
) const
virtual

Get the content's width.

Implements CPopupContentType.

◆ Parse()

void CPopupContentTypeLine::Parse ( lua_State *  l)
virtual

Implements CPopupContentType.


The documentation for this class was generated from the following files:
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.