mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-05 13:30:34 +00:00
248 lines
7.3 KiB
Text
248 lines
7.3 KiB
Text
|
|
//--- OBJECT WRITE BEGIN ---
|
||
|
|
%guiContent = new GuiControl(OptionsMenu) {
|
||
|
|
position = "0 0";
|
||
|
|
extent = "1024 768";
|
||
|
|
minExtent = "8 2";
|
||
|
|
horizSizing = "right";
|
||
|
|
vertSizing = "bottom";
|
||
|
|
profile = "GuiDefaultProfile";
|
||
|
|
visible = "1";
|
||
|
|
active = "1";
|
||
|
|
tooltipProfile = "GuiToolTipProfile";
|
||
|
|
hovertime = "1000";
|
||
|
|
isContainer = "1";
|
||
|
|
canSave = "1";
|
||
|
|
canSaveDynamicFields = "1";
|
||
|
|
returnGui = "MainMenuGui";
|
||
|
|
tamlReader = "20077";
|
||
|
|
tile = "0";
|
||
|
|
useVariable = "0";
|
||
|
|
|
||
|
|
new GuiControl() {
|
||
|
|
position = "86 70";
|
||
|
|
extent = "846 618";
|
||
|
|
minExtent = "8 2";
|
||
|
|
horizSizing = "center";
|
||
|
|
vertSizing = "center";
|
||
|
|
profile = "GuiDefaultProfile";
|
||
|
|
visible = "1";
|
||
|
|
active = "1";
|
||
|
|
tooltipProfile = "GuiToolTipProfile";
|
||
|
|
hovertime = "1000";
|
||
|
|
isContainer = "1";
|
||
|
|
canSave = "1";
|
||
|
|
canSaveDynamicFields = "0";
|
||
|
|
|
||
|
|
new GuiBitmapCtrl() {
|
||
|
|
bitmap = "data/ui/images/hudfill.png";
|
||
|
|
color = "255 255 255 255";
|
||
|
|
wrap = "0";
|
||
|
|
position = "0 0";
|
||
|
|
extent = "846 618";
|
||
|
|
minExtent = "8 2";
|
||
|
|
horizSizing = "width";
|
||
|
|
vertSizing = "height";
|
||
|
|
profile = "GuiDefaultProfile";
|
||
|
|
visible = "1";
|
||
|
|
active = "1";
|
||
|
|
tooltipProfile = "GuiToolTipProfile";
|
||
|
|
hovertime = "1000";
|
||
|
|
isContainer = "0";
|
||
|
|
canSave = "1";
|
||
|
|
canSaveDynamicFields = "0";
|
||
|
|
};
|
||
|
|
new GuiControl() {
|
||
|
|
position = "0 0";
|
||
|
|
extent = "846 20";
|
||
|
|
minExtent = "8 2";
|
||
|
|
horizSizing = "width";
|
||
|
|
vertSizing = "bottom";
|
||
|
|
profile = "GuiDefaultProfile";
|
||
|
|
visible = "1";
|
||
|
|
active = "1";
|
||
|
|
tooltipProfile = "GuiToolTipProfile";
|
||
|
|
hovertime = "1000";
|
||
|
|
isContainer = "1";
|
||
|
|
canSave = "1";
|
||
|
|
canSaveDynamicFields = "0";
|
||
|
|
|
||
|
|
new GuiBitmapCtrl() {
|
||
|
|
bitmap = "data/ui/images/hudfill.png";
|
||
|
|
color = "255 255 255 255";
|
||
|
|
wrap = "0";
|
||
|
|
position = "0 0";
|
||
|
|
extent = "846 20";
|
||
|
|
minExtent = "8 2";
|
||
|
|
horizSizing = "width";
|
||
|
|
vertSizing = "height";
|
||
|
|
profile = "GuiDefaultProfile";
|
||
|
|
visible = "1";
|
||
|
|
active = "1";
|
||
|
|
tooltipProfile = "GuiToolTipProfile";
|
||
|
|
hovertime = "1000";
|
||
|
|
isContainer = "0";
|
||
|
|
canSave = "1";
|
||
|
|
canSaveDynamicFields = "0";
|
||
|
|
};
|
||
|
|
new GuiTextCtrl() {
|
||
|
|
text = "Options";
|
||
|
|
maxLength = "1024";
|
||
|
|
margin = "0 0 0 0";
|
||
|
|
padding = "0 0 0 0";
|
||
|
|
anchorTop = "1";
|
||
|
|
anchorBottom = "0";
|
||
|
|
anchorLeft = "1";
|
||
|
|
anchorRight = "0";
|
||
|
|
position = "0 0";
|
||
|
|
extent = "846 20";
|
||
|
|
minExtent = "8 2";
|
||
|
|
horizSizing = "width";
|
||
|
|
vertSizing = "bottom";
|
||
|
|
profile = "GuiMenuButtonProfile";
|
||
|
|
visible = "1";
|
||
|
|
active = "1";
|
||
|
|
tooltipProfile = "GuiToolTipProfile";
|
||
|
|
hovertime = "1000";
|
||
|
|
isContainer = "1";
|
||
|
|
canSave = "1";
|
||
|
|
canSaveDynamicFields = "0";
|
||
|
|
};
|
||
|
|
};
|
||
|
|
new GuiScrollCtrl() {
|
||
|
|
willFirstRespond = "1";
|
||
|
|
hScrollBar = "alwaysOff";
|
||
|
|
vScrollBar = "dynamic";
|
||
|
|
lockHorizScroll = "0";
|
||
|
|
lockVertScroll = "0";
|
||
|
|
constantThumbHeight = "0";
|
||
|
|
childMargin = "0 0";
|
||
|
|
mouseWheelScrollSpeed = "-1";
|
||
|
|
margin = "0 0 0 0";
|
||
|
|
padding = "0 0 0 0";
|
||
|
|
anchorTop = "1";
|
||
|
|
anchorBottom = "0";
|
||
|
|
anchorLeft = "1";
|
||
|
|
anchorRight = "0";
|
||
|
|
position = "0 25";
|
||
|
|
extent = "846 522";
|
||
|
|
minExtent = "8 2";
|
||
|
|
horizSizing = "width";
|
||
|
|
vertSizing = "height";
|
||
|
|
profile = "GuiScrollProfile";
|
||
|
|
visible = "1";
|
||
|
|
active = "1";
|
||
|
|
tooltipProfile = "GuiToolTipProfile";
|
||
|
|
hovertime = "1000";
|
||
|
|
isContainer = "1";
|
||
|
|
canSave = "1";
|
||
|
|
canSaveDynamicFields = "0";
|
||
|
|
|
||
|
|
new GuiStackControl(OptionsSettingStack) {
|
||
|
|
stackingType = "Vertical";
|
||
|
|
horizStacking = "Left to Right";
|
||
|
|
vertStacking = "Top to Bottom";
|
||
|
|
padding = "0";
|
||
|
|
dynamicSize = "1";
|
||
|
|
dynamicNonStackExtent = "0";
|
||
|
|
dynamicPos = "0";
|
||
|
|
changeChildSizeToFit = "1";
|
||
|
|
changeChildPosition = "1";
|
||
|
|
position = "1 1";
|
||
|
|
extent = "846 210";
|
||
|
|
minExtent = "16 16";
|
||
|
|
horizSizing = "width";
|
||
|
|
vertSizing = "bottom";
|
||
|
|
profile = "GuiDefaultProfile";
|
||
|
|
visible = "1";
|
||
|
|
active = "1";
|
||
|
|
tooltipProfile = "GuiToolTipProfile";
|
||
|
|
hovertime = "1000";
|
||
|
|
isContainer = "1";
|
||
|
|
canSave = "1";
|
||
|
|
canSaveDynamicFields = "0";
|
||
|
|
};
|
||
|
|
};
|
||
|
|
new GuiMLTextCtrl() {
|
||
|
|
lineSpacing = "2";
|
||
|
|
allowColorChars = "0";
|
||
|
|
maxChars = "-1";
|
||
|
|
text = "This is a test message to act as a tooltip for any selected options menus for more information on the given option.";
|
||
|
|
useURLMouseCursor = "0";
|
||
|
|
position = "0 547";
|
||
|
|
extent = "847 14";
|
||
|
|
minExtent = "8 2";
|
||
|
|
horizSizing = "width";
|
||
|
|
vertSizing = "top";
|
||
|
|
profile = "GuiMLWhiteTextProfile";
|
||
|
|
visible = "1";
|
||
|
|
active = "1";
|
||
|
|
tooltipProfile = "GuiToolTipProfile";
|
||
|
|
hovertime = "1000";
|
||
|
|
isContainer = "0";
|
||
|
|
canSave = "1";
|
||
|
|
canSaveDynamicFields = "0";
|
||
|
|
};
|
||
|
|
new GuiButtonCtrl() {
|
||
|
|
class="OptionsMenuOKButton";
|
||
|
|
text = "OK";
|
||
|
|
groupNum = "-1";
|
||
|
|
buttonType = "PushButton";
|
||
|
|
useMouseEvents = "0";
|
||
|
|
position = "0 581";
|
||
|
|
extent = "282 37";
|
||
|
|
minExtent = "8 2";
|
||
|
|
horizSizing = "right";
|
||
|
|
vertSizing = "top";
|
||
|
|
profile = "GuiMenuButtonProfile";
|
||
|
|
visible = "1";
|
||
|
|
active = "1";
|
||
|
|
tooltipProfile = "GuiToolTipProfile";
|
||
|
|
hovertime = "1000";
|
||
|
|
isContainer = "0";
|
||
|
|
canSave = "1";
|
||
|
|
canSaveDynamicFields = "0";
|
||
|
|
};
|
||
|
|
new GuiButtonCtrl() {
|
||
|
|
class="OptionsMenuDefaultsButton";
|
||
|
|
text = "Defaults";
|
||
|
|
groupNum = "-1";
|
||
|
|
buttonType = "PushButton";
|
||
|
|
useMouseEvents = "0";
|
||
|
|
position = "282 581";
|
||
|
|
extent = "282 37";
|
||
|
|
minExtent = "8 2";
|
||
|
|
horizSizing = "relative";
|
||
|
|
vertSizing = "top";
|
||
|
|
profile = "GuiMenuButtonProfile";
|
||
|
|
visible = "1";
|
||
|
|
active = "1";
|
||
|
|
tooltipProfile = "GuiToolTipProfile";
|
||
|
|
hovertime = "1000";
|
||
|
|
isContainer = "0";
|
||
|
|
canSave = "1";
|
||
|
|
canSaveDynamicFields = "0";
|
||
|
|
};
|
||
|
|
new GuiButtonCtrl() {
|
||
|
|
class="OptionsMenuCancelButton";
|
||
|
|
text = "Cancel";
|
||
|
|
groupNum = "-1";
|
||
|
|
buttonType = "PushButton";
|
||
|
|
useMouseEvents = "0";
|
||
|
|
position = "564 581";
|
||
|
|
extent = "282 37";
|
||
|
|
minExtent = "8 2";
|
||
|
|
horizSizing = "left";
|
||
|
|
vertSizing = "height";
|
||
|
|
profile = "GuiMenuButtonProfile";
|
||
|
|
visible = "1";
|
||
|
|
active = "1";
|
||
|
|
tooltipProfile = "GuiToolTipProfile";
|
||
|
|
hovertime = "1000";
|
||
|
|
isContainer = "0";
|
||
|
|
canSave = "1";
|
||
|
|
canSaveDynamicFields = "0";
|
||
|
|
};
|
||
|
|
};
|
||
|
|
};
|
||
|
|
//--- OBJECT WRITE END ---
|