#include <dashboard.h>
Inheritance diagram for UnitInfoPanel:

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 () |
Definition at line 73 of file dashboard.h.
| UnitInfoPanel::UnitInfoPanel | ( | PG_Widget * | parent, | |
| const PG_Rect & | r | |||
| ) |
Definition at line 524 of file dashboard.cpp.
References onClick(), showUnitInfo(), VehicleTypeSelectionItemFactory::showVehicleInfo, and unitNaming().
| 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] |
| 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().
1.5.1