Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
ControlBarScheme Class Reference

#include <ControlBarScheme.h>

Public Types

typedef std::list< ControlBarSchemeImage * > ControlBarSchemeImageList
 
typedef std::list< ControlBarSchemeAnimation * > ControlBarSchemeAnimationList
 

Public Member Functions

 ControlBarScheme (void)
 
 ~ControlBarScheme (void)
 
void init (void)
 
void update (void)
 
void drawForeground (Coord2D multi, ICoord2D offset)
 draw function to be called within a w3d draw procedure for the foreground
 
void drawBackground (Coord2D multi, ICoord2D offset)
 draw function to be called within a w3d draw procedure for the background
 
void reset (void)
 
void addAnimation (ControlBarSchemeAnimation *schemeAnim)
 
void addImage (ControlBarSchemeImage *schemeImage)
 
void updateAnim (ControlBarSchemeAnimation *anim)
 

Public Attributes

AsciiString m_name
 it's name
 
ICoord2D m_ScreenCreationRes
 Used to determine what screen res this will look the best on.
 
AsciiString m_side
 contain what faction type this command bar was made for (used when selecting command bar by template
 
Imagem_buttonQueueImage
 We'll probably want each one to have it's own image.
 
Imagem_rightHUDImage
 We'll probably want each one to have it's own right HUD image.
 
Color m_buildUpClockColor
 we can setup the color for the buildup clock if we want
 
Color m_borderBuildColor
 we can setup the color for the button border colors
 
Color m_borderActionColor
 we can setup the color for the button border colors
 
Color m_borderUpgradeColor
 we can setup the color for the button border colors
 
Color m_borderSystemColor
 we can setup the color for the button border colors
 
Color m_commandBarBorderColor
 
Imagem_optionsButtonEnable
 
Imagem_optionsButtonHightlited
 
Imagem_optionsButtonPushed
 
Imagem_optionsButtonDisabled
 
Imagem_idleWorkerButtonEnable
 
Imagem_idleWorkerButtonHightlited
 
Imagem_idleWorkerButtonPushed
 
Imagem_idleWorkerButtonDisabled
 
Imagem_buddyButtonEnable
 
Imagem_buddyButtonHightlited
 
Imagem_buddyButtonPushed
 
Imagem_buddyButtonDisabled
 
Imagem_beaconButtonEnable
 
Imagem_beaconButtonHightlited
 
Imagem_beaconButtonPushed
 
Imagem_beaconButtonDisabled
 
Imagem_genBarButtonIn
 
Imagem_genBarButtonOn
 
Imagem_toggleButtonUpIn
 
Imagem_toggleButtonUpOn
 
Imagem_toggleButtonUpPushed
 
Imagem_toggleButtonDownIn
 
Imagem_toggleButtonDownOn
 
Imagem_toggleButtonDownPushed
 
Imagem_generalButtonEnable
 
Imagem_generalButtonHightlited
 
Imagem_generalButtonPushed
 
Imagem_generalButtonDisabled
 
Imagem_uAttackButtonEnable
 
Imagem_uAttackButtonHightlited
 
Imagem_uAttackButtonPushed
 
Imagem_minMaxButtonEnable
 
Imagem_minMaxButtonHightlited
 
Imagem_minMaxButtonPushed
 
Imagem_genArrow
 
ICoord2D m_moneyUL
 
ICoord2D m_moneyLR
 
ICoord2D m_minMaxUL
 
ICoord2D m_minMaxLR
 
ICoord2D m_generalUL
 
ICoord2D m_generalLR
 
ICoord2D m_uAttackUL
 
ICoord2D m_uAttackLR
 
ICoord2D m_optionsUL
 
ICoord2D m_optionsLR
 
ICoord2D m_workerUL
 
ICoord2D m_workerLR
 
ICoord2D m_chatUL
 
ICoord2D m_chatLR
 
ICoord2D m_beaconUL
 
ICoord2D m_beaconLR
 
ICoord2D m_powerBarUL
 
ICoord2D m_powerBarLR
 
Imagem_expBarForeground
 
Imagem_commandMarkerImage
 
Imagem_powerPurchaseImage
 
ControlBarSchemeImageList m_layer [MAX_CONTROL_BAR_SCHEME_IMAGE_LAYERS]
 
ControlBarSchemeAnimationList m_animations
 

Detailed Description

Definition at line 126 of file ControlBarScheme.h.

Member Typedef Documentation

◆ ControlBarSchemeAnimationList

◆ ControlBarSchemeImageList

Constructor & Destructor Documentation

◆ ControlBarScheme()

ControlBarScheme::ControlBarScheme ( void )

Definition at line 296 of file ControlBarScheme.cpp.

◆ ~ControlBarScheme()

ControlBarScheme::~ControlBarScheme ( void )

Definition at line 291 of file ControlBarScheme.cpp.

Member Function Documentation

◆ addAnimation()

void ControlBarScheme::addAnimation ( ControlBarSchemeAnimation * schemeAnim)

Definition at line 691 of file ControlBarScheme.cpp.

◆ addImage()

void ControlBarScheme::addImage ( ControlBarSchemeImage * schemeImage)

Definition at line 704 of file ControlBarScheme.cpp.

◆ drawBackground()

void ControlBarScheme::drawBackground ( Coord2D multi,
ICoord2D offset )

draw function to be called within a w3d draw procedure for the background

Definition at line 802 of file ControlBarScheme.cpp.

◆ drawForeground()

void ControlBarScheme::drawForeground ( Coord2D multi,
ICoord2D offset )

draw function to be called within a w3d draw procedure for the foreground

Definition at line 766 of file ControlBarScheme.cpp.

◆ init()

void ControlBarScheme::init ( void )

Definition at line 425 of file ControlBarScheme.cpp.

◆ reset()

void ControlBarScheme::reset ( void )

Definition at line 216 of file ControlBarScheme.cpp.

◆ update()

void ControlBarScheme::update ( void )

Definition at line 745 of file ControlBarScheme.cpp.

◆ updateAnim()

void ControlBarScheme::updateAnim ( ControlBarSchemeAnimation * anim)

Definition at line 726 of file ControlBarScheme.cpp.

Member Data Documentation

◆ m_animations

ControlBarSchemeAnimationList ControlBarScheme::m_animations

Definition at line 244 of file ControlBarScheme.h.

◆ m_beaconButtonDisabled

Image* ControlBarScheme::m_beaconButtonDisabled

Definition at line 175 of file ControlBarScheme.h.

◆ m_beaconButtonEnable

Image* ControlBarScheme::m_beaconButtonEnable

Definition at line 172 of file ControlBarScheme.h.

◆ m_beaconButtonHightlited

Image* ControlBarScheme::m_beaconButtonHightlited

Definition at line 173 of file ControlBarScheme.h.

◆ m_beaconButtonPushed

Image* ControlBarScheme::m_beaconButtonPushed

Definition at line 174 of file ControlBarScheme.h.

◆ m_beaconLR

ICoord2D ControlBarScheme::m_beaconLR

Definition at line 225 of file ControlBarScheme.h.

◆ m_beaconUL

ICoord2D ControlBarScheme::m_beaconUL

Definition at line 224 of file ControlBarScheme.h.

◆ m_borderActionColor

Color ControlBarScheme::m_borderActionColor

we can setup the color for the button border colors

Definition at line 151 of file ControlBarScheme.h.

◆ m_borderBuildColor

Color ControlBarScheme::m_borderBuildColor

we can setup the color for the button border colors

Definition at line 150 of file ControlBarScheme.h.

◆ m_borderSystemColor

Color ControlBarScheme::m_borderSystemColor

we can setup the color for the button border colors

Definition at line 153 of file ControlBarScheme.h.

◆ m_borderUpgradeColor

Color ControlBarScheme::m_borderUpgradeColor

we can setup the color for the button border colors

Definition at line 152 of file ControlBarScheme.h.

◆ m_buddyButtonDisabled

Image* ControlBarScheme::m_buddyButtonDisabled

Definition at line 170 of file ControlBarScheme.h.

◆ m_buddyButtonEnable

Image* ControlBarScheme::m_buddyButtonEnable

Definition at line 167 of file ControlBarScheme.h.

◆ m_buddyButtonHightlited

Image* ControlBarScheme::m_buddyButtonHightlited

Definition at line 168 of file ControlBarScheme.h.

◆ m_buddyButtonPushed

Image* ControlBarScheme::m_buddyButtonPushed

Definition at line 169 of file ControlBarScheme.h.

◆ m_buildUpClockColor

Color ControlBarScheme::m_buildUpClockColor

we can setup the color for the buildup clock if we want

Definition at line 148 of file ControlBarScheme.h.

◆ m_buttonQueueImage

Image* ControlBarScheme::m_buttonQueueImage

We'll probably want each one to have it's own image.

Definition at line 146 of file ControlBarScheme.h.

◆ m_chatLR

ICoord2D ControlBarScheme::m_chatLR

Definition at line 222 of file ControlBarScheme.h.

◆ m_chatUL

ICoord2D ControlBarScheme::m_chatUL

Definition at line 221 of file ControlBarScheme.h.

◆ m_commandBarBorderColor

Color ControlBarScheme::m_commandBarBorderColor

Definition at line 155 of file ControlBarScheme.h.

◆ m_commandMarkerImage

Image* ControlBarScheme::m_commandMarkerImage

Definition at line 236 of file ControlBarScheme.h.

◆ m_expBarForeground

Image* ControlBarScheme::m_expBarForeground

Definition at line 234 of file ControlBarScheme.h.

◆ m_genArrow

Image* ControlBarScheme::m_genArrow

Definition at line 200 of file ControlBarScheme.h.

◆ m_genBarButtonIn

Image* ControlBarScheme::m_genBarButtonIn

Definition at line 177 of file ControlBarScheme.h.

◆ m_genBarButtonOn

Image* ControlBarScheme::m_genBarButtonOn

Definition at line 178 of file ControlBarScheme.h.

◆ m_generalButtonDisabled

Image* ControlBarScheme::m_generalButtonDisabled

Definition at line 190 of file ControlBarScheme.h.

◆ m_generalButtonEnable

Image* ControlBarScheme::m_generalButtonEnable

Definition at line 187 of file ControlBarScheme.h.

◆ m_generalButtonHightlited

Image* ControlBarScheme::m_generalButtonHightlited

Definition at line 188 of file ControlBarScheme.h.

◆ m_generalButtonPushed

Image* ControlBarScheme::m_generalButtonPushed

Definition at line 189 of file ControlBarScheme.h.

◆ m_generalLR

ICoord2D ControlBarScheme::m_generalLR

Definition at line 210 of file ControlBarScheme.h.

◆ m_generalUL

ICoord2D ControlBarScheme::m_generalUL

Definition at line 209 of file ControlBarScheme.h.

◆ m_idleWorkerButtonDisabled

Image* ControlBarScheme::m_idleWorkerButtonDisabled

Definition at line 165 of file ControlBarScheme.h.

◆ m_idleWorkerButtonEnable

Image* ControlBarScheme::m_idleWorkerButtonEnable

Definition at line 162 of file ControlBarScheme.h.

◆ m_idleWorkerButtonHightlited

Image* ControlBarScheme::m_idleWorkerButtonHightlited

Definition at line 163 of file ControlBarScheme.h.

◆ m_idleWorkerButtonPushed

Image* ControlBarScheme::m_idleWorkerButtonPushed

Definition at line 164 of file ControlBarScheme.h.

◆ m_layer

Definition at line 241 of file ControlBarScheme.h.

◆ m_minMaxButtonEnable

Image* ControlBarScheme::m_minMaxButtonEnable

Definition at line 196 of file ControlBarScheme.h.

◆ m_minMaxButtonHightlited

Image* ControlBarScheme::m_minMaxButtonHightlited

Definition at line 197 of file ControlBarScheme.h.

◆ m_minMaxButtonPushed

Image* ControlBarScheme::m_minMaxButtonPushed

Definition at line 198 of file ControlBarScheme.h.

◆ m_minMaxLR

ICoord2D ControlBarScheme::m_minMaxLR

Definition at line 207 of file ControlBarScheme.h.

◆ m_minMaxUL

ICoord2D ControlBarScheme::m_minMaxUL

Definition at line 206 of file ControlBarScheme.h.

◆ m_moneyLR

ICoord2D ControlBarScheme::m_moneyLR

Definition at line 204 of file ControlBarScheme.h.

◆ m_moneyUL

ICoord2D ControlBarScheme::m_moneyUL

Definition at line 203 of file ControlBarScheme.h.

◆ m_name

AsciiString ControlBarScheme::m_name

it's name

Definition at line 143 of file ControlBarScheme.h.

◆ m_optionsButtonDisabled

Image* ControlBarScheme::m_optionsButtonDisabled

Definition at line 160 of file ControlBarScheme.h.

◆ m_optionsButtonEnable

Image* ControlBarScheme::m_optionsButtonEnable

Definition at line 157 of file ControlBarScheme.h.

◆ m_optionsButtonHightlited

Image* ControlBarScheme::m_optionsButtonHightlited

Definition at line 158 of file ControlBarScheme.h.

◆ m_optionsButtonPushed

Image* ControlBarScheme::m_optionsButtonPushed

Definition at line 159 of file ControlBarScheme.h.

◆ m_optionsLR

ICoord2D ControlBarScheme::m_optionsLR

Definition at line 216 of file ControlBarScheme.h.

◆ m_optionsUL

ICoord2D ControlBarScheme::m_optionsUL

Definition at line 215 of file ControlBarScheme.h.

◆ m_powerBarLR

ICoord2D ControlBarScheme::m_powerBarLR

Definition at line 228 of file ControlBarScheme.h.

◆ m_powerBarUL

ICoord2D ControlBarScheme::m_powerBarUL

Definition at line 227 of file ControlBarScheme.h.

◆ m_powerPurchaseImage

Image* ControlBarScheme::m_powerPurchaseImage

Definition at line 238 of file ControlBarScheme.h.

◆ m_rightHUDImage

Image* ControlBarScheme::m_rightHUDImage

We'll probably want each one to have it's own right HUD image.

Definition at line 147 of file ControlBarScheme.h.

◆ m_ScreenCreationRes

ICoord2D ControlBarScheme::m_ScreenCreationRes

Used to determine what screen res this will look the best on.

Definition at line 144 of file ControlBarScheme.h.

◆ m_side

AsciiString ControlBarScheme::m_side

contain what faction type this command bar was made for (used when selecting command bar by template

Definition at line 145 of file ControlBarScheme.h.

◆ m_toggleButtonDownIn

Image* ControlBarScheme::m_toggleButtonDownIn

Definition at line 183 of file ControlBarScheme.h.

◆ m_toggleButtonDownOn

Image* ControlBarScheme::m_toggleButtonDownOn

Definition at line 184 of file ControlBarScheme.h.

◆ m_toggleButtonDownPushed

Image* ControlBarScheme::m_toggleButtonDownPushed

Definition at line 185 of file ControlBarScheme.h.

◆ m_toggleButtonUpIn

Image* ControlBarScheme::m_toggleButtonUpIn

Definition at line 180 of file ControlBarScheme.h.

◆ m_toggleButtonUpOn

Image* ControlBarScheme::m_toggleButtonUpOn

Definition at line 181 of file ControlBarScheme.h.

◆ m_toggleButtonUpPushed

Image* ControlBarScheme::m_toggleButtonUpPushed

Definition at line 182 of file ControlBarScheme.h.

◆ m_uAttackButtonEnable

Image* ControlBarScheme::m_uAttackButtonEnable

Definition at line 192 of file ControlBarScheme.h.

◆ m_uAttackButtonHightlited

Image* ControlBarScheme::m_uAttackButtonHightlited

Definition at line 193 of file ControlBarScheme.h.

◆ m_uAttackButtonPushed

Image* ControlBarScheme::m_uAttackButtonPushed

Definition at line 194 of file ControlBarScheme.h.

◆ m_uAttackLR

ICoord2D ControlBarScheme::m_uAttackLR

Definition at line 213 of file ControlBarScheme.h.

◆ m_uAttackUL

ICoord2D ControlBarScheme::m_uAttackUL

Definition at line 212 of file ControlBarScheme.h.

◆ m_workerLR

ICoord2D ControlBarScheme::m_workerLR

Definition at line 219 of file ControlBarScheme.h.

◆ m_workerUL

ICoord2D ControlBarScheme::m_workerUL

Definition at line 218 of file ControlBarScheme.h.


The documentation for this class was generated from the following files: