_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          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
CContentTypeCompleteBar Class Reference

#include <contenttype.h>

Inheritance diagram for CContentTypeCompleteBar:
CContentType

Public Member Functions

 CContentTypeCompleteBar ()
 
contenttype.cpp - .
virtual void Draw (const CUnit &unit, CFont *defaultfont) const
 
virtual void Parse (lua_State *l)
 
- Public Member Functions inherited from CContentType
 CContentType ()
 
virtual ~CContentType ()
 

Additional Inherited Members

- Public Attributes inherited from CContentType
PixelPos Pos
 
ConditionPanelCondition
 Coordinate where to display. More...
 

Detailed Description

Show bar.

Constructor & Destructor Documentation

◆ CContentTypeCompleteBar()

CContentTypeCompleteBar::CContentTypeCompleteBar ( )
inline

Member Function Documentation

◆ Draw()

void CContentTypeCompleteBar::Draw ( const CUnit unit,
CFont defaultfont 
) const
virtual

Draw life bar of a unit using selected variable. Placed under icons on top-panel.

Parameters
unitPointer to unit.
defaultfontFIXME: docu
Todo:
Color and percent value Parametrisation.

Implements CContentType.

◆ Parse()

void CContentTypeCompleteBar::Parse ( lua_State *  l)
virtual

Implements CContentType.


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.