Advanced Strategic Command
Public Member Functions | List of all members
BuildingTypeResourceWidget Class Reference

#include <buildingtypeselector.h>

Inheritance diagram for BuildingTypeResourceWidget:
Inheritance graph
[legend]

Public Member Functions

 BuildingTypeResourceWidget (PG_Widget *parent, const PG_Point &pos, int width, const BuildingType *BuildingType, int lackingResources, const Resources &cost, const Player &player)
 
- Public Member Functions inherited from BuildingTypeBaseWidget
 BuildingTypeBaseWidget (PG_Widget *parent, const PG_Point &pos, int width, const BuildingType *BuildingType, const Player &player)
 
ASCString getName () const
 
const BuildingTypegetBuildingType () const
 
- Public Member Functions inherited from SelectionWidget
void setSelectionCallback (SelectionCallBack *callBack)
 
virtual ~SelectionWidget ()
 
virtual int gap ()
 

Additional Inherited Members

- Public Types inherited from SelectionWidget
typedef Loki::Functor< bool,
LOKI_TYPELIST_1(const
SelectionWidget *) > 
SelectionCallBack
 
- Public Attributes inherited from SelectionWidget
sigc::signal< void, const
SelectionWidget * > 
itemSelected
 
sigc::signal< void, const
SelectionWidget * > 
itemMarked
 
- Protected Member Functions inherited from BuildingTypeBaseWidget
void display (SDL_Surface *surface, const PG_Rect &src, const PG_Rect &dst)
 
- Protected Member Functions inherited from SelectionWidget
 SelectionWidget (PG_Widget *parent, const PG_Rect &rect)
 
bool eventMouseButtonUp (const SDL_MouseButtonEvent *button)
 
bool eventMouseButtonDown (const SDL_MouseButtonEvent *button)
 
void eventBlit (SDL_Surface *surface, const PG_Rect &src, const PG_Rect &dst)
 
- Static Protected Member Functions inherited from BuildingTypeBaseWidget
static int getBuildingHeight (const BuildingType *type)
 

Detailed Description

Definition at line 45 of file buildingtypeselector.h.

Constructor & Destructor Documentation

BuildingTypeResourceWidget::BuildingTypeResourceWidget ( PG_Widget *  parent,
const PG_Point &  pos,
int  width,
const BuildingType BuildingType,
int  lackingResources,
const Resources cost,
const Player player 
)

The documentation for this class was generated from the following files: