#include <windowing.h>
Inheritance diagram for ASCGUI_Window:

Public Member Functions | |
| void | setLabelText (const ASCString &widgetName, const ASCString &text, PG_Widget *parent=NULL) |
| void | setLabelText (const ASCString &widgetName, int i, PG_Widget *parent=NULL) |
| void | setLabelColor (const ASCString &widgetName, PG_Color color, PG_Widget *parent=NULL) |
| void | setImage (const ASCString &widgetName, Surface &image, PG_Widget *parent=NULL) |
| void | setImage (const ASCString &widgetName, SDL_Surface *image=NULL, PG_Widget *parent=NULL) |
| void | setImage (const ASCString &widgetName, const ASCString &filename, PG_Widget *parent=NULL) |
| void | hide (const ASCString &widgetName, PG_Widget *parent=NULL) |
| void | show (const ASCString &widgetName, PG_Widget *parent=NULL) |
| void | setBargraphValue (const ASCString &widgetName, float fraction, PG_Widget *parent=NULL) |
| void | setBarGraphColor (const ASCString &widgetName, PG_Color color, PG_Widget *parent=NULL) |
| void | rename (const ASCString &widgetName, const ASCString &newname, PG_Widget *parent=NULL) |
| void | setWidgetTransparency (const ASCString &widgetName, int transparency, PG_Widget *parent=NULL) |
| int | RunModal () |
| Enter modal mode. | |
Protected Types | |
| typedef deallocating_map< ASCString, TextPropertyGroup * > | GuiCache |
Protected Member Functions | |
| bool | setup () |
| virtual WidgetParameters | getDefaultWidgetParams ()=0 |
| virtual void | userHandler (const ASCString &label, PropertyReadingContainer &pc, PG_Widget *parent, WidgetParameters widgetParams) |
| void | parsePanelASCTXT (PropertyReadingContainer &pc, PG_Widget *parent, WidgetParameters widgetParams) |
| ASCGUI_Window (PG_Widget *parent, const PG_Rect &r, const ASCString &panelName_, const ASCString &baseStyle="Panel", bool loadTheme=true) | |
| ~ASCGUI_Window () | |
Static Protected Member Functions | |
| static PG_Rect | parseRect (PropertyReadingContainer &pc, PG_Widget *parent) |
Protected Attributes | |
| TextPropertyGroup * | textPropertyGroup |
Static Protected Attributes | |
| static GuiCache | guiCache |
Classes | |
| class | WidgetParameters |
|
|
Definition at line 80 of file windowing.h. |
|
||||||||||||||||||||||||
|
Definition at line 312 of file windowing.cpp. |
|
|
Definition at line 922 of file windowing.cpp. |
|
|
Implemented in Panel, and ConfigurableWindow. Referenced by setup(). |
|
||||||||||||
|
Definition at line 780 of file windowing.cpp. References PG_Widget::FindChild(). Referenced by CargoDialog::CargoDialog(), WeaponInfoPanel::showWeapon(), and CargoInfoWindow::update(). |
|
||||||||||||||||
|
||||||||||||
|
Definition at line 319 of file windowing.cpp. References PropertyContainer::addInteger(), PG_Rect::Height(), and PG_Rect::Width(). Referenced by parsePanelASCTXT(), and UnitInfoDialog::userHandler(). |
|
||||||||||||||||
|
Definition at line 687 of file windowing.cpp. References PG_Widget::FindChild(). Referenced by UnitInfoDialog::userHandler(). |
|
|
Enter modal mode.
Reimplemented from PG_Widget. Reimplemented in CargoDialog. Definition at line 159 of file windowing.cpp. References PG_Widget::RunModal(). Referenced by nextCampaignMap(), UnitInfoPanel::onClick(), CargoDialog::RunModal(), startMultiplayerGame(), and unitInfoDialog(). |
|
||||||||||||||||
|
Definition at line 813 of file windowing.cpp. References PG_Widget::FindChild(). Referenced by DashboardPanel::eval(), and AttackPanel::setBarGraphColor(). |
|
||||||||||||||||
|
Definition at line 802 of file windowing.cpp. References PG_Widget::FindChild(). Referenced by DashboardPanel::eval(), AttackPanel::setBarGraphValue(), DashboardPanel::showUnitData(), and CargoInfoWindow::update(). |
|
||||||||||||||||
|
Definition at line 745 of file windowing.cpp. References IconRepository::getIcon(), and setImage(). |
|
||||||||||||||||
|
Definition at line 756 of file windowing.cpp. References PG_Widget::FindChild(). |
|
||||||||||||||||
|
Definition at line 751 of file windowing.cpp. References Surface::getBaseSurface(). Referenced by assignWeaponInfo(), setImage(), WeaponInfoPanel::showWeapon(), CargoInfoWindow::update(), and SolarPowerWindow::update(). |
|
||||||||||||||||
|
Definition at line 722 of file windowing.cpp. References PG_Widget::FindChild(). Referenced by WeaponInfoPanel::showWeapon(). |
|
||||||||||||||||
|
Definition at line 738 of file windowing.cpp. References setLabelText(), and ASCString::toString(). |
|
||||||||||||||||
|
|
||||||||||||||||
|
Definition at line 769 of file windowing.cpp. References PG_Widget::FindChild(). Referenced by assignWeaponInfo(). |
|
||||||||||||
|
Definition at line 790 of file windowing.cpp. References PG_Widget::FindChild(). Referenced by WeaponInfoPanel::showWeapon(), and CargoInfoWindow::update(). |
|
||||||||||||||||||||
|
Reimplemented in CargoDialog, StartMultiplayerGame, and UnitInfoDialog. Definition at line 101 of file windowing.h. Referenced by parsePanelASCTXT(). |
|
|
Definition at line 825 of file windowing.cpp. Referenced by setup(). |
|
|
Definition at line 83 of file windowing.h. Referenced by setup(), and WeaponInfoPanel::WeaponInfoPanel(). |
1.4.2