mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Changes for BaseUI Update
This commit is contained in:
parent
90951b3cc8
commit
ed36cf2c5c
20 changed files with 156 additions and 45 deletions
|
|
@ -99,7 +99,7 @@ bool GuiGradientSwatchCtrl::onWake()
|
|||
|
||||
void GuiGradientSwatchCtrl::onRender( Point2I offset, const RectI &updateRect )
|
||||
{
|
||||
bool highlight = mMouseOver;
|
||||
bool highlight = mHighlighted;
|
||||
|
||||
ColorI borderColor = mActive ? ( highlight ? mProfile->mBorderColorHL : mProfile->mBorderColor ) : mProfile->mBorderColorNA;
|
||||
RectI renderRect( offset, getExtent() );
|
||||
|
|
@ -632,4 +632,4 @@ DefineEngineMethod(GuiGradientCtrl, getColor, LinearColorF, (S32 idx), , "Get co
|
|||
}
|
||||
|
||||
return LinearColorF::ONE;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue