DamageBarWidget Class Reference

List of all members.

Public Member Functions

 DamageBarWidget (PG_Widget *parent, const PG_Rect &rect, ContainerBase *container)
void repaint ()
void eventBlit (SDL_Surface *surface, const PG_Rect &src, const PG_Rect &dst)

Detailed Description

Definition at line 1705 of file cargodialog.cpp.


Constructor & Destructor Documentation

DamageBarWidget::DamageBarWidget ( PG_Widget *  parent,
const PG_Rect &  rect,
ContainerBase container 
) [inline]

Definition at line 1710 of file cargodialog.cpp.


Member Function Documentation

void DamageBarWidget::repaint (  )  [inline]

Definition at line 1715 of file cargodialog.cpp.

Referenced by CargoDialog::userHandler().

void DamageBarWidget::eventBlit ( SDL_Surface *  surface,
const PG_Rect &  src,
const PG_Rect &  dst 
) [inline]

Definition at line 1719 of file cargodialog.cpp.

References ContainerBase::damage, DI_Color::MapRGBA(), ContainerBase::repairableDamage(), and Surface::Wrap().


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