mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-19 19:35:26 +00:00
Merge branch 'ColorPickerAdvanced' of https://github.com/Azaezel/Torque3D into ColorPickerAdvanced
This commit is contained in:
commit
bc433e7c30
6 changed files with 257 additions and 276 deletions
|
|
@ -269,6 +269,7 @@ GuiControlProfile::GuiControlProfile(void) :
|
|||
mFillColor(255,0,255,255),
|
||||
mFillColorHL(255,0,255,255),
|
||||
mFillColorNA(255,0,255,255),
|
||||
mFillColorERR(255,0,0,255),
|
||||
mFillColorSEL(255,0,255,255),
|
||||
mBorderColor(255,0,255,255),
|
||||
mBorderColorHL(255,0,255,255),
|
||||
|
|
@ -334,6 +335,7 @@ GuiControlProfile::GuiControlProfile(void) :
|
|||
mFillColor = def->mFillColor;
|
||||
mFillColorHL = def->mFillColorHL;
|
||||
mFillColorNA = def->mFillColorNA;
|
||||
mFillColorERR = def->mFillColorERR;
|
||||
mFillColorSEL = def->mFillColorSEL;
|
||||
|
||||
mBorder = def->mBorder;
|
||||
|
|
@ -398,6 +400,7 @@ void GuiControlProfile::initPersistFields()
|
|||
addField("fillColor", TypeColorI, Offset(mFillColor, GuiControlProfile));
|
||||
addField("fillColorHL", TypeColorI, Offset(mFillColorHL, GuiControlProfile));
|
||||
addField("fillColorNA", TypeColorI, Offset(mFillColorNA, GuiControlProfile));
|
||||
addField("fillColorERR", TypeColorI, Offset(mFillColorERR, GuiControlProfile));
|
||||
addField("fillColorSEL", TypeColorI, Offset(mFillColorSEL, GuiControlProfile));
|
||||
addField("border", TypeS32, Offset(mBorder, GuiControlProfile),
|
||||
"Border type (0=no border)." );
|
||||
|
|
|
|||
|
|
@ -385,6 +385,7 @@ public:
|
|||
ColorI mFillColor; ///< Fill color, this is used to fill the bounds of the control if it is opaque
|
||||
ColorI mFillColorHL; ///< This is used instead of mFillColor if the object is highlighted
|
||||
ColorI mFillColorNA; ///< This is used instead of mFillColor if the object is not active or disabled
|
||||
ColorI mFillColorERR; ///< This is used instead of mFillColor if the object has an error or is invalid
|
||||
ColorI mFillColorSEL; ///< This is used instead of mFillColor if the object is selected
|
||||
|
||||
S32 mBorder; ///< For most controls, if mBorder is > 0 a border will be drawn, some controls use this to draw different types of borders however @see guiDefaultControlRender.cc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue