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

#include <vehicletypeselector.h>

Inheritance diagram for VehicleTypeResourceWidget:
Inheritance graph
[legend]

Public Member Functions

 VehicleTypeResourceWidget (PG_Widget *parent, const PG_Point &pos, int width, const VehicleType *vehicletype, int lackingResources, const Resources &cost, const Player &player)
 
- Public Member Functions inherited from VehicleTypeBaseWidget
 VehicleTypeBaseWidget (PG_Widget *parent, const PG_Point &pos, int width, const VehicleType *vehicletype, const Player &player)
 
ASCString getName () const
 
const VehicleTypegetVehicletype () 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 VehicleTypeBaseWidget
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 VehicleTypeBaseWidget
static int buttonXPos (int width, int num)
 

Detailed Description

Definition at line 61 of file vehicletypeselector.h.

Constructor & Destructor Documentation

VehicleTypeResourceWidget::VehicleTypeResourceWidget ( PG_Widget *  parent,
const PG_Point &  pos,
int  width,
const VehicleType vehicletype,
int  lackingResources,
const Resources cost,
const Player player 
)

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