OgreGFX::WidgetMgr Class Reference

#include <widgetMgr.h>

Inheritance diagram for OgreGFX::WidgetMgr:

OgreGFX::GFXMgr OgreGFX::GFXMgr OgreGFX::GFXMgr OgreGFX::GFXMgr OgreGFX::GFXMgr

List of all members.

Public Member Functions

 WidgetMgr (GraphicsInteractionManager *gim)
 ~WidgetMgr ()
virtual bool frameRenderingQueued (const Ogre::FrameEvent &evt)
virtual bool frameStarted (const Ogre::FrameEvent &evt)
virtual bool frameEnded (const Ogre::FrameEvent &evt)
virtual bool keyPressed (const OIS::KeyEvent &arg)
virtual bool keyReleased (const OIS::KeyEvent &arg)
virtual bool mouseMoved (const OIS::MouseEvent &arg)
virtual bool mousePressed (const OIS::MouseEvent &arg, OIS::MouseButtonID id)
virtual bool mouseReleased (const OIS::MouseEvent &arg, OIS::MouseButtonID id)
virtual void activateMenu (FastEcslent::Entity *ent)
virtual void deactivateMenu ()
virtual bool mouseOverOverlay (const OIS::MouseEvent &arg)
virtual bool mouseOverButton (const OIS::MouseEvent &arg)
std::string getNextId (std::string base)
virtual void initialize ()
 WidgetMgr (GraphicsInteractionManager *gim)
 ~WidgetMgr ()
virtual bool frameRenderingQueued (const Ogre::FrameEvent &evt)
virtual bool frameStarted (const Ogre::FrameEvent &evt)
virtual bool frameEnded (const Ogre::FrameEvent &evt)
virtual bool keyPressed (const OIS::KeyEvent &arg)
virtual bool keyReleased (const OIS::KeyEvent &arg)
virtual bool mouseMoved (const OIS::MouseEvent &arg)
virtual bool mousePressed (const OIS::MouseEvent &arg, OIS::MouseButtonID id)
virtual bool mouseReleased (const OIS::MouseEvent &arg, OIS::MouseButtonID id)
virtual void activateMenu (FastEcslent::EntityType type)
virtual void deactivateMenu ()
virtual bool mouseOverOverlay (const OIS::MouseEvent &arg)
virtual bool mouseOverButton (const OIS::MouseEvent &arg)
std::string getNextId (std::string base)
virtual void initialize ()
 WidgetMgr (GraphicsInteractionManager *gim)
 ~WidgetMgr ()
virtual bool frameRenderingQueued (const Ogre::FrameEvent &evt)
virtual bool frameStarted (const Ogre::FrameEvent &evt)
virtual bool frameEnded (const Ogre::FrameEvent &evt)
virtual bool keyPressed (const OIS::KeyEvent &arg)
virtual bool keyReleased (const OIS::KeyEvent &arg)
virtual bool mouseMoved (const OIS::MouseEvent &arg)
virtual bool mousePressed (const OIS::MouseEvent &arg, OIS::MouseButtonID id)
virtual bool mouseReleased (const OIS::MouseEvent &arg, OIS::MouseButtonID id)
virtual void activateMenu (FastEcslent::EntityType type)
virtual void deactivateMenu ()
virtual bool mouseOverOverlay (const OIS::MouseEvent &arg)
virtual bool mouseOverButton (const OIS::MouseEvent &arg)
std::string getNextId (std::string base)
virtual void initialize ()
 WidgetMgr (GraphicsInteractionManager *gim)
 ~WidgetMgr ()
virtual bool frameRenderingQueued (const Ogre::FrameEvent &evt)
virtual bool frameStarted (const Ogre::FrameEvent &evt)
virtual bool frameEnded (const Ogre::FrameEvent &evt)
virtual bool keyPressed (const OIS::KeyEvent &arg)
virtual bool keyReleased (const OIS::KeyEvent &arg)
virtual bool mouseMoved (const OIS::MouseEvent &arg)
virtual bool mousePressed (const OIS::MouseEvent &arg, OIS::MouseButtonID id)
virtual bool mouseReleased (const OIS::MouseEvent &arg, OIS::MouseButtonID id)
virtual void activateMenu (FastEcslent::EntityType type)
virtual void deactivateMenu ()
virtual bool mouseOverOverlay (const OIS::MouseEvent &arg)
virtual bool mouseOverButton (const OIS::MouseEvent &arg)
std::string getNextId (std::string base)
virtual void initialize ()
 WidgetMgr (GraphicsInteractionManager *gim)
 ~WidgetMgr ()
virtual bool frameRenderingQueued (const Ogre::FrameEvent &evt)
virtual bool frameStarted (const Ogre::FrameEvent &evt)
virtual bool frameEnded (const Ogre::FrameEvent &evt)
virtual bool keyPressed (const OIS::KeyEvent &arg)
virtual bool keyReleased (const OIS::KeyEvent &arg)
virtual bool mouseMoved (const OIS::MouseEvent &arg)
virtual bool mousePressed (const OIS::MouseEvent &arg, OIS::MouseButtonID id)
virtual bool mouseReleased (const OIS::MouseEvent &arg, OIS::MouseButtonID id)
virtual void activateMenu (FastEcslent::EntityType type)
virtual void deactivateMenu ()
virtual bool mouseOverOverlay (const OIS::MouseEvent &arg)
virtual bool mouseOverButton (const OIS::MouseEvent &arg)
std::string getNextId (std::string base)
virtual void initialize ()

Public Attributes

int nextId
Ogre::Vector2 POS
Ogre::Vector2 LABEL_SIZE
Ogre::Vector2 PANEL_SIZE
Ogre::Vector2 MENU_ITEM_SIZE
Ogre::Vector2 BUTTON_SIZE
Ogre::Vector2 COMMANDPANEL_POS
Ogre::Vector2 MENU_SIZE
Ogre::Vector2 MID_PANEL_SIZE
Ogre::Vector2 MID_PANEL_POS
int WIDTH
int HEIGHT
int LABEL_X_OFFSET
int LABEL_Y_OFFSET
Ogre::ColourValue LABEL_TEXT_COLOR
Ogre::ColourValue BUTTON_OFF_TEXT_COLOR
Ogre::ColourValue BUTTON_ON_TEXT_COLOR
Ogre::ColourValue MENU_DEFAULT_TEXT_COLOR
Ogre::ColourValue MENU_SELECTED_TEXT_COLOR
std::string PANEL_MATERIAL
std::string LINE_SEP_MATERIAL
std::string MENU_MATERIAL
bool first
UIOutlineuiBase
FELabeltestLabel
FELabeltestLabel2
FELineWrapLabelbuttonDesc
FEPaneltestPanel
FEPanelbuildProgressPanel
FEPanelbuttonInfo
FEPanelscvMenu
FEPanelcmdcMenu
FEPanelbarracksMenu
FEPanelfactoryMenu
FEPanelmultiMenu
FEPanelcurrMenu
FELabelPairtestLabelPair
FELabelPairtestLabelPair2
FEButtonscvAtk
FEButtonscvBuildBarracks
FEButtonscvBuildFactory
FEButtonscvBuildRefinery
FEButtonscvMove
FEButtonscvGather
FEButtoncmdcBuildSCV
FEButtonmultiAtk
FEButtonmultiMove
FEButtonbarracksMarine
FEButtonfactoryBuildVulture
FEButtonselectedUnit
FELabelunitName
FELabelunitHealth
FEProgressBarbuildProgressEmpty
FEButtonbuildQueueItem1
FEButtonbuildQueueItem2
FEButtonbuildQueueItem3
FEButtonbuildQueueItem4
FEButtonbuildQueueItem5
std::vector< FEButton * > buildQueueItems
UIOutlineuiBase
FELabeltestLabel
FELabeltestLabel2
FELabelbuttonDesc
FEPaneltestPanel
FEPanelbuttonInfo
FEPanelscvMenu
FEPanelcmdcMenu
FEPanelbarracksMenu
FEPanelmultiMenu
FEPanelcurrMenu
FELabelPairtestLabelPair
FELabelPairtestLabelPair2
FEButtonscvAtk
FEButtonscvMove
FEButtonscvGather
FESCVButtoncmdcBuildSCV
FEButtonmultiAtk
FEButtonmultiMove
FEMarineButtonbarracksMarine
UIOutlineuiBase
FELabeltestLabel
FELabeltestLabel2
FELabelbuttonDesc
FEPaneltestPanel
FEPanelbuttonInfo
FEPanelscvMenu
FEPanelcmdcMenu
FEPanelbarracksMenu
FEPanelmultiMenu
FEPanelcurrMenu
FELabelPairtestLabelPair
FELabelPairtestLabelPair2
FEButtonscvAtk
FEButtonscvMove
FEButtonscvGather
FESCVButtoncmdcBuildSCV
FEButtonmultiAtk
FEButtonmultiMove
FEMarineButtonbarracksMarine
UIOutlineuiBase
FELabeltestLabel
FELabeltestLabel2
FELabelbuttonDesc
FEPaneltestPanel
FEPanelbuttonInfo
FEPanelscvMenu
FEPanelcmdcMenu
FEPanelbarracksMenu
FEPanelmultiMenu
FEPanelcurrMenu
FELabelPairtestLabelPair
FELabelPairtestLabelPair2
FEButtonscvAtk
FEButtonscvMove
FEButtonscvGather
FESCVButtoncmdcBuildSCV
FEButtonmultiAtk
FEButtonmultiMove
FEMarineButtonbarracksMarine
UIOutlineuiBase
FELabeltestLabel
FELabeltestLabel2
FELabelbuttonDesc
FEPaneltestPanel
FEPanelbuttonInfo
FEPanelscvMenu
FEPanelcmdcMenu
FEPanelbarracksMenu
FEPanelmultiMenu
FEPanelcurrMenu
FELabelPairtestLabelPair
FELabelPairtestLabelPair2
FEButtonscvAtk
FEButtonscvMove
FEButtonscvGather
FESCVButtoncmdcBuildSCV
FEButtonmultiAtk
FEButtonmultiMove
FEMarineButtonbarracksMarine


Detailed Description

A singleton class used to manage all the GUI elements displayed to the user. Acts as the mouse listener and key listener, meaning that all mouse and key events are sent directly to this class. This class manages the creation and updating of widgets, and passes mouse events along to widgets such as buttons.

Definition at line 34 of file widgetMgr.h.


Constructor & Destructor Documentation

OgreGFX::WidgetMgr::WidgetMgr ( GraphicsInteractionManager gim  ) 

Constructor for a Label widget, which displays some text.

Parameters:
gim a pointer to the global Graphics Interaction Manager, to display widget.
See also:
~WidgetMgr()

Definition at line 23 of file widgetMgr.cpp.

References BUTTON_OFF_TEXT_COLOR, BUTTON_ON_TEXT_COLOR, BUTTON_SIZE, COMMANDPANEL_POS, currMenu, DEBUG, getNextId(), OgreGFX::GFXMgr::gfx, HEIGHT, LABEL_SIZE, LABEL_TEXT_COLOR, LABEL_X_OFFSET, LABEL_Y_OFFSET, LINE_SEP_MATERIAL, MENU_DEFAULT_TEXT_COLOR, MENU_ITEM_SIZE, MENU_MATERIAL, MENU_SELECTED_TEXT_COLOR, MENU_SIZE, MID_PANEL_POS, MID_PANEL_SIZE, OgreGFX::GraphicsInteractionManager::mWindow, nextId, PANEL_MATERIAL, PANEL_SIZE, POS, uiBase, and WIDTH.

OgreGFX::WidgetMgr::~WidgetMgr (  ) 

Definition at line 65 of file widgetMgr.cpp.

OgreGFX::WidgetMgr::WidgetMgr ( GraphicsInteractionManager gim  ) 

Constructor for a Label widget, which displays some text.

Parameters:
gim a pointer to the global Graphics Interaction Manager, to display widget.
See also:
~WidgetMgr()

OgreGFX::WidgetMgr::~WidgetMgr (  ) 

OgreGFX::WidgetMgr::WidgetMgr ( GraphicsInteractionManager gim  ) 

Constructor for a Label widget, which displays some text.

Parameters:
gim a pointer to the global Graphics Interaction Manager, to display widget.
See also:
~WidgetMgr()

OgreGFX::WidgetMgr::~WidgetMgr (  ) 

OgreGFX::WidgetMgr::WidgetMgr ( GraphicsInteractionManager gim  ) 

Constructor for a Label widget, which displays some text.

Parameters:
gim a pointer to the global Graphics Interaction Manager, to display widget.
See also:
~WidgetMgr()

OgreGFX::WidgetMgr::~WidgetMgr (  ) 

OgreGFX::WidgetMgr::WidgetMgr ( GraphicsInteractionManager gim  ) 

Constructor for a Label widget, which displays some text.

Parameters:
gim a pointer to the global Graphics Interaction Manager, to display widget.
See also:
~WidgetMgr()

OgreGFX::WidgetMgr::~WidgetMgr (  ) 


Member Function Documentation

bool OgreGFX::WidgetMgr::frameRenderingQueued ( const Ogre::FrameEvent &  evt  )  [virtual]

OIS::FrameListener method, right only only implements a work around an TextAreaOverlayElement caption not displaying.

Parameters:
evt Information about the current frame event
See also:
first
Returns:
True/False if this method completed successfully with the given FrameEvent.

Definition at line 289 of file widgetMgr.cpp.

References buildProgressEmpty, buildQueueItem1, buildQueueItem2, buildQueueItem3, buildQueueItem4, buildQueueItem5, buildQueueItems, buttonDesc, OgreGFX::FELabel::caption, DEBUG, OgreGFX::GraphicsInteractionManager::engine, FastEcslent::EntityTypeToIconName(), first, FastEcslent::Engine::gameMgr, OgreGFX::GFXMgr::gfx, OgreGFX::FELabelPair::left, OgreGFX::FEPanel::material, FastEcslent::Engine::options, OgreGFX::FEProgressBar::percentFull, Options::player, OgreGFX::FELabelPair::right, FastEcslent::Engine::selectionMgr, OgreGFX::FELabelPair::setLeft(), OgreGFX::FELabelPair::setRight(), testLabel, testLabel2, testLabelPair, testLabelPair2, OgreGFX::FELabel::textArea, unitHealth, OgreGFX::FEProgressBar::UpdateFillPercent(), and FastEcslent::Engine::weaponMgr.

bool OgreGFX::WidgetMgr::frameStarted ( const Ogre::FrameEvent &  evt  )  [virtual]

OIS::FrameListener method, currently does nothing.

Parameters:
evt Information about the current frame event
Returns:
True/False if this method completed successfully with the given FrameEvent.

Definition at line 279 of file widgetMgr.cpp.

bool OgreGFX::WidgetMgr::frameEnded ( const Ogre::FrameEvent &  evt  )  [virtual]

OIS::FrameListener method, currently does nothing.

Parameters:
evt Information about the current frame event
Returns:
True/False if this method completed successfully with the given FrameEvent.

Definition at line 284 of file widgetMgr.cpp.

bool OgreGFX::WidgetMgr::keyPressed ( const OIS::KeyEvent &  arg  )  [virtual]

OIS::KeyListener method called when any keyboard key is pressed, currently does nothing.

Parameters:
arg Information about the key event sent.
Returns:
True/False if this method completed successfully with the given KeyEvent.

Definition at line 352 of file widgetMgr.cpp.

References DEBUG.

bool OgreGFX::WidgetMgr::keyReleased ( const OIS::KeyEvent &  arg  )  [virtual]

OIS::KeyListener method called when any keyboard key is released, currently does nothing.

Parameters:
arg Information about the key event sent.
Returns:
True/False if this method completed successfully with the given KeyEvent.

Definition at line 358 of file widgetMgr.cpp.

bool OgreGFX::WidgetMgr::mouseMoved ( const OIS::MouseEvent &  arg  )  [virtual]

OIS::MouseListener method called when the mouse moves, currently does nothing.

Parameters:
arg Information about the mouse event sent.
Returns:
True/False if this method completed successfully with the given MouseEvent.

Definition at line 363 of file widgetMgr.cpp.

bool OgreGFX::WidgetMgr::mousePressed ( const OIS::MouseEvent &  arg,
OIS::MouseButtonID  id 
) [virtual]

OIS::MouseListener method called when a mouse button is pressed, currently does nothing.

Parameters:
arg Information about the mouse event sent.
id ID of the mouse button is pressed.
Returns:
True/False if this method completed successfully with the given MouseEvent.

Definition at line 368 of file widgetMgr.cpp.

bool OgreGFX::WidgetMgr::mouseReleased ( const OIS::MouseEvent &  arg,
OIS::MouseButtonID  id 
) [virtual]

OIS::MouseListener method called when a mouse button is released, currently does nothing.

Parameters:
arg Information about the mouse event sent.
id ID of the mouse button is released.
Returns:
True/False if this method completed successfully with the given MouseEvent.

Definition at line 373 of file widgetMgr.cpp.

void OgreGFX::WidgetMgr::activateMenu ( FastEcslent::Entity ent  )  [virtual]

Brings up the set of buttons that corresponds to the units currently selected. If no entities are selected or if an invalid entity type is passed, the button menu will be cleared of buttons instead.

Parameters:
type The type of entity selected. Takes NENTITYTYPE as a value when multiple entities are selected.

Definition at line 69 of file widgetMgr.cpp.

References FastEcslent::BARRACKS, barracksMenu, buildProgressPanel, cmdcMenu, FastEcslent::COMMANDCENTER, currMenu, deactivateMenu(), FastEcslent::Entity::entityType, FastEcslent::FACTORY, factoryMenu, FastEcslent::HELLION, multiMenu, FastEcslent::NENTITYTYPES, FastEcslent::SCV, scvMenu, OgreGFX::FEPanel::show(), OgreGFX::FELabel::textArea, FastEcslent::Entity::uiname, and unitName.

Referenced by OgreGFX::UIMgr::updateFEEngineWithSelections().

void OgreGFX::WidgetMgr::deactivateMenu (  )  [virtual]

Deactivates all buttons in the button menu area. This means that the buttons will not be displayed, and clicking in the button area will not cause the functions of the buttons to occur.

Definition at line 108 of file widgetMgr.cpp.

References buildProgressEmpty, buildProgressPanel, currMenu, OgreGFX::FEPanel::hide(), and OgreGFX::FEProgressBar::percentFull.

Referenced by activateMenu(), and OgreGFX::UIMgr::updateFEEngineWithSelections().

bool OgreGFX::WidgetMgr::mouseOverOverlay ( const OIS::MouseEvent &  arg  )  [virtual]

Checks if the mouse is currently in the button menu area.

Parameters:
arg Information about the mouse event sent.
Returns:
True if the mouse event occurred in the button menu area, False otherwise.

Definition at line 386 of file widgetMgr.cpp.

References OgreGFX::Widget::cursonInMe(), and scvMenu.

bool OgreGFX::WidgetMgr::mouseOverButton ( const OIS::MouseEvent &  arg  )  [virtual]

Checks if the mouse is currently over a button in the button menu area.

Parameters:
arg Information about the mouse event sent.
Returns:
True if the mouse is hovering over a button in the button menu area, False otherwise.

Definition at line 393 of file widgetMgr.cpp.

References buildProgressPanel, buttonDesc, buttonInfo, OgreGFX::FELabel::caption, currMenu, OgreGFX::FEPanel::hide(), OgreGFX::FEPanel::items, OgreGFX::FELineWrapLabel::setCaption(), OgreGFX::FEPanel::show(), and OgreGFX::FELabel::textArea.

Referenced by OgreGFX::UIMgr::mouseMoved().

std::string OgreGFX::WidgetMgr::getNextId ( std::string  base  ) 

ID number to give to the next widget object created. Prevents name conflicts.

Takes the name of a widget and appends an ID number to the end, to prevent name conflicts. Once the ID number has been appended, increments nextId.

Parameters:
base The name of the widget.
Returns:
Base string + '_' + unique id number

Definition at line 378 of file widgetMgr.cpp.

References nextId.

Referenced by OgreGFX::FELabel::FELabel(), OgreGFX::FEPanel::FEPanel(), OgreGFX::FEProgressBar::FEProgressBar(), OgreGFX::FEPanel::makeSep(), OgreGFX::UIOutline::UIOutline(), and WidgetMgr().

void OgreGFX::WidgetMgr::initialize (  )  [virtual]

Creates and initializes all widget objects. Can't be done in the constructor, since the widgets rely on other Mgr objects to be created first. Initialize() is called after the creation of all Mgr objects.

Reimplemented from OgreGFX::GFXMgr.

Definition at line 123 of file widgetMgr.cpp.

References OgreGFX::FEPanel::addItem(), FastEcslent::BARRACKS, barracksMarine, barracksMenu, OgreGFX::Below, buildProgressEmpty, buildProgressPanel, buildQueueItem1, buildQueueItem2, buildQueueItem3, buildQueueItem4, buildQueueItem5, buildQueueItems, BUTTON_SIZE, buttonDesc, buttonInfo, cmdcBuildSCV, cmdcMenu, COMMANDPANEL_POS, FastEcslent::FACTORY, factoryBuildVulture, factoryMenu, first, FastEcslent::GAS, OgreGFX::GFXMgr::gfx, FastEcslent::HELLION, OgreGFX::FEPanel::hide(), LABEL_SIZE, LABEL_TEXT_COLOR, FastEcslent::MARINE, MENU_MATERIAL, MENU_SIZE, MID_PANEL_POS, MID_PANEL_SIZE, multiAtk, multiMenu, multiMove, OgreGFX::UIOutline::overlay, PANEL_MATERIAL, PANEL_SIZE, POS, FastEcslent::REFINERY, OgreGFX::UIMgr::registerKeyHandler(), OgreGFX::UIMgr::registerMouseHandler(), OgreGFX::Right, FastEcslent::SCV, scvAtk, scvBuildBarracks, scvBuildFactory, scvBuildRefinery, scvGather, scvMenu, scvMove, OgreGFX::FELineWrapLabel::setCaption(), OgreGFX::FELabelPair::show(), OgreGFX::FEProgressBar::show(), OgreGFX::FELabel::show(), OgreGFX::FEPanel::show(), OgreGFX::UIOutline::show(), FastEcslent::TargetEntity, testLabel, testLabel2, testLabelPair, testLabelPair2, testPanel, uiBase, OgreGFX::GraphicsInteractionManager::uiMgr, unitHealth, and unitName.

Referenced by OgreGFX::GraphicsInteractionManager::initGFXManagers(), and OgreGFX::GraphicsInteractionManager::initManagers().

virtual bool OgreGFX::WidgetMgr::frameRenderingQueued ( const Ogre::FrameEvent &  evt  )  [virtual]

OIS::FrameListener method, right only only implements a work around an TextAreaOverlayElement caption not displaying.

Parameters:
evt Information about the current frame event
See also:
first
Returns:
True/False if this method completed successfully with the given FrameEvent.

virtual bool OgreGFX::WidgetMgr::frameStarted ( const Ogre::FrameEvent &  evt  )  [virtual]

OIS::FrameListener method, currently does nothing.

Parameters:
evt Information about the current frame event
Returns:
True/False if this method completed successfully with the given FrameEvent.

virtual bool OgreGFX::WidgetMgr::frameEnded ( const Ogre::FrameEvent &  evt  )  [virtual]

OIS::FrameListener method, currently does nothing.

Parameters:
evt Information about the current frame event
Returns:
True/False if this method completed successfully with the given FrameEvent.

virtual bool OgreGFX::WidgetMgr::keyPressed ( const OIS::KeyEvent &  arg  )  [virtual]

OIS::KeyListener method called when any keyboard key is pressed, currently does nothing.

Parameters:
arg Information about the key event sent.
Returns:
True/False if this method completed successfully with the given KeyEvent.

virtual bool OgreGFX::WidgetMgr::keyReleased ( const OIS::KeyEvent &  arg  )  [virtual]

OIS::KeyListener method called when any keyboard key is released, currently does nothing.

Parameters:
arg Information about the key event sent.
Returns:
True/False if this method completed successfully with the given KeyEvent.

virtual bool OgreGFX::WidgetMgr::mouseMoved ( const OIS::MouseEvent &  arg  )  [virtual]

OIS::MouseListener method called when the mouse moves, currently does nothing.

Parameters:
arg Information about the mouse event sent.
Returns:
True/False if this method completed successfully with the given MouseEvent.

virtual bool OgreGFX::WidgetMgr::mousePressed ( const OIS::MouseEvent &  arg,
OIS::MouseButtonID  id 
) [virtual]

OIS::MouseListener method called when a mouse button is pressed, currently does nothing.

Parameters:
arg Information about the mouse event sent.
id ID of the mouse button is pressed.
Returns:
True/False if this method completed successfully with the given MouseEvent.

virtual bool OgreGFX::WidgetMgr::mouseReleased ( const OIS::MouseEvent &  arg,
OIS::MouseButtonID  id 
) [virtual]

OIS::MouseListener method called when a mouse button is released, currently does nothing.

Parameters:
arg Information about the mouse event sent.
id ID of the mouse button is released.
Returns:
True/False if this method completed successfully with the given MouseEvent.

void OgreGFX::WidgetMgr::activateMenu ( FastEcslent::EntityType  type  )  [virtual]

Brings up the set of buttons that corresponds to the units currently selected. If no entities are selected or if an invalid entity type is passed, the button menu will be cleared of buttons instead.

Parameters:
type The type of entity selected. Takes NENTITYTYPE as a value when multiple entities are selected.

Definition at line 64 of file widgetMgr.cpp.

References FastEcslent::BARRACKS, barracksMenu, cmdcMenu, FastEcslent::COMMANDCENTER, currMenu, deactivateMenu(), multiMenu, FastEcslent::NENTITYTYPES, FastEcslent::SCV, scvMenu, and OgreGFX::FEPanel::show().

virtual void OgreGFX::WidgetMgr::deactivateMenu (  )  [virtual]

Deactivates all buttons in the button menu area. This means that the buttons will not be displayed, and clicking in the button area will not cause the functions of the buttons to occur.

virtual bool OgreGFX::WidgetMgr::mouseOverOverlay ( const OIS::MouseEvent &  arg  )  [virtual]

Checks if the mouse is currently in the button menu area.

Parameters:
arg Information about the mouse event sent.
Returns:
True if the mouse event occurred in the button menu area, False otherwise.

virtual bool OgreGFX::WidgetMgr::mouseOverButton ( const OIS::MouseEvent &  arg  )  [virtual]

Checks if the mouse is currently over a button in the button menu area.

Parameters:
arg Information about the mouse event sent.
Returns:
True if the mouse is hovering over a button in the button menu area, False otherwise.

std::string OgreGFX::WidgetMgr::getNextId ( std::string  base  ) 

ID number to give to the next widget object created. Prevents name conflicts.

Takes the name of a widget and appends an ID number to the end, to prevent name conflicts. Once the ID number has been appended, increments nextId.

Parameters:
base The name of the widget.
Returns:
Base string + '_' + unique id number

virtual void OgreGFX::WidgetMgr::initialize (  )  [virtual]

Creates and initializes all widget objects. Can't be done in the constructor, since the widgets rely on other Mgr objects to be created first. Initialize() is called after the creation of all Mgr objects.

Reimplemented from OgreGFX::GFXMgr.

virtual bool OgreGFX::WidgetMgr::frameRenderingQueued ( const Ogre::FrameEvent &  evt  )  [virtual]

OIS::FrameListener method, right only only implements a work around an TextAreaOverlayElement caption not displaying.

Parameters:
evt Information about the current frame event
See also:
first
Returns:
True/False if this method completed successfully with the given FrameEvent.

virtual bool OgreGFX::WidgetMgr::frameStarted ( const Ogre::FrameEvent &  evt  )  [virtual]

OIS::FrameListener method, currently does nothing.

Parameters:
evt Information about the current frame event
Returns:
True/False if this method completed successfully with the given FrameEvent.

virtual bool OgreGFX::WidgetMgr::frameEnded ( const Ogre::FrameEvent &  evt  )  [virtual]

OIS::FrameListener method, currently does nothing.

Parameters:
evt Information about the current frame event
Returns:
True/False if this method completed successfully with the given FrameEvent.

virtual bool OgreGFX::WidgetMgr::keyPressed ( const OIS::KeyEvent &  arg  )  [virtual]

OIS::KeyListener method called when any keyboard key is pressed, currently does nothing.

Parameters:
arg Information about the key event sent.
Returns:
True/False if this method completed successfully with the given KeyEvent.

virtual bool OgreGFX::WidgetMgr::keyReleased ( const OIS::KeyEvent &  arg  )  [virtual]

OIS::KeyListener method called when any keyboard key is released, currently does nothing.

Parameters:
arg Information about the key event sent.
Returns:
True/False if this method completed successfully with the given KeyEvent.

virtual bool OgreGFX::WidgetMgr::mouseMoved ( const OIS::MouseEvent &  arg  )  [virtual]

OIS::MouseListener method called when the mouse moves, currently does nothing.

Parameters:
arg Information about the mouse event sent.
Returns:
True/False if this method completed successfully with the given MouseEvent.

virtual bool OgreGFX::WidgetMgr::mousePressed ( const OIS::MouseEvent &  arg,
OIS::MouseButtonID  id 
) [virtual]

OIS::MouseListener method called when a mouse button is pressed, currently does nothing.

Parameters:
arg Information about the mouse event sent.
id ID of the mouse button is pressed.
Returns:
True/False if this method completed successfully with the given MouseEvent.

virtual bool OgreGFX::WidgetMgr::mouseReleased ( const OIS::MouseEvent &  arg,
OIS::MouseButtonID  id 
) [virtual]

OIS::MouseListener method called when a mouse button is released, currently does nothing.

Parameters:
arg Information about the mouse event sent.
id ID of the mouse button is released.
Returns:
True/False if this method completed successfully with the given MouseEvent.

virtual void OgreGFX::WidgetMgr::activateMenu ( FastEcslent::EntityType  type  )  [virtual]

Brings up the set of buttons that corresponds to the units currently selected. If no entities are selected or if an invalid entity type is passed, the button menu will be cleared of buttons instead.

Parameters:
type The type of entity selected. Takes NENTITYTYPE as a value when multiple entities are selected.

virtual void OgreGFX::WidgetMgr::deactivateMenu (  )  [virtual]

Deactivates all buttons in the button menu area. This means that the buttons will not be displayed, and clicking in the button area will not cause the functions of the buttons to occur.

virtual bool OgreGFX::WidgetMgr::mouseOverOverlay ( const OIS::MouseEvent &  arg  )  [virtual]

Checks if the mouse is currently in the button menu area.

Parameters:
arg Information about the mouse event sent.
Returns:
True if the mouse event occurred in the button menu area, False otherwise.

virtual bool OgreGFX::WidgetMgr::mouseOverButton ( const OIS::MouseEvent &  arg  )  [virtual]

Checks if the mouse is currently over a button in the button menu area.

Parameters:
arg Information about the mouse event sent.
Returns:
True if the mouse is hovering over a button in the button menu area, False otherwise.

std::string OgreGFX::WidgetMgr::getNextId ( std::string  base  ) 

ID number to give to the next widget object created. Prevents name conflicts.

Takes the name of a widget and appends an ID number to the end, to prevent name conflicts. Once the ID number has been appended, increments nextId.

Parameters:
base The name of the widget.
Returns:
Base string + '_' + unique id number

virtual void OgreGFX::WidgetMgr::initialize (  )  [virtual]

Creates and initializes all widget objects. Can't be done in the constructor, since the widgets rely on other Mgr objects to be created first. Initialize() is called after the creation of all Mgr objects.

Reimplemented from OgreGFX::GFXMgr.

virtual bool OgreGFX::WidgetMgr::frameRenderingQueued ( const Ogre::FrameEvent &  evt  )  [virtual]

OIS::FrameListener method, right only only implements a work around an TextAreaOverlayElement caption not displaying.

Parameters:
evt Information about the current frame event
See also:
first
Returns:
True/False if this method completed successfully with the given FrameEvent.

virtual bool OgreGFX::WidgetMgr::frameStarted ( const Ogre::FrameEvent &  evt  )  [virtual]

OIS::FrameListener method, currently does nothing.

Parameters:
evt Information about the current frame event
Returns:
True/False if this method completed successfully with the given FrameEvent.

virtual bool OgreGFX::WidgetMgr::frameEnded ( const Ogre::FrameEvent &  evt  )  [virtual]

OIS::FrameListener method, currently does nothing.

Parameters:
evt Information about the current frame event
Returns:
True/False if this method completed successfully with the given FrameEvent.

virtual bool OgreGFX::WidgetMgr::keyPressed ( const OIS::KeyEvent &  arg  )  [virtual]

OIS::KeyListener method called when any keyboard key is pressed, currently does nothing.

Parameters:
arg Information about the key event sent.
Returns:
True/False if this method completed successfully with the given KeyEvent.

virtual bool OgreGFX::WidgetMgr::keyReleased ( const OIS::KeyEvent &  arg  )  [virtual]

OIS::KeyListener method called when any keyboard key is released, currently does nothing.

Parameters:
arg Information about the key event sent.
Returns:
True/False if this method completed successfully with the given KeyEvent.

virtual bool OgreGFX::WidgetMgr::mouseMoved ( const OIS::MouseEvent &  arg  )  [virtual]

OIS::MouseListener method called when the mouse moves, currently does nothing.

Parameters:
arg Information about the mouse event sent.
Returns:
True/False if this method completed successfully with the given MouseEvent.

virtual bool OgreGFX::WidgetMgr::mousePressed ( const OIS::MouseEvent &  arg,
OIS::MouseButtonID  id 
) [virtual]

OIS::MouseListener method called when a mouse button is pressed, currently does nothing.

Parameters:
arg Information about the mouse event sent.
id ID of the mouse button is pressed.
Returns:
True/False if this method completed successfully with the given MouseEvent.

virtual bool OgreGFX::WidgetMgr::mouseReleased ( const OIS::MouseEvent &  arg,
OIS::MouseButtonID  id 
) [virtual]

OIS::MouseListener method called when a mouse button is released, currently does nothing.

Parameters:
arg Information about the mouse event sent.
id ID of the mouse button is released.
Returns:
True/False if this method completed successfully with the given MouseEvent.

virtual void OgreGFX::WidgetMgr::activateMenu ( FastEcslent::EntityType  type  )  [virtual]

Brings up the set of buttons that corresponds to the units currently selected. If no entities are selected or if an invalid entity type is passed, the button menu will be cleared of buttons instead.

Parameters:
type The type of entity selected. Takes NENTITYTYPE as a value when multiple entities are selected.

virtual void OgreGFX::WidgetMgr::deactivateMenu (  )  [virtual]

Deactivates all buttons in the button menu area. This means that the buttons will not be displayed, and clicking in the button area will not cause the functions of the buttons to occur.

virtual bool OgreGFX::WidgetMgr::mouseOverOverlay ( const OIS::MouseEvent &  arg  )  [virtual]

Checks if the mouse is currently in the button menu area.

Parameters:
arg Information about the mouse event sent.
Returns:
True if the mouse event occurred in the button menu area, False otherwise.

virtual bool OgreGFX::WidgetMgr::mouseOverButton ( const OIS::MouseEvent &  arg  )  [virtual]

Checks if the mouse is currently over a button in the button menu area.

Parameters:
arg Information about the mouse event sent.
Returns:
True if the mouse is hovering over a button in the button menu area, False otherwise.

std::string OgreGFX::WidgetMgr::getNextId ( std::string  base  ) 

ID number to give to the next widget object created. Prevents name conflicts.

Takes the name of a widget and appends an ID number to the end, to prevent name conflicts. Once the ID number has been appended, increments nextId.

Parameters:
base The name of the widget.
Returns:
Base string + '_' + unique id number

virtual void OgreGFX::WidgetMgr::initialize (  )  [virtual]

Creates and initializes all widget objects. Can't be done in the constructor, since the widgets rely on other Mgr objects to be created first. Initialize() is called after the creation of all Mgr objects.

Reimplemented from OgreGFX::GFXMgr.

virtual bool OgreGFX::WidgetMgr::frameRenderingQueued ( const Ogre::FrameEvent &  evt  )  [virtual]

OIS::FrameListener method, right only only implements a work around an TextAreaOverlayElement caption not displaying.

Parameters:
evt Information about the current frame event
See also:
first
Returns:
True/False if this method completed successfully with the given FrameEvent.

virtual bool OgreGFX::WidgetMgr::frameStarted ( const Ogre::FrameEvent &  evt  )  [virtual]

OIS::FrameListener method, currently does nothing.

Parameters:
evt Information about the current frame event
Returns:
True/False if this method completed successfully with the given FrameEvent.

virtual bool OgreGFX::WidgetMgr::frameEnded ( const Ogre::FrameEvent &  evt  )  [virtual]

OIS::FrameListener method, currently does nothing.

Parameters:
evt Information about the current frame event
Returns:
True/False if this method completed successfully with the given FrameEvent.

virtual bool OgreGFX::WidgetMgr::keyPressed ( const OIS::KeyEvent &  arg  )  [virtual]

OIS::KeyListener method called when any keyboard key is pressed, currently does nothing.

Parameters:
arg Information about the key event sent.
Returns:
True/False if this method completed successfully with the given KeyEvent.

virtual bool OgreGFX::WidgetMgr::keyReleased ( const OIS::KeyEvent &  arg  )  [virtual]

OIS::KeyListener method called when any keyboard key is released, currently does nothing.

Parameters:
arg Information about the key event sent.
Returns:
True/False if this method completed successfully with the given KeyEvent.

virtual bool OgreGFX::WidgetMgr::mouseMoved ( const OIS::MouseEvent &  arg  )  [virtual]

OIS::MouseListener method called when the mouse moves, currently does nothing.

Parameters:
arg Information about the mouse event sent.
Returns:
True/False if this method completed successfully with the given MouseEvent.

virtual bool OgreGFX::WidgetMgr::mousePressed ( const OIS::MouseEvent &  arg,
OIS::MouseButtonID  id 
) [virtual]

OIS::MouseListener method called when a mouse button is pressed, currently does nothing.

Parameters:
arg Information about the mouse event sent.
id ID of the mouse button is pressed.
Returns:
True/False if this method completed successfully with the given MouseEvent.

virtual bool OgreGFX::WidgetMgr::mouseReleased ( const OIS::MouseEvent &  arg,
OIS::MouseButtonID  id 
) [virtual]

OIS::MouseListener method called when a mouse button is released, currently does nothing.

Parameters:
arg Information about the mouse event sent.
id ID of the mouse button is released.
Returns:
True/False if this method completed successfully with the given MouseEvent.

virtual void OgreGFX::WidgetMgr::activateMenu ( FastEcslent::EntityType  type  )  [virtual]

Brings up the set of buttons that corresponds to the units currently selected. If no entities are selected or if an invalid entity type is passed, the button menu will be cleared of buttons instead.

Parameters:
type The type of entity selected. Takes NENTITYTYPE as a value when multiple entities are selected.

virtual void OgreGFX::WidgetMgr::deactivateMenu (  )  [virtual]

Deactivates all buttons in the button menu area. This means that the buttons will not be displayed, and clicking in the button area will not cause the functions of the buttons to occur.

virtual bool OgreGFX::WidgetMgr::mouseOverOverlay ( const OIS::MouseEvent &  arg  )  [virtual]

Checks if the mouse is currently in the button menu area.

Parameters:
arg Information about the mouse event sent.
Returns:
True if the mouse event occurred in the button menu area, False otherwise.

virtual bool OgreGFX::WidgetMgr::mouseOverButton ( const OIS::MouseEvent &  arg  )  [virtual]

Checks if the mouse is currently over a button in the button menu area.

Parameters:
arg Information about the mouse event sent.
Returns:
True if the mouse is hovering over a button in the button menu area, False otherwise.

std::string OgreGFX::WidgetMgr::getNextId ( std::string  base  ) 

ID number to give to the next widget object created. Prevents name conflicts.

Takes the name of a widget and appends an ID number to the end, to prevent name conflicts. Once the ID number has been appended, increments nextId.

Parameters:
base The name of the widget.
Returns:
Base string + '_' + unique id number

virtual void OgreGFX::WidgetMgr::initialize (  )  [virtual]

Creates and initializes all widget objects. Can't be done in the constructor, since the widgets rely on other Mgr objects to be created first. Initialize() is called after the creation of all Mgr objects.

Reimplemented from OgreGFX::GFXMgr.


Member Data Documentation

int OgreGFX::WidgetMgr::nextId

Definition at line 126 of file widgetMgr.h.

Referenced by getNextId(), and WidgetMgr().

Ogre::Vector2 OgreGFX::WidgetMgr::POS

Definition at line 146 of file widgetMgr.h.

Referenced by initialize(), and WidgetMgr().

Ogre::Vector2 OgreGFX::WidgetMgr::LABEL_SIZE

default position to use for widgets

Definition at line 147 of file widgetMgr.h.

Referenced by initialize(), and WidgetMgr().

Ogre::Vector2 OgreGFX::WidgetMgr::PANEL_SIZE

Default size of all label widgets

Definition at line 148 of file widgetMgr.h.

Referenced by initialize(), and WidgetMgr().

Ogre::Vector2 OgreGFX::WidgetMgr::MENU_ITEM_SIZE

Default size of all panel widgets

Definition at line 149 of file widgetMgr.h.

Referenced by WidgetMgr().

Ogre::Vector2 OgreGFX::WidgetMgr::BUTTON_SIZE

Default size of all sub-widgets

Definition at line 150 of file widgetMgr.h.

Referenced by initialize(), and WidgetMgr().

Ogre::Vector2 OgreGFX::WidgetMgr::COMMANDPANEL_POS

Default size of all buttons

Definition at line 151 of file widgetMgr.h.

Referenced by initialize(), and WidgetMgr().

Ogre::Vector2 OgreGFX::WidgetMgr::MENU_SIZE

Default position of button panel for unit commands

Definition at line 152 of file widgetMgr.h.

Referenced by initialize(), and WidgetMgr().

Ogre::Vector2 OgreGFX::WidgetMgr::MID_PANEL_SIZE

Default size of menu widget

Definition at line 153 of file widgetMgr.h.

Referenced by initialize(), and WidgetMgr().

Ogre::Vector2 OgreGFX::WidgetMgr::MID_PANEL_POS

Definition at line 154 of file widgetMgr.h.

Referenced by initialize(), and WidgetMgr().

int OgreGFX::WidgetMgr::WIDTH

Default size of menu widget

Definition at line 156 of file widgetMgr.h.

Referenced by WidgetMgr().

int OgreGFX::WidgetMgr::HEIGHT

Definition at line 157 of file widgetMgr.h.

Referenced by WidgetMgr().

int OgreGFX::WidgetMgr::LABEL_X_OFFSET

Definition at line 158 of file widgetMgr.h.

Referenced by WidgetMgr().

int OgreGFX::WidgetMgr::LABEL_Y_OFFSET

Definition at line 159 of file widgetMgr.h.

Referenced by WidgetMgr().

Ogre::ColourValue OgreGFX::WidgetMgr::LABEL_TEXT_COLOR

Definition at line 161 of file widgetMgr.h.

Referenced by initialize(), and WidgetMgr().

Ogre::ColourValue OgreGFX::WidgetMgr::BUTTON_OFF_TEXT_COLOR

Default color or label text

Definition at line 162 of file widgetMgr.h.

Referenced by WidgetMgr().

Ogre::ColourValue OgreGFX::WidgetMgr::BUTTON_ON_TEXT_COLOR

Default color for when a button is disabled

Definition at line 163 of file widgetMgr.h.

Referenced by WidgetMgr().

Ogre::ColourValue OgreGFX::WidgetMgr::MENU_DEFAULT_TEXT_COLOR

Default color when a button is enabled

Definition at line 164 of file widgetMgr.h.

Referenced by WidgetMgr().

Ogre::ColourValue OgreGFX::WidgetMgr::MENU_SELECTED_TEXT_COLOR

Definition at line 165 of file widgetMgr.h.

Referenced by WidgetMgr().

std::string OgreGFX::WidgetMgr::PANEL_MATERIAL

Definition at line 168 of file widgetMgr.h.

Referenced by initialize(), and WidgetMgr().

std::string OgreGFX::WidgetMgr::LINE_SEP_MATERIAL

Path to panel background texture

Path to line separator texture

Definition at line 169 of file widgetMgr.h.

Referenced by WidgetMgr().

std::string OgreGFX::WidgetMgr::MENU_MATERIAL

Definition at line 170 of file widgetMgr.h.

Referenced by initialize(), and WidgetMgr().

bool OgreGFX::WidgetMgr::first

Path to menu background texture

Definition at line 172 of file widgetMgr.h.

Referenced by frameRenderingQueued(), and initialize().

UIOutline* OgreGFX::WidgetMgr::uiBase

a bad way to work around an TextAreaOverlayElement caption not displaying

Definition at line 173 of file widgetMgr.h.

Referenced by initialize(), and WidgetMgr().

FELabel* OgreGFX::WidgetMgr::testLabel

Displays the background GUI for the minimap, unit info and unit command GUI.

Definition at line 174 of file widgetMgr.h.

Referenced by frameRenderingQueued(), and initialize().

FELabel* OgreGFX::WidgetMgr::testLabel2

Test able to add to test panel

Definition at line 175 of file widgetMgr.h.

Referenced by frameRenderingQueued(), and initialize().

FELineWrapLabel* OgreGFX::WidgetMgr::buttonDesc

Test able to add to test panel

Definition at line 176 of file widgetMgr.h.

Referenced by frameRenderingQueued(), initialize(), and mouseOverButton().

FEPanel* OgreGFX::WidgetMgr::testPanel

Text Description added to buttonInfo panel

Definition at line 177 of file widgetMgr.h.

Referenced by initialize().

FEPanel* OgreGFX::WidgetMgr::buildProgressPanel

Panel used to debug panel class

Definition at line 178 of file widgetMgr.h.

Referenced by activateMenu(), deactivateMenu(), initialize(), and mouseOverButton().

FEPanel* OgreGFX::WidgetMgr::buttonInfo

Display info about the current progress of units being built by an entity

Definition at line 179 of file widgetMgr.h.

Referenced by initialize(), and mouseOverButton().

FEPanel* OgreGFX::WidgetMgr::scvMenu

Info of button currently under the mouse

Definition at line 180 of file widgetMgr.h.

Referenced by activateMenu(), initialize(), and mouseOverOverlay().

FEPanel* OgreGFX::WidgetMgr::cmdcMenu

The menu to display when only a SCV is selected

Definition at line 181 of file widgetMgr.h.

Referenced by activateMenu(), and initialize().

FEPanel* OgreGFX::WidgetMgr::barracksMenu

The menu to display when only a Command Center is selected.

Definition at line 182 of file widgetMgr.h.

Referenced by activateMenu(), and initialize().

FEPanel* OgreGFX::WidgetMgr::factoryMenu

The menu to display when only a Barracks is selected.

Definition at line 183 of file widgetMgr.h.

Referenced by activateMenu(), and initialize().

FEPanel* OgreGFX::WidgetMgr::multiMenu

The menu to display when only a Factory is selected.

Definition at line 184 of file widgetMgr.h.

Referenced by activateMenu(), and initialize().

FEPanel* OgreGFX::WidgetMgr::currMenu

The menu to display when multiple entities are selected.

Definition at line 185 of file widgetMgr.h.

Referenced by activateMenu(), deactivateMenu(), mouseOverButton(), and WidgetMgr().

FELabelPair* OgreGFX::WidgetMgr::testLabelPair

Pointer to panel currently on display in unit command box

Definition at line 186 of file widgetMgr.h.

Referenced by frameRenderingQueued(), and initialize().

FELabelPair* OgreGFX::WidgetMgr::testLabelPair2

Pair of labels to test LabelPair class

Definition at line 187 of file widgetMgr.h.

Referenced by frameRenderingQueued(), and initialize().

FEButton* OgreGFX::WidgetMgr::scvAtk

Pair of labels to test LabelPair class

Definition at line 188 of file widgetMgr.h.

Referenced by initialize().

FEButton* OgreGFX::WidgetMgr::scvBuildBarracks

The button used to Attack in the SCV Menu

Definition at line 189 of file widgetMgr.h.

Referenced by initialize().

FEButton* OgreGFX::WidgetMgr::scvBuildFactory

The button used to build Barracks in the SCV Menu

Definition at line 190 of file widgetMgr.h.

Referenced by initialize().

FEButton* OgreGFX::WidgetMgr::scvBuildRefinery

The button used to build Factories in the SCV Menu

Definition at line 191 of file widgetMgr.h.

Referenced by initialize().

FEButton* OgreGFX::WidgetMgr::scvMove

The button used to build Refineries in the SCV Menu

Definition at line 192 of file widgetMgr.h.

Referenced by initialize().

FEButton* OgreGFX::WidgetMgr::scvGather

The button used to Move in the SCV Menu

Definition at line 193 of file widgetMgr.h.

Referenced by initialize().

FEButton* OgreGFX::WidgetMgr::cmdcBuildSCV

The button used to Gather resources in the SCV Menu

Definition at line 194 of file widgetMgr.h.

Referenced by initialize().

FEButton* OgreGFX::WidgetMgr::multiAtk

The button used to build SCVs in the Command Center Menu

Definition at line 195 of file widgetMgr.h.

Referenced by initialize().

FEButton* OgreGFX::WidgetMgr::multiMove

The button used to Attack in the Multi-Menu

Definition at line 196 of file widgetMgr.h.

Referenced by initialize().

FEButton* OgreGFX::WidgetMgr::barracksMarine

The button used to Move in the Multi-Menu

Definition at line 197 of file widgetMgr.h.

Referenced by initialize().

FEButton* OgreGFX::WidgetMgr::factoryBuildVulture

The button used build Marines in the Barracks Menu

Definition at line 198 of file widgetMgr.h.

Referenced by initialize().

FEButton* OgreGFX::WidgetMgr::selectedUnit

The button used build Hellions in the Factory Menu

Definition at line 199 of file widgetMgr.h.

FELabel* OgreGFX::WidgetMgr::unitName

Displays info/img for currently selected unit

Definition at line 200 of file widgetMgr.h.

Referenced by activateMenu(), and initialize().

FELabel* OgreGFX::WidgetMgr::unitHealth

Displays the name of the currently selected unit

Definition at line 201 of file widgetMgr.h.

Referenced by frameRenderingQueued(), and initialize().

FEProgressBar* OgreGFX::WidgetMgr::buildProgressEmpty

Displays the health of the currently selected unit

Definition at line 202 of file widgetMgr.h.

Referenced by deactivateMenu(), frameRenderingQueued(), and initialize().

FEButton* OgreGFX::WidgetMgr::buildQueueItem1

Display the progress the selected unit has made to build another unit

Definition at line 203 of file widgetMgr.h.

Referenced by frameRenderingQueued(), and initialize().

FEButton* OgreGFX::WidgetMgr::buildQueueItem2

Displays info/img for item 1 in the build queue

Definition at line 204 of file widgetMgr.h.

Referenced by frameRenderingQueued(), and initialize().

FEButton* OgreGFX::WidgetMgr::buildQueueItem3

Displays info/img for item 2 in the build queue

Definition at line 205 of file widgetMgr.h.

Referenced by frameRenderingQueued(), and initialize().

FEButton* OgreGFX::WidgetMgr::buildQueueItem4

Displays info/img for item 3 in the build queue

Definition at line 206 of file widgetMgr.h.

Referenced by frameRenderingQueued(), and initialize().

FEButton* OgreGFX::WidgetMgr::buildQueueItem5

Displays info/img for item 4 in the build queue

Definition at line 207 of file widgetMgr.h.

Referenced by frameRenderingQueued(), and initialize().

std::vector<FEButton*> OgreGFX::WidgetMgr::buildQueueItems

Displays info/img for item 5 in the build queue

Definition at line 208 of file widgetMgr.h.

Referenced by frameRenderingQueued(), and initialize().

UIOutline* OgreGFX::WidgetMgr::uiBase

a bad way to work around an TextAreaOverlayElement caption not displaying

Definition at line 171 of file widgetMgr.h.

FELabel* OgreGFX::WidgetMgr::testLabel

Displays the background GUI for the minimap, unit info and unit command GUI.

Definition at line 172 of file widgetMgr.h.

FELabel* OgreGFX::WidgetMgr::testLabel2

Test able to add to test panel

Definition at line 173 of file widgetMgr.h.

FELabel* OgreGFX::WidgetMgr::buttonDesc

Test able to add to test panel

Definition at line 174 of file widgetMgr.h.

FEPanel* OgreGFX::WidgetMgr::testPanel

Text Description added to buttonInfo panel

Definition at line 175 of file widgetMgr.h.

FEPanel* OgreGFX::WidgetMgr::buttonInfo

Panel used to debug panel class

Definition at line 176 of file widgetMgr.h.

FEPanel* OgreGFX::WidgetMgr::scvMenu

Info of button currently under the mouse

Definition at line 177 of file widgetMgr.h.

FEPanel* OgreGFX::WidgetMgr::cmdcMenu

The menu to display when only a SCV is selected

Definition at line 178 of file widgetMgr.h.

FEPanel* OgreGFX::WidgetMgr::barracksMenu

The menu to display when only a Command Center is selected.

Definition at line 179 of file widgetMgr.h.

FEPanel* OgreGFX::WidgetMgr::multiMenu

The menu to display when only a Barracks is selected.

Definition at line 180 of file widgetMgr.h.

FEPanel* OgreGFX::WidgetMgr::currMenu

The menu to display when multiple entities are selected.

Definition at line 181 of file widgetMgr.h.

FELabelPair* OgreGFX::WidgetMgr::testLabelPair

Pointer to panel currently on display in unit command box

Definition at line 182 of file widgetMgr.h.

FELabelPair* OgreGFX::WidgetMgr::testLabelPair2

Pair of labels to test LabelPair class

Definition at line 183 of file widgetMgr.h.

FEButton* OgreGFX::WidgetMgr::scvAtk

Pair of labels to test LabelPair class

Definition at line 184 of file widgetMgr.h.

FEButton* OgreGFX::WidgetMgr::scvMove

The button used to Attack in the SCV Menu

Definition at line 185 of file widgetMgr.h.

FEButton* OgreGFX::WidgetMgr::scvGather

The button used to Move in the SCV Menu

Definition at line 186 of file widgetMgr.h.

FESCVButton* OgreGFX::WidgetMgr::cmdcBuildSCV

The button used to Gather resources in the SCV Menu

Definition at line 187 of file widgetMgr.h.

FEButton* OgreGFX::WidgetMgr::multiAtk

The button used to build SCVs in the Command Center Menu

Definition at line 188 of file widgetMgr.h.

FEButton* OgreGFX::WidgetMgr::multiMove

The button used to Attack in the Multi-Menu

Definition at line 189 of file widgetMgr.h.

FEMarineButton* OgreGFX::WidgetMgr::barracksMarine

The button used to Move in the Multi-Menu

Definition at line 190 of file widgetMgr.h.

UIOutline* OgreGFX::WidgetMgr::uiBase

a bad way to work around an TextAreaOverlayElement caption not displaying

Definition at line 171 of file widgetMgr.h.

FELabel* OgreGFX::WidgetMgr::testLabel

Displays the background GUI for the minimap, unit info and unit command GUI.

Definition at line 172 of file widgetMgr.h.

FELabel* OgreGFX::WidgetMgr::testLabel2

Test able to add to test panel

Definition at line 173 of file widgetMgr.h.

FELabel* OgreGFX::WidgetMgr::buttonDesc

Test able to add to test panel

Definition at line 174 of file widgetMgr.h.

FEPanel* OgreGFX::WidgetMgr::testPanel

Text Description added to buttonInfo panel

Definition at line 175 of file widgetMgr.h.

FEPanel* OgreGFX::WidgetMgr::buttonInfo

Panel used to debug panel class

Definition at line 176 of file widgetMgr.h.

FEPanel* OgreGFX::WidgetMgr::scvMenu

Info of button currently under the mouse

Definition at line 177 of file widgetMgr.h.

FEPanel* OgreGFX::WidgetMgr::cmdcMenu

The menu to display when only a SCV is selected

Definition at line 178 of file widgetMgr.h.

FEPanel* OgreGFX::WidgetMgr::barracksMenu

The menu to display when only a Command Center is selected.

Definition at line 179 of file widgetMgr.h.

FEPanel* OgreGFX::WidgetMgr::multiMenu

The menu to display when only a Barracks is selected.

Definition at line 180 of file widgetMgr.h.

FEPanel* OgreGFX::WidgetMgr::currMenu

The menu to display when multiple entities are selected.

Definition at line 181 of file widgetMgr.h.

FELabelPair* OgreGFX::WidgetMgr::testLabelPair

Pointer to panel currently on display in unit command box

Definition at line 182 of file widgetMgr.h.

FELabelPair* OgreGFX::WidgetMgr::testLabelPair2

Pair of labels to test LabelPair class

Definition at line 183 of file widgetMgr.h.

FEButton* OgreGFX::WidgetMgr::scvAtk

Pair of labels to test LabelPair class

Definition at line 184 of file widgetMgr.h.

FEButton* OgreGFX::WidgetMgr::scvMove

The button used to Attack in the SCV Menu

Definition at line 185 of file widgetMgr.h.

FEButton* OgreGFX::WidgetMgr::scvGather

The button used to Move in the SCV Menu

Definition at line 186 of file widgetMgr.h.

FESCVButton* OgreGFX::WidgetMgr::cmdcBuildSCV

The button used to Gather resources in the SCV Menu

Definition at line 187 of file widgetMgr.h.

FEButton* OgreGFX::WidgetMgr::multiAtk

The button used to build SCVs in the Command Center Menu

Definition at line 188 of file widgetMgr.h.

FEButton* OgreGFX::WidgetMgr::multiMove

The button used to Attack in the Multi-Menu

Definition at line 189 of file widgetMgr.h.

FEMarineButton* OgreGFX::WidgetMgr::barracksMarine

The button used to Move in the Multi-Menu

Definition at line 190 of file widgetMgr.h.

UIOutline* OgreGFX::WidgetMgr::uiBase

a bad way to work around an TextAreaOverlayElement caption not displaying

Definition at line 171 of file widgetMgr.h.

FELabel* OgreGFX::WidgetMgr::testLabel

Displays the background GUI for the minimap, unit info and unit command GUI.

Definition at line 172 of file widgetMgr.h.

FELabel* OgreGFX::WidgetMgr::testLabel2

Test able to add to test panel

Definition at line 173 of file widgetMgr.h.

FELabel* OgreGFX::WidgetMgr::buttonDesc

Test able to add to test panel

Definition at line 174 of file widgetMgr.h.

FEPanel* OgreGFX::WidgetMgr::testPanel

Text Description added to buttonInfo panel

Definition at line 175 of file widgetMgr.h.

FEPanel* OgreGFX::WidgetMgr::buttonInfo

Panel used to debug panel class

Definition at line 176 of file widgetMgr.h.

FEPanel* OgreGFX::WidgetMgr::scvMenu

Info of button currently under the mouse

Definition at line 177 of file widgetMgr.h.

FEPanel* OgreGFX::WidgetMgr::cmdcMenu

The menu to display when only a SCV is selected

Definition at line 178 of file widgetMgr.h.

FEPanel* OgreGFX::WidgetMgr::barracksMenu

The menu to display when only a Command Center is selected.

Definition at line 179 of file widgetMgr.h.

FEPanel* OgreGFX::WidgetMgr::multiMenu

The menu to display when only a Barracks is selected.

Definition at line 180 of file widgetMgr.h.

FEPanel* OgreGFX::WidgetMgr::currMenu

The menu to display when multiple entities are selected.

Definition at line 181 of file widgetMgr.h.

FELabelPair* OgreGFX::WidgetMgr::testLabelPair

Pointer to panel currently on display in unit command box

Definition at line 182 of file widgetMgr.h.

FELabelPair* OgreGFX::WidgetMgr::testLabelPair2

Pair of labels to test LabelPair class

Definition at line 183 of file widgetMgr.h.

FEButton* OgreGFX::WidgetMgr::scvAtk

Pair of labels to test LabelPair class

Definition at line 184 of file widgetMgr.h.

FEButton* OgreGFX::WidgetMgr::scvMove

The button used to Attack in the SCV Menu

Definition at line 185 of file widgetMgr.h.

FEButton* OgreGFX::WidgetMgr::scvGather

The button used to Move in the SCV Menu

Definition at line 186 of file widgetMgr.h.

FESCVButton* OgreGFX::WidgetMgr::cmdcBuildSCV

The button used to Gather resources in the SCV Menu

Definition at line 187 of file widgetMgr.h.

FEButton* OgreGFX::WidgetMgr::multiAtk

The button used to build SCVs in the Command Center Menu

Definition at line 188 of file widgetMgr.h.

FEButton* OgreGFX::WidgetMgr::multiMove

The button used to Attack in the Multi-Menu

Definition at line 189 of file widgetMgr.h.

FEMarineButton* OgreGFX::WidgetMgr::barracksMarine

The button used to Move in the Multi-Menu

Definition at line 190 of file widgetMgr.h.

UIOutline* OgreGFX::WidgetMgr::uiBase

a bad way to work around an TextAreaOverlayElement caption not displaying

Definition at line 171 of file widgetMgr.h.

FELabel* OgreGFX::WidgetMgr::testLabel

Displays the background GUI for the minimap, unit info and unit command GUI.

Definition at line 172 of file widgetMgr.h.

FELabel* OgreGFX::WidgetMgr::testLabel2

Test able to add to test panel

Definition at line 173 of file widgetMgr.h.

FELabel* OgreGFX::WidgetMgr::buttonDesc

Test able to add to test panel

Definition at line 174 of file widgetMgr.h.

FEPanel* OgreGFX::WidgetMgr::testPanel

Text Description added to buttonInfo panel

Definition at line 175 of file widgetMgr.h.

FEPanel* OgreGFX::WidgetMgr::buttonInfo

Panel used to debug panel class

Definition at line 176 of file widgetMgr.h.

FEPanel* OgreGFX::WidgetMgr::scvMenu

Info of button currently under the mouse

Definition at line 177 of file widgetMgr.h.

FEPanel* OgreGFX::WidgetMgr::cmdcMenu

The menu to display when only a SCV is selected

Definition at line 178 of file widgetMgr.h.

FEPanel* OgreGFX::WidgetMgr::barracksMenu

The menu to display when only a Command Center is selected.

Definition at line 179 of file widgetMgr.h.

FEPanel* OgreGFX::WidgetMgr::multiMenu

The menu to display when only a Barracks is selected.

Definition at line 180 of file widgetMgr.h.

FEPanel* OgreGFX::WidgetMgr::currMenu

The menu to display when multiple entities are selected.

Definition at line 181 of file widgetMgr.h.

FELabelPair* OgreGFX::WidgetMgr::testLabelPair

Pointer to panel currently on display in unit command box

Definition at line 182 of file widgetMgr.h.

FELabelPair* OgreGFX::WidgetMgr::testLabelPair2

Pair of labels to test LabelPair class

Definition at line 183 of file widgetMgr.h.

FEButton* OgreGFX::WidgetMgr::scvAtk

Pair of labels to test LabelPair class

Definition at line 184 of file widgetMgr.h.

FEButton* OgreGFX::WidgetMgr::scvMove

The button used to Attack in the SCV Menu

Definition at line 185 of file widgetMgr.h.

FEButton* OgreGFX::WidgetMgr::scvGather

The button used to Move in the SCV Menu

Definition at line 186 of file widgetMgr.h.

FESCVButton* OgreGFX::WidgetMgr::cmdcBuildSCV

The button used to Gather resources in the SCV Menu

Definition at line 187 of file widgetMgr.h.

FEButton* OgreGFX::WidgetMgr::multiAtk

The button used to build SCVs in the Command Center Menu

Definition at line 188 of file widgetMgr.h.

FEButton* OgreGFX::WidgetMgr::multiMove

The button used to Attack in the Multi-Menu

Definition at line 189 of file widgetMgr.h.

FEMarineButton* OgreGFX::WidgetMgr::barracksMarine

The button used to Move in the Multi-Menu

Definition at line 190 of file widgetMgr.h.


The documentation for this class was generated from the following files:
Generated on Fri Dec 13 14:54:22 2013 for FastECSLent by  doxygen 1.5.4