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

CPopupContentTypeVariable Class Reference

#include <ui.h>

Inheritance diagram for CPopupContentTypeVariable:

CPopupContentType

List of all members.


Public Member Functions

 CPopupContentTypeVariable ()
virtual ~CPopupContentTypeVariable ()
botpanel.cpp - The bottom panel.
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.
virtual int GetWidth (const ButtonAction &button, int *Costs) const
 Get the content's width.
virtual int GetHeight (const ButtonAction &button, int *Costs) const
 Get the content's height.

Public Attributes

StringDescText
CFontFont
 Text to display.
char Centered
 Font to use.
int Index
 if true, center the display.

Constructor & Destructor Documentation

CPopupContentTypeVariable::CPopupContentTypeVariable (  )  [inline]

virtual CPopupContentTypeVariable::~CPopupContentTypeVariable (  )  [inline, virtual]


Member Function Documentation

void CPopupContentTypeVariable::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.

int CPopupContentTypeVariable::GetWidth ( const ButtonAction button,
int *  Costs 
) const [virtual]

Get the content's width.

Implements CPopupContentType.

int CPopupContentTypeVariable::GetHeight ( const ButtonAction button,
int *  Costs 
) const [virtual]

Get the content's height.

Implements CPopupContentType.


Member Data Documentation

if true, center the display.


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.