WeaponInfoLine Class Reference

List of all members.

Public Member Functions

 WeaponInfoLine (WeaponInfoPanel *parent, const PG_Point &p, SDL_Surface *image, const SingleWeapon *weap, const VehicleType *vehicle)
void painter (const PG_Rect &src, const ASCString &name, const PG_Rect &dst)
void registerSpecialDisplay (const ASCString &name)
void eventMouseEnter ()
void eventMouseLeave ()
bool activate ()

Detailed Description

Definition at line 612 of file dashboard.cpp.


Constructor & Destructor Documentation

WeaponInfoLine::WeaponInfoLine ( WeaponInfoPanel parent,
const PG_Point &  p,
SDL_Surface *  image,
const SingleWeapon weap,
const VehicleType vehicle 
) [inline]

Definition at line 618 of file dashboard.cpp.


Member Function Documentation

void WeaponInfoLine::painter ( const PG_Rect &  src,
const ASCString name,
const PG_Rect &  dst 
) [inline]

Definition at line 623 of file dashboard.cpp.

References IconRepository::getIcon(), SingleWeapon::getIconFileName(), SingleWeapon::getScalarWeaponType(), ContainerBaseType::height, screen, SingleWeapon::sourceheight, SingleWeapon::targ, and Surface::Wrap().

Referenced by registerSpecialDisplay().

void WeaponInfoLine::registerSpecialDisplay ( const ASCString name  )  [inline]

Definition at line 648 of file dashboard.cpp.

References SpecialDisplayWidget::display, and painter().

Referenced by WeaponInfoPanel::WeaponInfoPanel().

void WeaponInfoLine::eventMouseEnter (  )  [inline]

Definition at line 655 of file dashboard.cpp.

References WeaponInfoPanel::showWeapon().

void WeaponInfoLine::eventMouseLeave (  )  [inline]

Definition at line 661 of file dashboard.cpp.

References WeaponInfoPanel::showWeapon().

bool WeaponInfoLine::activate (  )  [inline]

Definition at line 667 of file dashboard.cpp.

References WeaponInfoPanel::showWeapon().


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