Tools GuiProfile Separation.

This effectively duplicates (where necessary) and moves tools specific GuiProfiles out of the core and into the tools.  This will allow future modifications to either the game guis or tools guis that use these profiles to not conflict with each other.
This commit is contained in:
thecelloman 2013-03-18 06:38:48 -04:00
parent 17c750b19a
commit ceff8d72e0
375 changed files with 8124 additions and 8134 deletions

View file

@ -12,7 +12,7 @@
canSave = "1";
isDecoy = "0";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
Docking = "None";
Margin = "0 0 0 0";
@ -45,7 +45,7 @@
canSaveDynamicFields = "0";
Enabled = "1";
isContainer = "1";
Profile = "GuiWindowProfile";
Profile = "ToolsGuiWindowProfile";
HorizSizing = "windowRelative";
VertSizing = "windowRelative";
Position = getWord($pref::Video::mode, 0) - 209
@ -55,7 +55,7 @@
canSave = "1";
isDecoy = "0";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
Margin = "0 0 0 0";
Padding = "0 0 0 0";
@ -79,7 +79,7 @@
internalName = "LockSelection";
Enabled = "1";
isContainer = "0";
Profile = "GuiButtonProfile";
Profile = "ToolsGuiButtonProfile";
HorizSizing = "left";
VertSizing = "top";
Position = "167 148";
@ -88,7 +88,7 @@
canSave = "1";
Visible = "1";
Command = "EWorldEditor.lockSelection(true); EditorTree.toggleLock();";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
ToolTip = "World Editor";
hovertime = "1000";
bitmap = "tools/gui/images/lock";
@ -103,7 +103,7 @@
internalName = "DeleteSelection";
Enabled = "1";
isContainer = "0";
Profile = "GuiButtonProfile";
Profile = "ToolsGuiButtonProfile";
HorizSizing = "left";
VertSizing = "top";
Position = "185 148";
@ -112,7 +112,7 @@
canSave = "1";
Visible = "1";
Command = "EditorMenuEditDelete();";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
ToolTip = "World Editor";
hovertime = "1000";
bitmap = "tools/gui/images/delete";
@ -123,7 +123,7 @@
};
*/
new GuiContainer(){
profile = GuiDefaultProfile;
profile = "ToolsGuiDefaultProfile";
Position = "5 25";
Extent = "200 120";
Docking = "Client";
@ -145,7 +145,7 @@
canSave = "1";
isDecoy = "0";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
Docking = "Client";
Margin = "0 0 0 0";
@ -167,7 +167,7 @@
canSaveDynamicFields = "0";
Enabled = "1";
isContainer = "1";
Profile = "GuiTreeViewProfile";
Profile = "ToolsGuiTreeViewProfile";
HorizSizing = "right";
VertSizing = "bottom";
Position = "1 1";
@ -196,7 +196,7 @@
canSaveDynamicFields = "0";
Enabled = "1";
isContainer = "1";
Profile = "GuiWindowProfile";
Profile = "ToolsGuiWindowProfile";
HorizSizing = "windowRelative";
VertSizing = "windowRelative";
Position = getWord($pref::Video::mode, 0) - 209 SPC
@ -205,7 +205,7 @@
MinExtent = "210 298";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
Margin = "0 0 0 0";
Padding = "0 0 0 0";
@ -234,7 +234,7 @@
Margin = "3 3 3 3";
new GuiTextCtrl(){
Profile = "GuiDefaultProfile";
Profile = "ToolsGuiDefaultProfile";
HorizSizing = "right";
VertSizing = "bottom";
Position = "5 0";
@ -243,7 +243,7 @@
};
new GuiTextCtrl(){
Profile = "GuiTextRightProfile";
Profile = "ToolsGuiTextRightProfile";
HorizSizing = "right";
VertSizing = "bottom";
Position = "7 21";
@ -252,7 +252,7 @@
};
new GuiTextEditCtrl(){
internalName = "position";
Profile = "GuiTextEditProfile";
Profile = "ToolsGuiTextEditProfile";
HorizSizing = "width";
VertSizing = "bottom";
Position = "57 21";
@ -261,7 +261,7 @@
AltCommand = "RoadEditorGui.editNodeDetails();";
};
new GuiTextCtrl(){
Profile = "GuiTextRightProfile";
Profile = "ToolsGuiTextRightProfile";
HorizSizing = "right";
VertSizing = "bottom";
Position = "7 42";
@ -270,7 +270,7 @@
};
new GuiTextEditCtrl(){
internalName = "width";
Profile = "GuiTextEditProfile";
Profile = "ToolsGuiTextEditProfile";
HorizSizing = "width";
VertSizing = "bottom";
Position = "57 42";
@ -290,7 +290,7 @@
Margin = "0 0 3 3";
new GuiTextCtrl(){
Profile = "GuiDefaultProfile";
Profile = "ToolsGuiDefaultProfile";
HorizSizing = "right";
VertSizing = "bottom";
Position = "5 0";
@ -300,7 +300,7 @@
};
new GuiContainer(){
profile = GuiDefaultProfile;
profile = ToolsGuiDefaultProfile;
Position = "4 108";
Extent = "202 377";
HorizSizing = "width";
@ -321,7 +321,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
Margin = "0 0 0 0";
Padding = "0 0 0 0";
@ -345,7 +345,7 @@
canSaveDynamicFields = "0";
Enabled = "1";
isContainer = "1";
Profile = "GuiTransparentProfile";
Profile = "ToolsGuiTransparentProfile";
HorizSizing = "width";
VertSizing = "height";
Position = "0 0";
@ -354,7 +354,7 @@
canSave = "1";
isDecoy = "0";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
dividerMargin = "5";
groupFilters = "+SimBase,+DecalRoad";
@ -373,7 +373,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
lineSpacing = "2";
allowColorChars = "0";

View file

@ -1,7 +1,7 @@
//--- OBJECT WRITE BEGIN ---
%guiContent = new GuiControl(RoadEditorSettingsTab,EditorGuiGroup) {
isContainer = "1";
Profile = "GuiDefaultProfile";
Profile = "ToolsGuiDefaultProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "0 0";
@ -9,7 +9,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "1";
@ -24,7 +24,7 @@
AnchorLeft = "1";
AnchorRight = "0";
isContainer = "1";
Profile = "GuiSolidDefaultProfile";
Profile = "ToolsGuiSolidDefaultProfile";
HorizSizing = "width";
VertSizing = "height";
position = "0 0";
@ -32,7 +32,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "1";
@ -52,7 +52,7 @@
AnchorLeft = "1";
AnchorRight = "0";
isContainer = "1";
Profile = "GuiScrollProfile";
Profile = "ToolsGuiScrollProfile";
HorizSizing = "width";
VertSizing = "height";
position = "0 0";
@ -60,7 +60,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "0";
@ -70,7 +70,7 @@
VertStacking = "Top to Bottom";
Padding = "0";
isContainer = "1";
Profile = "GuiDefaultProfile";
Profile = "ToolsGuiDefaultProfile";
HorizSizing = "width";
VertSizing = "bottom";
position = "1 1";
@ -79,7 +79,7 @@
canSave = "1";
isDecoy = "0";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
new GuiRolloutCtrl() {
@ -99,7 +99,7 @@
VertStacking = "Top to Bottom";
Padding = "0";
isContainer = "1";
Profile = "GuiDefaultProfile";
Profile = "ToolsGuiDefaultProfile";
HorizSizing = "width";
VertSizing = "bottom";
position = "0 0";
@ -108,7 +108,7 @@
canSave = "1";
isDecoy = "0";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
padding = "3";
@ -128,7 +128,7 @@
AnchorLeft = "1";
AnchorRight = "0";
isContainer = "0";
Profile = "GuiTextRightProfile";
Profile = "ToolsGuiTextRightProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "5 1";
@ -136,7 +136,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "0";
};
@ -154,7 +154,7 @@
AnchorLeft = "1";
AnchorRight = "0";
isContainer = "0";
Profile = "GuiTextEditNumericProfile";
Profile = "ToolsGuiNumericTextEditProfile";
HorizSizing = "width";
VertSizing = "bottom";
position = "81 0";
@ -162,7 +162,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "1";
class = "ESettingsWindowTextEdit";
@ -188,7 +188,7 @@
AnchorLeft = "1";
AnchorRight = "0";
isContainer = "0";
Profile = "GuiTextRightProfile";
Profile = "ToolsGuiTextRightProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "5 1";
@ -196,7 +196,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "0";
};
@ -214,7 +214,7 @@
AnchorLeft = "1";
AnchorRight = "0";
isContainer = "0";
Profile = "GuiTextEditProfile";
Profile = "ToolsGuiTextEditProfile";
HorizSizing = "width";
VertSizing = "bottom";
position = "81 0";
@ -222,7 +222,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "1";
class = "ESettingsWindowTextEdit";
@ -251,7 +251,7 @@
VertStacking = "Top to Bottom";
Padding = "0";
isContainer = "1";
Profile = "GuiDefaultProfile";
Profile = "ToolsGuiDefaultProfile";
HorizSizing = "width";
VertSizing = "bottom";
position = "0 0";
@ -260,13 +260,13 @@
canSave = "1";
isDecoy = "0";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
padding = "3";
new GuiControl() {
isContainer = "1";
Profile = "GuiDefaultProfile";
Profile = "ToolsGuiDefaultProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "5 10";
@ -274,7 +274,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "1";
class = "ESettingsWindowColor";
@ -293,7 +293,7 @@
AnchorLeft = "1";
AnchorRight = "0";
isContainer = "0";
Profile = "GuiTextRightProfile";
Profile = "ToolsGuiTextRightProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "0 1";
@ -301,7 +301,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "1";
};
@ -319,7 +319,7 @@
AnchorLeft = "1";
AnchorRight = "0";
isContainer = "0";
Profile = "GuiTextEditProfile";
Profile = "ToolsGuiTextEditProfile";
HorizSizing = "width";
VertSizing = "bottom";
position = "80 0";
@ -327,7 +327,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
internalName = "ColorEdit";
canSaveDynamicFields = "1";
@ -340,7 +340,7 @@
buttonType = "PushButton";
useMouseEvents = "0";
isContainer = "0";
Profile = "GuiDefaultProfile";
Profile = "ToolsGuiDefaultProfile";
horizSizing = "left";
vertSizing = "bottom";
position = "188 2";
@ -348,7 +348,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
internalName = "ColorButton";
canSaveDynamicFields = "1";
@ -358,7 +358,7 @@
};
new GuiControl() {
isContainer = "1";
Profile = "GuiDefaultProfile";
Profile = "ToolsGuiDefaultProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "5 30";
@ -366,7 +366,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "1";
class = "ESettingsWindowColor";
@ -385,7 +385,7 @@
AnchorLeft = "1";
AnchorRight = "0";
isContainer = "0";
Profile = "GuiTextRightProfile";
Profile = "ToolsGuiTextRightProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "0 1";
@ -393,7 +393,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "1";
};
@ -411,7 +411,7 @@
AnchorLeft = "1";
AnchorRight = "0";
isContainer = "0";
Profile = "GuiTextEditProfile";
Profile = "ToolsGuiTextEditProfile";
HorizSizing = "width";
VertSizing = "bottom";
position = "80 0";
@ -419,7 +419,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
internalName = "ColorEdit";
canSaveDynamicFields = "1";
@ -432,7 +432,7 @@
buttonType = "PushButton";
useMouseEvents = "0";
isContainer = "0";
Profile = "GuiDefaultProfile";
Profile = "ToolsGuiDefaultProfile";
horizSizing = "left";
vertSizing = "bottom";
position = "188 2";
@ -440,7 +440,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
internalName = "ColorButton";
canSaveDynamicFields = "1";

View file

@ -3,7 +3,7 @@
internalName = "RoadEditorToolbar";
Enabled = "1";
isContainer = "1";
Profile = "GuiDefaultProfile";
Profile = "ToolsGuiDefaultProfile";
HorizSizing = "right";
VertSizing = "bottom";
Position = "306 0";
@ -14,7 +14,7 @@
hovertime = "1000";
new GuiTextCtrl() {
profile = "GuiTextProfile";
profile = "ToolsGuiTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "6 6";
@ -39,7 +39,7 @@
canSaveDynamicFields = "0";
Enabled = "1";
isContainer = "0";
Profile = "GuiDefaultProfile";
Profile = "ToolsGuiDefaultProfile";
HorizSizing = "right";
VertSizing = "bottom";
Position = "167 3";
@ -49,7 +49,7 @@
isDecoy = "0";
Visible = "1";
Variable = "$DecalRoad::showSpline";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
toolTip = "Show Spline";
bitmap = "tools/worldEditor/images/road-river/menubar/show-spline";
@ -62,7 +62,7 @@
canSaveDynamicFields = "0";
Enabled = "1";
isContainer = "0";
Profile = "GuiDefaultProfile";
Profile = "ToolsGuiDefaultProfile";
HorizSizing = "right";
VertSizing = "bottom";
Position = "253 3";
@ -72,7 +72,7 @@
isDecoy = "0";
Visible = "1";
Variable = "$DecalRoad::wireframe";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
toolTip = "Show Wireframe";
bitmap = "tools/worldEditor/images/road-river/menubar/show-wireframe";
@ -95,7 +95,7 @@
isDecoy = "0";
Visible = "1";
Variable = "$DecalRoad::showRoad";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
toolTip = "Show Road Texture";
bitmap = "tools/worldEditor/images/road-river/menubar/show-texture";
@ -108,7 +108,7 @@
new GuiControl(RoadDefaultWidthTextEditContainer) {
canSaveDynamicFields = "0";
isContainer = "1";
Profile = "GuiTransparentProfile";
Profile = "ToolsGuiTransparentProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "197 5";
@ -122,7 +122,7 @@
canSaveDynamicFields = "0";
Enabled = "1";
isContainer = "0";
Profile = "GuiTextProfile";
Profile = "ToolsGuiTextProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "0 6";
@ -144,7 +144,7 @@
canSaveDynamicFields = "0";
internalName = "textEdit";
isContainer = "0";
profile="GuiNumericDropSliderTextProfile";
profile="ToolsGuiNumericDropSliderTextProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "67 2";
@ -165,7 +165,7 @@
canSaveDynamicFields = "0";
Enabled = "1";
isContainer = "0";
Profile = "GuiDefaultProfile";
Profile = "ToolsGuiDefaultProfile";
HorizSizing = "right";
VertSizing = "bottom";
Position = "101 2";
@ -174,20 +174,20 @@
canSave = "1";
Visible = "1";
Command = "Canvas.pushDialog(RoadDefaultWidthSliderCtrlContainer);";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
ToolTip = "Changes Default Road Width";
hovertime = "750";
groupNum = "-1";
buttonType = "PushButton";
useMouseEvents = "0";
bitmap = "core/art/gui/images/dropslider";
bitmap = "tools/gui/images/dropslider";
};
};
/*new GuiTextEditSliderCtrl(RoadEditorDefaultWidthSlider) {
canSaveDynamicFields = "0";
Enabled = "1";
isContainer = "0";
Profile = "GuiTextEditProfile";
Profile = "ToolsGuiTextEditProfile";
HorizSizing = "right";
VertSizing = "bottom";
Position = "429 6";
@ -197,7 +197,7 @@
isDecoy = "0";
Visible = "1";
Command = "RoadEditorGui.DefaultWidth = $ThisControl.getValue();";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
Margin = "0 0 0 0";
Padding = "0 0 0 0";
@ -221,7 +221,7 @@
canSaveDynamicFields = "0";
Enabled = "1";
isContainer = "0";
Profile = "GuiTextProfile";
Profile = "ToolsGuiTextProfile";
HorizSizing = "right";
VertSizing = "bottom";
Position = "347 7";
@ -230,7 +230,7 @@
canSave = "1";
isDecoy = "0";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
Margin = "0 0 0 0";
Padding = "0 0 0 0";
@ -256,7 +256,7 @@ new GuiMouseEventCtrl(RoadDefaultWidthSliderCtrlContainer, EditorGuiGroup) {
canSaveDynamicFields = "0";
internalName = "slider";
isContainer = "0";
Profile = "GuiSliderBoxProfile";
Profile = "ToolsGuiSliderBoxProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = firstWord(RoadDefaultWidthTextEditContainer.position) + firstWord(RoadEditorToolbar.position) + 10 SPC