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

@ -1,7 +1,7 @@
//--- OBJECT WRITE BEGIN ---
%guiContent = new GuiControl(ForestEditToolbar,EditorGuiGroup) {
isContainer = "1";
Profile = "GuiDefaultProfile";
Profile = "ToolsGuiDefaultProfile";
HorizSizing = "right";
VertSizing = "bottom";
Position = "306 0";
@ -9,7 +9,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
internalName = "ForestEditToolbar";
canSaveDynamicFields = "1";
@ -25,7 +25,7 @@
AnchorLeft = "1";
AnchorRight = "0";
isContainer = "0";
Profile = "GuiTextProfile";
Profile = "ToolsGuiTextProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "6 7";
@ -33,13 +33,13 @@
MinExtent = "8 8";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "0";
};
new GuiControl() {
isContainer = "1";
Profile = "GuiDefaultProfile";
Profile = "ToolsGuiDefaultProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "0 0";
@ -47,13 +47,13 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "0";
new GuiControl(ForestBrushSizeTextEditContainer) {
isContainer = "1";
Profile = "GuiTransparentProfile";
Profile = "ToolsGuiTransparentProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "72 5";
@ -61,7 +61,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "0";
@ -75,7 +75,7 @@
AnchorLeft = "1";
AnchorRight = "0";
isContainer = "0";
Profile = "GuiTextProfile";
Profile = "ToolsGuiTextProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "21 5";
@ -83,7 +83,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "0";
};
@ -102,7 +102,7 @@
AnchorLeft = "1";
AnchorRight = "0";
isContainer = "0";
Profile = "GuiNumericDropSliderTextProfile";
Profile = "ToolsGuiNumericDropSliderTextProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "49 2";
@ -112,18 +112,18 @@
Visible = "1";
AltCommand = "ForestTools->BrushTool.size = $ThisControl.getValue();";
validate = "ForestEditorGui.validateBrushSize();";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
internalName = "textEdit";
canSaveDynamicFields = "0";
};
new GuiBitmapButtonCtrl() {
bitmap = "core/art/gui/images/dropslider";
bitmap = "tools/gui/images/dropslider";
groupNum = "-1";
buttonType = "PushButton";
useMouseEvents = "0";
isContainer = "0";
Profile = "GuiDefaultProfile";
Profile = "ToolsGuiDefaultProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "83 2";
@ -132,17 +132,17 @@
canSave = "1";
Visible = "1";
Command = "Canvas.pushDialog(ForestBrushSizeSliderCtrlContainer);";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
ToolTip = "Changes size of the brush";
hovertime = "750";
canSaveDynamicFields = "0";
};
};
new GuiBitmapCtrl() {
bitmap = "core/art/gui/images/separator-h.png";
bitmap = "tools/gui/images/separator-h.png";
wrap = "0";
isContainer = "0";
Profile = "GuiDefaultProfile";
Profile = "ToolsGuiDefaultProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "200 3";
@ -150,13 +150,13 @@
MinExtent = "1 1";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "0";
};
new GuiControl(ForestBrushPressureTextEditContainer) {
isContainer = "1";
Profile = "GuiTransparentProfile";
Profile = "ToolsGuiTransparentProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "208 5";
@ -164,7 +164,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "0";
@ -178,7 +178,7 @@
AnchorLeft = "1";
AnchorRight = "0";
isContainer = "0";
Profile = "GuiTextProfile";
Profile = "ToolsGuiTextProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "0 5";
@ -186,7 +186,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "0";
};
@ -205,7 +205,7 @@
AnchorLeft = "1";
AnchorRight = "0";
isContainer = "0";
Profile = "GuiNumericDropSliderTextProfile";
Profile = "ToolsGuiNumericDropSliderTextProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "49 2";
@ -214,18 +214,18 @@
canSave = "1";
Visible = "1";
Command = "ForestTools->BrushTool.pressure = $ThisControl.getValue() / 100;";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
internalName = "textEdit";
canSaveDynamicFields = "0";
};
new GuiBitmapButtonCtrl() {
bitmap = "core/art/gui/images/dropslider";
bitmap = "tools/gui/images/dropslider";
groupNum = "-1";
buttonType = "PushButton";
useMouseEvents = "0";
isContainer = "0";
Profile = "GuiDefaultProfile";
Profile = "ToolsGuiDefaultProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "83 2";
@ -234,17 +234,17 @@
canSave = "1";
Visible = "1";
Command = "Canvas.pushDialog(ForestBrushPressureSliderCtrlContainer);";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
ToolTip = "Changes the pressure";
hovertime = "750";
canSaveDynamicFields = "0";
};
};
new GuiBitmapCtrl() {
bitmap = "core/art/gui/images/separator-h.png";
bitmap = "tools/gui/images/separator-h.png";
wrap = "0";
isContainer = "0";
Profile = "GuiDefaultProfile";
Profile = "ToolsGuiDefaultProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "336 3";
@ -252,13 +252,13 @@
MinExtent = "1 1";
canSave = "1";
Visible = "0";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "0";
};
new GuiControl(ForestBrushHardnessTextEditContainer) {
isContainer = "1";
Profile = "GuiTransparentProfile";
Profile = "ToolsGuiTransparentProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "352 5";
@ -266,7 +266,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "0";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "0";
@ -280,7 +280,7 @@
AnchorLeft = "1";
AnchorRight = "0";
isContainer = "0";
Profile = "GuiTextProfile";
Profile = "ToolsGuiTextProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "0 5";
@ -288,7 +288,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "0";
};
@ -307,7 +307,7 @@
AnchorLeft = "1";
AnchorRight = "0";
isContainer = "0";
Profile = "GuiNumericDropSliderTextProfile";
Profile = "ToolsGuiNumericDropSliderTextProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "49 2";
@ -316,18 +316,18 @@
canSave = "1";
Visible = "1";
Command = "ForestTools->BrushTool.hardness = $ThisControl.getValue() / 100);";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
internalName = "textEdit";
canSaveDynamicFields = "0";
};
new GuiBitmapButtonCtrl() {
bitmap = "core/art/gui/images/dropslider";
bitmap = "tools/gui/images/dropslider";
groupNum = "-1";
buttonType = "PushButton";
useMouseEvents = "0";
isContainer = "0";
Profile = "GuiDefaultProfile";
Profile = "ToolsGuiDefaultProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "83 2";
@ -336,7 +336,7 @@
canSave = "1";
Visible = "1";
Command = "Canvas.pushDialog(ForestBrushHardnessSliderCtrlContainer);";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
ToolTip = "Changes the hardness curve.";
hovertime = "750";
canSaveDynamicFields = "0";
@ -359,7 +359,7 @@ new GuiMouseEventCtrl(ForestBrushSizeSliderCtrlContainer,EditorGuiGroup) {
canSaveDynamicFields = "0";
internalName = "slider";
isContainer = "0";
Profile = "GuiSliderBoxProfile";
Profile = "ToolsGuiSliderBoxProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = firstWord(ForestBrushSizeTextEditContainer.position) + firstWord(ForestEditToolbar.position)+11 SPC
@ -389,7 +389,7 @@ new GuiMouseEventCtrl(ForestBrushPressureSliderCtrlContainer,EditorGuiGroup) {
canSaveDynamicFields = "0";
internalName = "slider";
isContainer = "0";
Profile = "GuiSliderBoxProfile";
Profile = "ToolsGuiSliderBoxProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = firstWord(ForestBrushPressureTextEditContainer.position) + firstWord(ForestEditToolbar.position) SPC
@ -419,7 +419,7 @@ new GuiMouseEventCtrl(ForestBrushHardnessSliderCtrlContainer,EditorGuiGroup) {
canSaveDynamicFields = "0";
internalName = "slider";
isContainer = "0";
Profile = "GuiSliderBoxProfile";
Profile = "ToolsGuiSliderBoxProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = firstWord(ForestBrushHardnessTextEditContainer.position) + firstWord(ForestEditToolbar.position) SPC

View file

@ -30,7 +30,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "1";
@ -53,7 +53,7 @@
AnchorLeft = "1";
AnchorRight = "0";
isContainer = "1";
Profile = "GuiWindowCollapseProfile";
Profile = "ToolsGuiWindowCollapseProfile";
HorizSizing = "windowRelative";
VertSizing = "windowRelative";
Position = getWord($pref::Video::mode, 0) - 209
@ -62,7 +62,7 @@
MinExtent = "210 100";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
internalName = "PalleteWindow";
canSaveDynamicFields = "0";
@ -82,7 +82,7 @@
AnchorLeft = "1";
AnchorRight = "0";
isContainer = "1";
Profile = "GuiTabBookProfile";
Profile = "ToolsGuiTabBookProfile";
HorizSizing = "width";
VertSizing = "height";
position = "3 44";
@ -90,7 +90,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "0";
@ -106,7 +106,7 @@
AnchorLeft = "1";
AnchorRight = "0";
isContainer = "1";
Profile = "GuiTabPageProfile";
Profile = "ToolsGuiTabPageProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "0 22";
@ -114,7 +114,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "0";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
internalName = "BrushesTab";
canSaveDynamicFields = "0";
@ -136,7 +136,7 @@
AnchorLeft = "1";
AnchorRight = "0";
isContainer = "1";
Profile = "GuiScrollProfile";
Profile = "ToolsGuiScrollProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "0 0";
@ -144,7 +144,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "0";
@ -168,7 +168,7 @@
canRenameObjects = "1";
renameInternal = "1";
isContainer = "1";
Profile = "GuiTreeViewProfile";
Profile = "ToolsGuiTreeViewProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "1 1";
@ -176,7 +176,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "0";
};
@ -194,7 +194,7 @@
AnchorLeft = "1";
AnchorRight = "0";
isContainer = "1";
Profile = "GuiTabPageProfile";
Profile = "ToolsGuiTabPageProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "0 22";
@ -202,7 +202,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
internalName = "MeshesTab";
canSaveDynamicFields = "0";
@ -224,7 +224,7 @@
AnchorLeft = "1";
AnchorRight = "0";
isContainer = "1";
Profile = "GuiScrollProfile";
Profile = "ToolsGuiScrollProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "0 0";
@ -232,7 +232,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "0";
@ -256,7 +256,7 @@
canRenameObjects = "1";
renameInternal = "0";
isContainer = "1";
Profile = "GuiTreeViewProfile";
Profile = "ToolsGuiTreeViewProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "1 -67";
@ -265,7 +265,7 @@
canSave = "1";
Visible = "1";
AltCommand = "$ThisControl.onDoubleClick();";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "0";
};
@ -281,7 +281,7 @@
ChangeChildSizeToFit = "0";
ChangeChildPosition = "0";
isContainer = "1";
Profile = "GuiDefaultProfile";
Profile = "ToolsGuiDefaultProfile";
HorizSizing = "left";
VertSizing = "bottom";
position = "170 25";
@ -289,7 +289,7 @@
MinExtent = "16 16";
canSave = "1";
Visible = "0";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
internalName = "MeshButtonGroup";
canSaveDynamicFields = "0";
@ -300,7 +300,7 @@
buttonType = "PushButton";
useMouseEvents = "0";
isContainer = "0";
Profile = "GuiDefaultProfile";
Profile = "ToolsGuiDefaultProfile";
HorizSizing = "left";
VertSizing = "bottom";
position = "0 0";
@ -309,7 +309,7 @@
canSave = "1";
Visible = "1";
Command = "ForestEditorGui.newMesh();";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
ToolTip = "Add New Mesh";
hovertime = "1000";
canSaveDynamicFields = "0";
@ -320,7 +320,7 @@
buttonType = "PushButton";
useMouseEvents = "0";
isContainer = "0";
Profile = "GuiDefaultProfile";
Profile = "ToolsGuiDefaultProfile";
HorizSizing = "left";
VertSizing = "bottom";
position = "19 0";
@ -330,7 +330,7 @@
Visible = "1";
Command = "ForestEditorGui.deleteMesh();";
tooltip = "Delete Selected";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "0";
};
@ -344,7 +344,7 @@
ChangeChildSizeToFit = "0";
ChangeChildPosition = "0";
isContainer = "1";
Profile = "GuiDefaultProfile";
Profile = "ToolsGuiDefaultProfile";
HorizSizing = "left";
VertSizing = "bottom";
position = "151 25";
@ -352,7 +352,7 @@
MinExtent = "16 16";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
internalName = "BrushButtonGroup";
canSaveDynamicFields = "0";
@ -363,7 +363,7 @@
buttonType = "PushButton";
useMouseEvents = "0";
isContainer = "0";
Profile = "GuiDefaultProfile";
Profile = "ToolsGuiDefaultProfile";
HorizSizing = "left";
VertSizing = "bottom";
position = "0 0";
@ -372,7 +372,7 @@
canSave = "1";
Visible = "1";
Command = "ForestEditorGui.newBrush();";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
ToolTip = "Add New Brush Group";
hovertime = "1000";
canSaveDynamicFields = "0";
@ -383,7 +383,7 @@
buttonType = "PushButton";
useMouseEvents = "0";
isContainer = "0";
Profile = "GuiDefaultProfile";
Profile = "ToolsGuiDefaultProfile";
HorizSizing = "left";
VertSizing = "bottom";
position = "19 0";
@ -393,7 +393,7 @@
Visible = "1";
Command = "ForestEditorGui.newElement();";
tooltip = "Add New Brush Element";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "0";
};
@ -403,7 +403,7 @@
buttonType = "PushButton";
useMouseEvents = "0";
isContainer = "0";
Profile = "GuiDefaultProfile";
Profile = "ToolsGuiDefaultProfile";
HorizSizing = "left";
VertSizing = "bottom";
position = "38 0";
@ -413,7 +413,7 @@
Visible = "1";
Command = "ForestEditorGui.deleteBrushOrElement();";
tooltip = "Delete Selected";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "0";
};
@ -438,7 +438,7 @@
AnchorLeft = "1";
AnchorRight = "0";
isContainer = "1";
Profile = "GuiWindowCollapseProfile";
Profile = "ToolsGuiWindowCollapseProfile";
HorizSizing = "windowRelative";
VertSizing = "windowRelative";
Position = getWord($pref::Video::mode, 0) - 209
@ -447,7 +447,7 @@
MinExtent = "210 50";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
internalName = "PropertiesWindow";
canSaveDynamicFields = "0";
@ -469,7 +469,7 @@
AnchorLeft = "1";
AnchorRight = "0";
isContainer = "1";
Profile = "GuiScrollProfile";
Profile = "ToolsGuiScrollProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "3 23";
@ -477,7 +477,7 @@
MinExtent = "8 2";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
canSaveDynamicFields = "0";
@ -500,7 +500,7 @@
MinExtent = "16 16";
canSave = "1";
Visible = "1";
tooltipprofile = "GuiToolTipProfile";
tooltipprofile = "ToolsGuiToolTipProfile";
hovertime = "1000";
internalName = "Inspector";
canSaveDynamicFields = "0";