mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 08:15:44 +00:00
Move slider to core and add opacity slider to console gui
This commit is contained in:
parent
f68d72f356
commit
1e0d5bcfd7
3 changed files with 33 additions and 0 deletions
|
|
@ -140,6 +140,29 @@
|
||||||
canSave = "1";
|
canSave = "1";
|
||||||
canSaveDynamicFields = "0";
|
canSaveDynamicFields = "0";
|
||||||
};
|
};
|
||||||
|
new GuiSliderCtrl(ConsoleDlgBgAlphaSlider) {
|
||||||
|
range = "0 1";
|
||||||
|
ticks = "10";
|
||||||
|
snap = "0";
|
||||||
|
value = "0.65";
|
||||||
|
useFillBar = "0";
|
||||||
|
fillBarColor = "255 255 255 255";
|
||||||
|
renderTicks = "1";
|
||||||
|
position = "361 4";
|
||||||
|
extent = "106 14";
|
||||||
|
minExtent = "8 2";
|
||||||
|
horizSizing = "right";
|
||||||
|
vertSizing = "bottom";
|
||||||
|
profile = "GuiSliderProfile";
|
||||||
|
visible = "1";
|
||||||
|
active = "1";
|
||||||
|
command = "ConsoleDlg::setalpha(ConsoleDlgBgAlphaSlider, ConsoleDlgBgAlphaSlider.value);";
|
||||||
|
tooltipProfile = "GuiToolTipProfile";
|
||||||
|
hovertime = "1000";
|
||||||
|
isContainer = "0";
|
||||||
|
canSave = "1";
|
||||||
|
canSaveDynamicFields = "0";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
new GuiScrollCtrl() {
|
new GuiScrollCtrl() {
|
||||||
willFirstRespond = "1";
|
willFirstRespond = "1";
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 908 B After Width: | Height: | Size: 908 B |
|
|
@ -224,3 +224,13 @@ new GuiControlProfile( GuiButtonProfile )
|
||||||
hasBitmapArray = false;
|
hasBitmapArray = false;
|
||||||
category = "Core";
|
category = "Core";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// Slider control
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
if( !isObject( GuiSliderProfile ) )
|
||||||
|
new GuiControlProfile( GuiSliderProfile )
|
||||||
|
{
|
||||||
|
bitmap = "core/gui/images/slider";
|
||||||
|
category = "Core";
|
||||||
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue