#include <ControlBar.h>
Inherits SubsystemInterface.
Classes | |
| struct | ContainEntry |
| struct | QueueEntry |
Public Member Functions | |
| ControlBar (void) | |
| virtual | ~ControlBar (void) |
| virtual void | init (void) |
| from subsystem interface | |
| virtual void | reset (void) |
| from subsystem interface | |
| virtual void | update (void) |
| from subsystem interface | |
| void | markUIDirty (void) |
| mark the UI as dirty so the context of everything is re-evaluated | |
| void | onDrawableSelected (Drawable *draw) |
| a drawable has just become selected | |
| void | onDrawableDeselected (Drawable *draw) |
| a drawable has just become de-selected | |
| void | onPlayerRankChanged (const Player *p) |
| void | onPlayerSciencePurchasePointsChanged (const Player *p) |
| CBCommandStatus | processContextSensitiveButtonClick (GameWindow *button, GadgetGameMessage gadgetMessage) |
| CBCommandStatus | processContextSensitiveButtonTransition (GameWindow *button, GadgetGameMessage gadgetMessage) |
| Bool | isDrivingContextUI (Drawable *draw) const |
| is the drawable the currently selected drawable for the context sensitive UI? | |
| const CommandButton * | findCommandButton (const AsciiString &name) |
| find existing command button if present | |
| const CommandSet * | findCommandSet (const AsciiString &name) |
| find existing command set | |
| void | showPurchaseScience (void) |
| void | hidePurchaseScience (void) |
| void | togglePurchaseScience (void) |
| void | showSpecialPowerShortcut (void) |
| void | hideSpecialPowerShortcut (void) |
| void | animateSpecialPowerShortcut (Bool isOn) |
| ControlBarSchemeManager * | getControlBarSchemeManager (void) |
| set the control bar to the proper scheme based off a player template that's passed in | |
| void | setControlBarSchemeByPlayer (Player *p) |
| void | setControlBarSchemeByName (const AsciiString &name) |
| void | setControlBarSchemeByPlayerTemplate (const PlayerTemplate *pt) |
| void | updateBuildQueueDisabledImages (const Image *image) |
| We need to sometime change what the images look like depending on what scheme we're using. | |
| void | updateRightHUDImage (const Image *image) |
| We need to sometime change what the images look like depending on what scheme we're using. | |
| void | updateCommandMarkerImage (const Image *image) |
| We need to be able to update the command marker image based on which scheme we're using. | |
| void | updateSlotExitImage (const Image *image) |
| void | updateUpDownImages (const Image *toggleButtonUpIn, const Image *toggleButtonUpOn, const Image *toggleButtonUpPushed, const Image *toggleButtonDownIn, const Image *toggleButtonDownOn, const Image *toggleButtonDownPushed, const Image *generalButtonEnable, const Image *generalButtonHighlight) |
| void | preloadAssets (TimeOfDay timeOfDay) |
| preload the assets | |
| void | updateBuildUpClockColor (Color color) |
| We want to be able to have the control bar scheme set the color of the build up clock. | |
| void | updatePurchaseScience (void) |
| void | initObserverControls (void) |
| void | setObserverLookAtPlayer (Player *p) |
| Player * | getObserverLookAtPlayer (void) |
| void | populateObserverInfoWindow (void) |
| void | populateObserverList (void) |
| Bool | isObserverControlBarOn (void) |
| void | switchControlBarStage (ControlBarStages stage) |
| void | toggleControlBarStage (void) |
| const Image * | getStarImage (void) |
| Color | getBorderColor (void) |
| void | updateBorderColor (Color color) |
| void | setControlCommand (GameWindow *button, const CommandButton *commandButton) |
| set the command data into the button | |
| void | getForegroundMarkerPos (Int *x, Int *y) |
| void | getBackgroundMarkerPos (Int *x, Int *y) |
| void | drawTransitionHandler (void) |
| const Image * | getArrowImage (void) |
| void | setArrowImage (const Image *arrowImage) |
| void | initSpecialPowershortcutBar (Player *player) |
| void | triggerRadarAttackGlow (void) |
| void | drawSpecialPowerShortcutMultiplierText () |
| Bool | hasAnyShortcutSelection () const |
| void | setFlash (Bool b) |
| const CommandButton * | getCommandButtons (void) |
| void | hideCommunicator (Bool b) |
| void | showBuildTooltipLayout (GameWindow *cmdButton) |
| void | hideBuildTooltipLayout (void) |
| void | deleteBuildTooltipLayout (void) |
| Bool | getShowBuildTooltipLayout (void) |
| void | populateBuildTooltipLayout (const CommandButton *commandButton, GameWindow *tooltipWin=NULL) |
| void | repopulateBuildTooltipLayout (void) |
| void | updateCommanBarBorderColors (Color build, Color action, Color upgrade, Color system) |
Public Member Functions inherited from SubsystemInterface | |
| SubsystemInterface () | |
| virtual | ~SubsystemInterface () |
| virtual void | postProcessLoad () |
| virtual void | draw (void) |
| void | UPDATE (void) |
| void | DRAW (void) |
| AsciiString | getName (void) |
| void | setName (AsciiString name) |
Static Public Member Functions | |
| static void | parseCommandSetDefinition (INI *ini) |
| static void | parseCommandButtonDefinition (INI *ini) |
Public Attributes | |
| WindowVideoManager * | m_videoManager |
| Video manager to take care of all animations on screen. | |
| AnimateWindowManager * | m_animateWindowManager |
| The animate window manager. | |
| AnimateWindowManager * | m_animateWindowManagerForGenShortcuts |
| The animate window manager. | |
| AnimateWindowManager * | m_generalsScreenAnimate |
| The animate window manager. | |
Protected Member Functions | |
| void | updateRadarAttackGlow (void) |
| void | setDefaultControlBarConfig (void) |
| void | setSquishedControlBarConfig (void) |
| void | setLowControlBarConfig (void) |
| void | setHiddenControlBar (void) |
| CommandButton * | findNonConstCommandButton (const AsciiString &name) |
| find existing command button if present | |
| CommandButton * | newCommandButton (const AsciiString &name) |
| allocate a new command button, link to list, initialize to default, and return | |
| CommandButton * | newCommandButtonOverride (CommandButton *buttonToOverride) |
| CommandSet * | newCommandSet (const AsciiString &name) |
| allocate a new command set, link to list, initialize to default, and return it | |
| CommandSet * | newCommandSetOverride (CommandSet *setToOverride) |
| void | evaluateContextUI (void) |
| evaluate what the user should see based on what selected drawables we have in our UI | |
| void | addCommonCommands (Drawable *draw, Bool firstDrawable) |
| add the common commands of this drawable to the common command set | |
| void | switchToContext (ControlBarContext context, Drawable *draw) |
| switch the interface context to the new mode and populate as needed | |
| void | setControlCommand (const AsciiString &buttonWindowName, GameWindow *parent, const CommandButton *commandButton) |
| set the command data into the button | |
| void | setPortraitByImage (const Image *image) |
| show/hide the portrait window image using the image pointer to set | |
| void | setPortraitByObject (Object *obj) |
| show/hide the portrait window image using the image from the object | |
| void | showRallyPoint (const Coord3D *loc) |
| show rally point at world location, a NULL location will hide any visible rally point marker | |
| void | postProcessCommands (void) |
| post process step, after all commands and command sets are loaded | |
| void | resetCommonCommandData (void) |
| void | resetContainData (void) |
| reset shared command data | |
| void | resetBuildQueueData (void) |
| reset container data we use to tie controls to objects IDs for containment | |
| void | populatePurchaseScience (Player *player) |
| void | populateCommand (Object *obj) |
| void | populateMultiSelect (void) |
| void | populateBuildQueue (Object *producer) |
| void | populateStructureInventory (Object *building) |
| void | populateBeacon (Object *beacon) |
| void | populateUnderConstruction (Object *objectUnderConstruction) |
| void | populateOCLTimer (Object *creatorObject) |
| void | doTransportInventoryUI (Object *transport, const CommandSet *commandSet) |
| CommandAvailability | getCommandAvailability (const CommandButton *command, Object *obj, GameWindow *win, GameWindow *applyToWin=NULL, Bool forceDisabledEvaluation=FALSE) const |
| void | updateContextMultiSelect (void) |
| void | updateContextPurchaseScience (void) |
| void | updateContextCommand (void) |
| void | updateContextStructureInventory (void) |
| void | updateContextBeacon (void) |
| void | updateContextUnderConstruction (void) |
| void | updateContextOCLTimer (void) |
| void | populateSpecialPowerShortcut (Player *player) |
| void | updateSpecialPowerShortcut (void) |
| CBCommandStatus | processCommandUI (GameWindow *control, GadgetGameMessage gadgetMessage) |
| CBCommandStatus | processCommandTransitionUI (GameWindow *control, GadgetGameMessage gadgetMessage) |
| void | updateConstructionTextDisplay (Object *obj) |
| void | updateOCLTimerTextDisplay (UnsignedInt totalSeconds, Real percent) |
| void | setUpDownImages (void) |
Static Protected Member Functions | |
| static void | populateButtonProc (Object *obj, void *userData) |
| reset the build queue data we use to die queue entires to control | |
| static void | populateInvDataCallback (Object *obj, void *userData) |
| static const Image * | calculateVeterancyOverlayForThing (const ThingTemplate *thingTemplate) |
| static const Image * | calculateVeterancyOverlayForObject (const Object *obj) |
Static Protected Attributes | |
| static ContainEntry | m_containData [MAX_COMMANDS_PER_SET] |
| inventory buttons integrated into the regular command set for buildings/transports | |
Definition at line 651 of file ControlBar.h.
| ControlBar::ControlBar | ( | void | ) |
Definition at line 865 of file ControlBar.cpp.
|
virtual |
Definition at line 973 of file ControlBar.cpp.
add the common commands of this drawable to the common command set
add the common commands of this drawable to the common command set
Definition at line 70 of file ControlBarMultiSelect.cpp.
| void ControlBar::animateSpecialPowerShortcut | ( | Bool | isOn | ) |
Definition at line 3716 of file ControlBar.cpp.
Definition at line 974 of file ControlBarCommand.cpp.
|
staticprotected |
Definition at line 917 of file ControlBarCommand.cpp.
| void ControlBar::deleteBuildTooltipLayout | ( | void | ) |
Definition at line 701 of file ControlBarPopupDescription.cpp.
|
protected |
Transports have an extra special manipulation of the user interface. They get to look at the available command set, and any of the commands that are TransportExit commands AND there is actually an object to represent that slot contained in the transport, the inventory picture of the contained object will be displayed in the window control for that TransportExit command. Also, transports will HIDE any TransportExit controls found in the command set that represent slots that DO NOT EXIST for the transport (that is, the transport can only hold 4 things, but the GUI has buttons for 8 things). For slots that are empty but present in the transport the UI will show a disabled button to show the user that there is an open "slot"
Definition at line 148 of file ControlBarCommand.cpp.
| void ControlBar::drawSpecialPowerShortcutMultiplierText | ( | ) |
Definition at line 3663 of file ControlBar.cpp.
| void ControlBar::drawTransitionHandler | ( | void | ) |
Definition at line 3183 of file ControlBar.cpp.
|
protected |
evaluate what the user should see based on what selected drawables we have in our UI
Given the drawables that we have selected into our context sensitive UI, evaluate and perform all UI manipulations to make the GUI show to the user what we want them to see
Definition at line 1713 of file ControlBar.cpp.
| const CommandButton * ControlBar::findCommandButton | ( | const AsciiString & | name | ) |
find existing command button if present
find existing command button if present
Definition at line 2034 of file ControlBar.cpp.
| const CommandSet * ControlBar::findCommandSet | ( | const AsciiString & | name | ) |
find existing command set
Find existing command set by name
Definition at line 2047 of file ControlBar.cpp.
|
protected |
find existing command button if present
Find a command button of the given name if present
Definition at line 1917 of file ControlBar.cpp.
|
inline |
Definition at line 768 of file ControlBar.h.
Definition at line 3177 of file ControlBar.cpp.
|
inline |
Definition at line 754 of file ControlBar.h.
|
protected |
What's the status between 'obj' and the 'command' at present. Can we do it? Are we already doing it? Can ya dig it?
@Kris – We need to show the button as always available for anything with a 0 clip reload time.
Definition at line 1017 of file ControlBarCommand.cpp.
|
inline |
Definition at line 874 of file ControlBar.h.
|
inline |
set the control bar to the proper scheme based off a player template that's passed in
Definition at line 710 of file ControlBar.h.
Definition at line 3172 of file ControlBar.cpp.
|
inline |
Definition at line 741 of file ControlBar.h.
|
inline |
Definition at line 976 of file ControlBar.h.
| const Image * ControlBar::getStarImage | ( | void | ) |
Definition at line 1645 of file ControlBar.cpp.
| Bool ControlBar::hasAnyShortcutSelection | ( | ) | const |
Definition at line 3509 of file ControlBar.cpp.
| void ControlBar::hideBuildTooltipLayout | ( | void | ) |
Definition at line 690 of file ControlBarPopupDescription.cpp.
| void ControlBar::hideCommunicator | ( | Bool | b | ) |
Definition at line 2921 of file ControlBar.cpp.
| void ControlBar::hidePurchaseScience | ( | void | ) |
Definition at line 2959 of file ControlBar.cpp.
| void ControlBar::hideSpecialPowerShortcut | ( | void | ) |
Definition at line 3764 of file ControlBar.cpp.
|
virtual |
from subsystem interface
Initialzie the control bar, this is our interface to the context sinsitive GUI
Implements SubsystemInterface.
Definition at line 1050 of file ControlBar.cpp.
| void ControlBar::initObserverControls | ( | void | ) |
Definition at line 103 of file ControlBarObserver.cpp.
| void ControlBar::initSpecialPowershortcutBar | ( | Player * | player | ) |
Definition at line 3222 of file ControlBar.cpp.
is the drawable the currently selected drawable for the context sensitive UI?
Definition at line 687 of file ControlBar.h.
|
inline |
Definition at line 744 of file ControlBar.h.
| void ControlBar::markUIDirty | ( | void | ) |
mark the UI as dirty so the context of everything is re-evaluated
Definition at line 138 of file ControlBar.cpp.
|
protected |
allocate a new command button, link to list, initialize to default, and return
Allocate a new command button, assign name, and tie to list
Definition at line 1931 of file ControlBar.cpp.
|
protected |
Definition at line 1951 of file ControlBar.cpp.
|
protected |
allocate a new command set, link to list, initialize to default, and return it
Allocate a new command set, link to list, initialize to default, and return it
Definition at line 2058 of file ControlBar.cpp.
|
protected |
Create an overridden command set.
Definition at line 2072 of file ControlBar.cpp.
| void ControlBar::onDrawableDeselected | ( | Drawable * | draw | ) |
a drawable has just become de-selected
Definition at line 1622 of file ControlBar.cpp.
| void ControlBar::onDrawableSelected | ( | Drawable * | draw | ) |
a drawable has just become selected
Definition at line 1608 of file ControlBar.cpp.
| void ControlBar::onPlayerRankChanged | ( | const Player * | p | ) |
Definition at line 1675 of file ControlBar.cpp.
| void ControlBar::onPlayerSciencePurchasePointsChanged | ( | const Player * | p | ) |
Definition at line 1693 of file ControlBar.cpp.
|
static |
Parse a command button
Definition at line 49 of file INICommandButton.cpp.
|
static |
Parse a command set
Definition at line 1973 of file ControlBar.cpp.
|
protected |
Definition at line 44 of file ControlBarBeacon.cpp.
|
protected |
Definition at line 555 of file ControlBarCommand.cpp.
| void ControlBar::populateBuildTooltipLayout | ( | const CommandButton * | commandButton, |
| GameWindow * | tooltipWin = NULL ) |
Definition at line 249 of file ControlBarPopupDescription.cpp.
|
staticprotected |
reset the build queue data we use to die queue entires to control
Definition at line 68 of file ControlBarStructureInventory.cpp.
|
protected |
Definition at line 270 of file ControlBarCommand.cpp.
|
staticprotected |
Used for the callback iterator on transport contents to do the actual GUI fill
Definition at line 91 of file ControlBarCommand.cpp.
|
protected |
Populate the visible command bar with commands that are common to all the objects that are selected in the UI
Definition at line 211 of file ControlBarMultiSelect.cpp.
| void ControlBar::populateObserverInfoWindow | ( | void | ) |
Definition at line 295 of file ControlBarObserver.cpp.
| void ControlBar::populateObserverList | ( | void | ) |
Definition at line 210 of file ControlBarObserver.cpp.
|
protected |
Populate the interface for an OCL Timer context.
Definition at line 79 of file ControlBarOCLTimer.cpp.
|
protected |
Definition at line 167 of file ControlBar.cpp.
|
protected |
Definition at line 3280 of file ControlBar.cpp.
|
protected |
Definition at line 100 of file ControlBarStructureInventory.cpp.
|
protected |
Populate the interface for an under construction context.
Definition at line 70 of file ControlBarUnderConstruction.cpp.
|
protected |
post process step, after all commands and command sets are loaded
post process step, after all commands and command sets are loaded
Definition at line 2523 of file ControlBar.cpp.
| void ControlBar::preloadAssets | ( | TimeOfDay | timeOfDay | ) |
preload the assets
Definition at line 2850 of file ControlBar.cpp.
|
protected |
Process a button transition message from the window system that should be for one of our GUI commands
Definition at line 105 of file ControlBarCommandProcessing.cpp.
|
protected |
Process a button selected message from the window system that should be for one of our GUI commands
Definition at line 129 of file ControlBarCommandProcessing.cpp.
| CBCommandStatus ControlBar::processContextSensitiveButtonClick | ( | GameWindow * | button, |
| GadgetGameMessage | gadgetMessage ) |
if this button is part of the context sensitive command system, process a button click the gadgetMessage is either a GBM_SELECTED or GBM_SELECTED_RIGHT
Process a button click for the context sensitive GUI
Definition at line 2095 of file ControlBar.cpp.
| CBCommandStatus ControlBar::processContextSensitiveButtonTransition | ( | GameWindow * | button, |
| GadgetGameMessage | gadgetMessage ) |
if this button is part of the context sensitive command system, process the Transition gadgetMessage is either a GBM_MOUSE_LEAVING or GBM_MOUSE_ENTERING
Process a button click for the context sensitive GUI
Definition at line 2107 of file ControlBar.cpp.
| void ControlBar::repopulateBuildTooltipLayout | ( | void | ) |
Definition at line 239 of file ControlBarPopupDescription.cpp.
|
virtual |
from subsystem interface
Reset the context sensitive control bar GUI
Implements SubsystemInterface.
Definition at line 1294 of file ControlBar.cpp.
|
protected |
reset container data we use to tie controls to objects IDs for containment
reset the build queue data we use to die queue entires to control
Definition at line 537 of file ControlBarCommand.cpp.
|
protected |
Reset the common command data
Definition at line 54 of file ControlBarMultiSelect.cpp.
|
protected |
reset shared command data
reset transport data
Definition at line 520 of file ControlBarCommand.cpp.
|
inline |
Definition at line 769 of file ControlBar.h.
| void ControlBar::setControlBarSchemeByName | ( | const AsciiString & | name | ) |
Definition at line 2842 of file ControlBar.cpp.
| void ControlBar::setControlBarSchemeByPlayer | ( | Player * | p | ) |
Show a rally point marker at the world location specified. If no location is specified any marker that we might have visible is hidden
Definition at line 2750 of file ControlBar.cpp.
| void ControlBar::setControlBarSchemeByPlayerTemplate | ( | const PlayerTemplate * | pt | ) |
Definition at line 2795 of file ControlBar.cpp.
|
protected |
set the command data into the button
set the command for the button identified by the window name NOTE that parent may be NULL, it only helps to speed up the search for a particular window ID
Definition at line 2536 of file ControlBar.cpp.
| void ControlBar::setControlCommand | ( | GameWindow * | button, |
| const CommandButton * | commandButton ) |
set the command data into the button
Set the command data into the control
Definition at line 2427 of file ControlBar.cpp.
|
protected |
Definition at line 3025 of file ControlBar.cpp.
|
inline |
Definition at line 871 of file ControlBar.h.
|
protected |
Definition at line 3073 of file ControlBar.cpp.
|
protected |
Definition at line 3054 of file ControlBar.cpp.
|
inline |
Definition at line 740 of file ControlBar.h.
|
protected |
show/hide the portrait window image using the image pointer to set
show/hide the portrait window image
Definition at line 2558 of file ControlBar.cpp.
|
protected |
show/hide the portrait window image using the image from the object
show/hide the portrait image by object. We like to use this method as opposed to the plain image one above so that we can build more intelligence into what portrait to show for an object given its current state or object type
Definition at line 2591 of file ControlBar.cpp.
|
protected |
Definition at line 3041 of file ControlBar.cpp.
|
protected |
Definition at line 3152 of file ControlBar.cpp.
| void ControlBar::showBuildTooltipLayout | ( | GameWindow * | cmdButton | ) |
Definition at line 133 of file ControlBarPopupDescription.cpp.
| void ControlBar::showPurchaseScience | ( | void | ) |
Definition at line 2942 of file ControlBar.cpp.
|
protected |
show rally point at world location, a NULL location will hide any visible rally point marker
Show a rally point marker at the world location specified. If no location is specified any marker that we might have visible is hidden
Definition at line 2693 of file ControlBar.cpp.
| void ControlBar::showSpecialPowerShortcut | ( | void | ) |
Definition at line 3743 of file ControlBar.cpp.
| void ControlBar::switchControlBarStage | ( | ControlBarStages | stage | ) |
Definition at line 3001 of file ControlBar.cpp.
|
protected |
switch the interface context to the new mode and populate as needed
Switch the user interface to the new context specified and fill out any of the art and/or buttons that we need to for the new context using data from the object passed in
Definition at line 2122 of file ControlBar.cpp.
| void ControlBar::toggleControlBarStage | ( | void | ) |
Definition at line 2992 of file ControlBar.cpp.
| void ControlBar::togglePurchaseScience | ( | void | ) |
Definition at line 2984 of file ControlBar.cpp.
| void ControlBar::triggerRadarAttackGlow | ( | void | ) |
Definition at line 3193 of file ControlBar.cpp.
|
virtual |
from subsystem interface
Update phase, we can track if our selected object is destroyed, update button percentages, status, enabled status etc
Implements SubsystemInterface.
Definition at line 1383 of file ControlBar.cpp.
|
inline |
Definition at line 755 of file ControlBar.h.
| void ControlBar::updateBuildQueueDisabledImages | ( | const Image * | image | ) |
We need to sometime change what the images look like depending on what scheme we're using.
Definition at line 2856 of file ControlBar.cpp.
| void ControlBar::updateBuildUpClockColor | ( | Color | color | ) |
We want to be able to have the control bar scheme set the color of the build up clock.
Definition at line 2904 of file ControlBar.cpp.
| void ControlBar::updateCommanBarBorderColors | ( | Color | build, |
| Color | action, | ||
| Color | upgrade, | ||
| Color | system ) |
Definition at line 2911 of file ControlBar.cpp.
| void ControlBar::updateCommandMarkerImage | ( | const Image * | image | ) |
We need to be able to update the command marker image based on which scheme we're using.
Definition at line 3090 of file ControlBar.cpp.
|
protected |
Definition at line 48 of file ControlBarUnderConstruction.cpp.
|
protected |
Definition at line 88 of file ControlBarBeacon.cpp.
|
protected |
Definition at line 702 of file ControlBarCommand.cpp.
|
protected |
Update logic for the multi select context sensitive GUI
Definition at line 300 of file ControlBarMultiSelect.cpp.
|
protected |
Definition at line 140 of file ControlBarOCLTimer.cpp.
|
protected |
Definition at line 458 of file ControlBar.cpp.
|
protected |
Definition at line 205 of file ControlBarStructureInventory.cpp.
|
protected |
Definition at line 106 of file ControlBarUnderConstruction.cpp.
|
protected |
Definition at line 47 of file ControlBarOCLTimer.cpp.
| void ControlBar::updatePurchaseScience | ( | void | ) |
Definition at line 2931 of file ControlBar.cpp.
|
protected |
Definition at line 3203 of file ControlBar.cpp.
| void ControlBar::updateRightHUDImage | ( | const Image * | image | ) |
We need to sometime change what the images look like depending on what scheme we're using.
Definition at line 2896 of file ControlBar.cpp.
| void ControlBar::updateSlotExitImage | ( | const Image * | image | ) |
Definition at line 3101 of file ControlBar.cpp.
|
protected |
Definition at line 3535 of file ControlBar.cpp.
| void ControlBar::updateUpDownImages | ( | const Image * | toggleButtonUpIn, |
| const Image * | toggleButtonUpOn, | ||
| const Image * | toggleButtonUpPushed, | ||
| const Image * | toggleButtonDownIn, | ||
| const Image * | toggleButtonDownOn, | ||
| const Image * | toggleButtonDownPushed, | ||
| const Image * | generalButtonEnable, | ||
| const Image * | generalButtonHighlight ) |
Definition at line 3134 of file ControlBar.cpp.
|
protected |
Definition at line 960 of file ControlBar.h.
|
protected |
Definition at line 958 of file ControlBar.h.
|
protected |
Definition at line 961 of file ControlBar.h.
|
protected |
Definition at line 959 of file ControlBar.h.
|
protected |
Definition at line 962 of file ControlBar.h.
| AnimateWindowManager* ControlBar::m_animateWindowManager |
The animate window manager.
Definition at line 733 of file ControlBar.h.
| AnimateWindowManager* ControlBar::m_animateWindowManagerForGenShortcuts |
The animate window manager.
Definition at line 734 of file ControlBar.h.
|
protected |
Definition at line 963 of file ControlBar.h.
|
protected |
The window that will slide on/display tooltips.
Definition at line 970 of file ControlBar.h.
|
protected |
Definition at line 965 of file ControlBar.h.
|
protected |
list of possible commands to have
Definition at line 883 of file ControlBar.h.
|
protected |
list of all command sets defined
Definition at line 884 of file ControlBar.h.
|
protected |
command window controls for easy access
Definition at line 919 of file ControlBar.h.
|
protected |
shared commands we will use for multi-selection
Definition at line 920 of file ControlBar.h.
|
protected |
button for the communicator
Definition at line 904 of file ControlBar.h.
|
staticprotected |
inventory buttons integrated into the regular command set for buildings/transports
Definition at line 939 of file ControlBar.h.
|
protected |
"parent" window for buttons that are part of the context sensitive interface
Definition at line 887 of file ControlBar.h.
|
protected |
The Scheme singleton.
Definition at line 885 of file ControlBar.h.
|
protected |
our current displayed context
Definition at line 890 of file ControlBar.h.
|
protected |
Definition at line 879 of file ControlBar.h.
|
protected |
Value will be <= MAX_SPECIAL_POWER_SHORTCUTS;.
Definition at line 913 of file ControlBar.h.
|
protected |
currently selected drawable for the context sensitive interface
Definition at line 889 of file ControlBar.h.
|
protected |
Stored the original position of the control bar on the screen.
Definition at line 878 of file ControlBar.h.
|
protected |
construct percent last displayed to user
Definition at line 894 of file ControlBar.h.
|
protected |
OCL Timer seconds remaining last displayed to user.
Definition at line 895 of file ControlBar.h.
|
protected |
queue count last displayed to user
Definition at line 896 of file ControlBar.h.
|
protected |
tells update whether or not to check for flash
Definition at line 955 of file ControlBar.h.
| AnimateWindowManager* ControlBar::m_generalsScreenAnimate |
The animate window manager.
Definition at line 736 of file ControlBar.h.
|
protected |
If this is true, the command bar behaves greatly differnt.
Definition at line 967 of file ControlBar.h.
|
protected |
last known UI state of an inventory count
Definition at line 897 of file ControlBar.h.
|
protected |
The current player we're looking at, Null if we're not looking at anyone.
Definition at line 968 of file ControlBar.h.
|
protected |
what the build queue represents
Definition at line 952 of file ControlBar.h.
|
protected |
rally point drawable for visual rally point
Definition at line 892 of file ControlBar.h.
|
protected |
window of the right HUD display
Definition at line 900 of file ControlBar.h.
|
protected |
Definition at line 902 of file ControlBar.h.
|
protected |
Definition at line 901 of file ControlBar.h.
|
protected |
window of the right HUD display
Definition at line 899 of file ControlBar.h.
|
protected |
the Science window layout
Definition at line 906 of file ControlBar.h.
|
protected |
command window controls for easy access
Definition at line 907 of file ControlBar.h.
|
protected |
command window controls for easy access
Definition at line 908 of file ControlBar.h.
|
protected |
command window controls for easy access
Definition at line 909 of file ControlBar.h.
|
protected |
Definition at line 912 of file ControlBar.h.
|
protected |
every frame we test to see if we aregoing to continue showing this or not.
Definition at line 971 of file ControlBar.h.
|
protected |
Definition at line 957 of file ControlBar.h.
|
protected |
Definition at line 916 of file ControlBar.h.
|
protected |
Definition at line 911 of file ControlBar.h.
|
protected |
Definition at line 910 of file ControlBar.h.
|
protected |
Definition at line 917 of file ControlBar.h.
|
protected |
the context UI must be re-evaluated
Definition at line 881 of file ControlBar.h.
| WindowVideoManager* ControlBar::m_videoManager |
Video manager to take care of all animations on screen.
Definition at line 732 of file ControlBar.h.