Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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)

Constructor & Destructor Documentation

UnitInfoPanel::UnitInfoPanel PG_Widget parent,
const PG_Rect r
 

Definition at line 501 of file dashboard.cpp.

References DashboardPanel::containerRenamed(), PG_Widget::FindChild(), onClick(), showUnitInfo(), VehicleTypeSelectionItemFactory::showVehicleInfo, PG_MessageObject::sigMouseButtonDown, and PG_MessageObject::sigMouseButtonUp.


Member Function Documentation

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

Definition at line 524 of file dashboard.cpp.

References actmap, GameMap::actplayer, PG_Widget::BringToFront(), GameMap::getField(), PG_Application::GetWidgetByName(), GameMap::player, ASCGUI_Window::RunModal(), PG_MessageObject::SetCapture(), PG_Widget::Show(), Vehicle::typ, DashboardPanel::veh, tfield::vehicle, and WeaponInfoPanel::WIP_Name().

Referenced by UnitInfoPanel().

void UnitInfoPanel::showUnitInfo const Vehicletype vt  )  [protected]
 

Definition at line 518 of file dashboard.cpp.

Referenced by UnitInfoPanel().


The documentation for this class was generated from the following files:
Generated on Tue Jun 24 02:22:09 2008 for Advanced Strategic Command by  doxygen 1.4.2