Advanced Strategic Command
Public Member Functions | Protected Member Functions | List of all members
TechAdapterWidget Class Reference
Inheritance diagram for TechAdapterWidget:
Inheritance graph

Public Member Functions

 TechAdapterWidget (PG_Widget *parent, const PG_Point &pos, int width, const ASCString &adapterName)
ASCString getName () const
int gap ()
- Public Member Functions inherited from SelectionWidget
void setSelectionCallback (SelectionCallBack *callBack)
virtual ~SelectionWidget ()

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)

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 38 of file edittechadapter.cpp.

Constructor & Destructor Documentation

TechAdapterWidget::TechAdapterWidget ( PG_Widget *  parent,
const PG_Point &  pos,
int  width,
const ASCString adapterName 

Definition at line 42 of file edittechadapter.cpp.

Member Function Documentation

void TechAdapterWidget::display ( SDL_Surface *  surface,
const PG_Rect &  src,
const PG_Rect &  dst 

Implements SelectionWidget.

Definition at line 61 of file edittechadapter.cpp.

int TechAdapterWidget::gap ( )

Reimplemented from SelectionWidget.

Definition at line 55 of file edittechadapter.cpp.

ASCString TechAdapterWidget::getName ( ) const

Implements SelectionWidget.

Definition at line 50 of file edittechadapter.cpp.

Referenced by TechAdapterSelectionItemFactory::itemSelected().

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