Advanced Strategic Command
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
DiplomaticModeChooser< SelectionType > Class Template Reference
Inheritance diagram for DiplomaticModeChooser< SelectionType >:
Inheritance graph
[legend]

Public Member Functions

 DiplomaticModeChooser (PG_Widget *parent, const PG_Rect &pos, SelectionType &dm, bool writeable)
 
void eventDraw (SDL_Surface *surface, const PG_Rect &rect)
 
void SetState (SelectionType state)
 
bool eventMouseButtonUp (const SDL_MouseButtonEvent *button)
 

Public Attributes

sigc::signal< void, SelectionType > sigStateChange
 

Protected Member Functions

void selectMode ()
 

Detailed Description

template<typename SelectionType>
class DiplomaticModeChooser< SelectionType >

Definition at line 119 of file alliancesetup.cpp.

Constructor & Destructor Documentation

template<typename SelectionType>
DiplomaticModeChooser< SelectionType >::DiplomaticModeChooser ( PG_Widget *  parent,
const PG_Rect &  pos,
SelectionType &  dm,
bool  writeable 
)
inline

Definition at line 138 of file alliancesetup.cpp.

Member Function Documentation

template<typename SelectionType>
void DiplomaticModeChooser< SelectionType >::eventDraw ( SDL_Surface *  surface,
const PG_Rect &  rect 
)
inline
template<typename SelectionType>
bool DiplomaticModeChooser< SelectionType >::eventMouseButtonUp ( const SDL_MouseButtonEvent *  button)
inline
template<typename SelectionType>
void DiplomaticModeChooser< SelectionType >::selectMode ( )
inlineprotected
template<typename SelectionType>
void DiplomaticModeChooser< SelectionType >::SetState ( SelectionType  state)
inline

Member Data Documentation

template<typename SelectionType>
sigc::signal<void,SelectionType> DiplomaticModeChooser< SelectionType >::sigStateChange

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