Advanced Strategic Command
Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
VehicleBaseWidget Class Reference

#include <vehicletypeselector.h>

Inheritance diagram for VehicleBaseWidget:
Inheritance graph

Public Member Functions

 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 ()

Protected Member Functions

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

static int buttonXPos (int width, int num)

Additional Inherited Members

- Public Types inherited from SelectionWidget
typedef Loki::Functor< bool,
SelectionWidget *) > 
- Public Attributes inherited from SelectionWidget
sigc::signal< void, const
SelectionWidget * > 
sigc::signal< void, const
SelectionWidget * > 

Detailed Description

Definition at line 46 of file vehicletypeselector.h.

Constructor & Destructor Documentation

VehicleBaseWidget::VehicleBaseWidget ( PG_Widget *  parent,
const PG_Point &  pos,
int  width,
const Vehicle vehicle,
const Player player 

Member Function Documentation

int VehicleBaseWidget::buttonXPos ( int  width,
int  num 

Definition at line 107 of file vehicletypeselector.cpp.

Referenced by VehicleBaseWidget().

void VehicleBaseWidget::display ( SDL_Surface *  surface,
const PG_Rect &  src,
const PG_Rect &  dst 
ASCString VehicleBaseWidget::getName ( ) const

Implements SelectionWidget.

Definition at line 123 of file vehicletypeselector.cpp.

References Vehicle::getName().

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