Advanced Strategic Command
Public Member Functions | List of all members
CargoGuiFunctions::VehicleWidget Class Reference
Inheritance diagram for CargoGuiFunctions::VehicleWidget:
Inheritance graph
[legend]

Public Member Functions

 VehicleWidget (PG_Widget *parent, const PG_Point &pos, int width, Vehicle *unit)
 
VehiclegetUnit () const
 
- Public Member Functions inherited from VehicleBaseWidget
 VehicleBaseWidget (PG_Widget *parent, const PG_Point &pos, int width, const Vehicle *vehicle, const Player &player)
 
ASCString getName () 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 VehicleBaseWidget
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 VehicleBaseWidget
static int buttonXPos (int width, int num)
 

Detailed Description

Definition at line 2612 of file cargodialog.cpp.

Constructor & Destructor Documentation

CargoGuiFunctions::VehicleWidget::VehicleWidget ( PG_Widget *  parent,
const PG_Point &  pos,
int  width,
Vehicle unit 
)
inline

Definition at line 2617 of file cargodialog.cpp.

Member Function Documentation

Vehicle* CargoGuiFunctions::VehicleWidget::getUnit ( ) const
inline

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