mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
From Nils' UI work
Adds ability to control button margin of IconButtons Adds ability to define button offset of window controls Add mouse drag callback for window controls Tweaks colors of gui slider control Tweak to line split for text edit slider bitmap control Tweaks to colors for text edit slider control Tweaks to colors for Edit control Tweaks to default menubar height
This commit is contained in:
parent
a445a43646
commit
d0f914b3e6
9 changed files with 53 additions and 24 deletions
|
|
@ -415,7 +415,7 @@ void GuiTextEditSliderBitmapCtrl::onRender(Point2I offset, const RectI &updateRe
|
|||
|
||||
// Draw the line that splits the number and bitmaps
|
||||
GFX->getDrawUtil()->drawLine(Point2I(offset.x + getWidth() - 14 -2, offset.y + 1 ),
|
||||
Point2I(arrowUpStart.x -2, arrowUpStart.y + getExtent().y),
|
||||
Point2I(arrowUpStart.x -2, arrowUpStart.y + getExtent().y + 2),
|
||||
mProfile->mBorderColor);
|
||||
|
||||
GFX->getDrawUtil()->clearBitmapModulation();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue