mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-20 20:05:33 +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
|
|
@ -124,6 +124,8 @@ class GuiWindowCtrl : public GuiContainer
|
|||
|
||||
bool mCanDock; ///< Show a docking button on the title bar?
|
||||
bool mEdgeSnap; ///< Should this window snap to other windows edges?
|
||||
|
||||
Point2I mButtonOffset;
|
||||
|
||||
/// @}
|
||||
|
||||
|
|
@ -202,6 +204,7 @@ class GuiWindowCtrl : public GuiContainer
|
|||
DECLARE_CALLBACK( void, onCollapse, () );
|
||||
DECLARE_CALLBACK( void, onRestore, () );
|
||||
DECLARE_CALLBACK(void, onResize, (S32 posX, S32 posY, S32 width, S32 height));
|
||||
DECLARE_CALLBACK(void, onMouseDragged, ());
|
||||
|
||||
/// @}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue