SelectionItemWidget Class Reference

#include <maped-mainscreen.h>

List of all members.

Public Member Functions

 SelectionItemWidget (PG_Widget *parent, const PG_Rect &pos)
void set (const Placeable *item)

Protected Member Functions

void eventDraw (SDL_Surface *surface, const PG_Rect &rect)


Detailed Description

Definition at line 40 of file maped-mainscreen.h.


Constructor & Destructor Documentation

SelectionItemWidget::SelectionItemWidget ( PG_Widget *  parent,
const PG_Rect &  pos 
) [inline]

Definition at line 44 of file maped-mainscreen.h.


Member Function Documentation

void SelectionItemWidget::set ( const Placeable item  )  [inline]

Definition at line 48 of file maped-mainscreen.h.

Referenced by Maped_MainScreenWidget::Maped_MainScreenWidget().

void SelectionItemWidget::eventDraw ( SDL_Surface *  surface,
const PG_Rect &  rect 
) [inline, protected]

Definition at line 50 of file maped-mainscreen.h.

References MapComponent::display(), MapComponent::displayHeight(), MapComponent::displayWidth(), and Surface::Wrap().


The documentation for this class was generated from the following file:
Generated on Mon May 21 01:47:27 2012 for Advanced Strategic Command by  doxygen 1.5.1