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

Public Member Functions

 TaskWidget (PG_Widget *parent, const PG_Point &pos, int width, Command *command, GameMap *map, TaskContainer *taskContainer)
- Public Member Functions inherited from ActionWidget
 ActionWidget (PG_Widget *parent, const PG_Point &pos, int width, const Command &action, GameMap *map)
ASCString getName () const
vector< MapCoordinategetCoordinates () const
- Public Member Functions inherited from SelectionWidget
void setSelectionCallback (SelectionCallBack *callBack)
virtual ~SelectionWidget ()
virtual int gap ()

Protected Member Functions

bool click ()
- Protected Member Functions inherited from ActionWidget
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 * > 
- Protected Attributes inherited from ActionWidget
const Commandact

Detailed Description

Definition at line 45 of file taskmanager.cpp.

Constructor & Destructor Documentation

TaskWidget::TaskWidget ( PG_Widget *  parent,
const PG_Point &  pos,
int  width,
Command command,
GameMap map,
TaskContainer taskContainer 

Definition at line 74 of file taskmanager.cpp.

Member Function Documentation

bool TaskWidget::click ( )

Definition at line 84 of file taskmanager.cpp.

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