UnitInfoPanel Class Reference

#include <dashboard.h>

Inheritance diagram for UnitInfoPanel:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 UnitInfoPanel (PG_Widget *parent, const PG_Rect &r)

Protected Member Functions

bool onClick (PG_MessageObject *obj, const SDL_MouseButtonEvent *event)
void showUnitInfo (const VehicleType *vt)
bool unitNaming ()

Detailed Description

Definition at line 73 of file dashboard.h.


Constructor & Destructor Documentation

UnitInfoPanel::UnitInfoPanel ( PG_Widget *  parent,
const PG_Rect &  r 
)

Definition at line 524 of file dashboard.cpp.

References onClick(), showUnitInfo(), VehicleTypeSelectionItemFactory::showVehicleInfo, and unitNaming().


Member Function Documentation

bool UnitInfoPanel::onClick ( PG_MessageObject *  obj,
const SDL_MouseButtonEvent *  event 
) [protected]

Definition at line 564 of file dashboard.cpp.

References actmap, GameMap::actplayer, Player::cursorPos, GameMap::getField(), GameMap::player, ASCGUI_Window::RunModal(), Vehicle::typ, DashboardPanel::veh, MapField::vehicle, and WeaponInfoPanel::WIP_Name().

Referenced by UnitInfoPanel().

void UnitInfoPanel::showUnitInfo ( const VehicleType vt  )  [protected]

Definition at line 540 of file dashboard.cpp.

Referenced by UnitInfoPanel().

bool UnitInfoPanel::unitNaming (  )  [protected]

Definition at line 545 of file dashboard.cpp.

References RenameContainerCommand::avail(), DashboardPanel::bld, DashboardPanel::showUnitData(), and DashboardPanel::veh.

Referenced by UnitInfoPanel().


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