Implementation of Nils' UI work for updated theming, functionality and style for the editors suite

This commit is contained in:
Areloch 2023-09-08 22:44:18 -05:00
parent dc1d6e7d9d
commit 33f35d35d4
908 changed files with 15381 additions and 3065 deletions

View file

@ -30,7 +30,7 @@ $guiContent = new GuiControl(AssetBrowser) {
anchorBottom = "0";
anchorLeft = "1";
anchorRight = "0";
position = "321 334";
position = "120 334";
extent = "381 99";
minExtent = "48 92";
horizSizing = "center";
@ -138,8 +138,8 @@ $guiContent = new GuiControl(AssetBrowser) {
};
};
new GuiWindowCtrl(AssetBrowserWindow) {
text = "Asset Browser";
resizeWidth = "1";
text = ":: Asset Browser";
resizeWidth = "0";
resizeHeight = "1";
canMove = "1";
canClose = "1";
@ -154,9 +154,10 @@ $guiContent = new GuiControl(AssetBrowser) {
anchorBottom = "0";
anchorLeft = "1";
anchorRight = "0";
position = "204 80";
extent = "615 608";
minExtent = "383 274";
//position = "204 80";
Position = "0" SPC getWord($pref::Video::mode, 1) - 360 - 60;
extent = getWord($pref::Video::mode, 0) - 360 SPC "360";
minExtent = "360 120";
horizSizing = "windowRelative";
vertSizing = "windowRelative";
profile = "ToolsGuiWindowProfile";
@ -181,7 +182,7 @@ $guiContent = new GuiControl(AssetBrowser) {
dynamicSize = "0";
padding = "0 0 0 0";
position = "0 24";
extent = "615 30";
extent = "615 32";
minExtent = "8 2";
horizSizing = "right";
vertSizing = "bottom";
@ -196,19 +197,19 @@ $guiContent = new GuiControl(AssetBrowser) {
canSaveDynamicFields = "0";
new GuiIconButtonCtrl() {
buttonMargin = "4 4";
buttonMargin = "0 0";
bitmapAsset = "ToolsModule:phone_image";
iconLocation = "Left";
sizeIconToButton = "1";
makeIconSquare = "1";
sizeIconToButton = "0";
makeIconSquare = "0";
textLocation = "Left";
textMargin = "4";
textMargin = "0";
autoSize = "0";
groupNum = "-1";
buttonType = "PushButton";
useMouseEvents = "0";
position = "0 0";
extent = "30 30";
extent = "32 32";
minExtent = "8 2";
horizSizing = "right";
vertSizing = "bottom";
@ -222,21 +223,22 @@ $guiContent = new GuiControl(AssetBrowser) {
internalName = "windowOptionsButton";
canSave = "1";
canSaveDynamicFields = "0";
buttonMargin = "-2 0";
};
new GuiIconButtonCtrl() {
buttonMargin = "4 4";
buttonMargin = "0 0";
bitmapAsset = "ToolsModule:plus_image";
iconLocation = "Left";
sizeIconToButton = "1";
makeIconSquare = "1";
sizeIconToButton = "0";
makeIconSquare = "0";
textLocation = "Center";
textMargin = "4";
textMargin = "0";
autoSize = "0";
groupNum = "-1";
buttonType = "PushButton";
useMouseEvents = "0";
position = "30 0";
extent = "30 30";
position = "32 0";
extent = "32 32";
minExtent = "8 2";
horizSizing = "right";
vertSizing = "bottom";
@ -250,21 +252,22 @@ $guiContent = new GuiControl(AssetBrowser) {
class="CreateAssetButton";
canSave = "1";
canSaveDynamicFields = "0";
buttonMargin = "-2 0";
};
new GuiIconButtonCtrl() {
buttonMargin = "4 4";
buttonMargin = "0 0";
bitmapAsset = "ToolsModule:import_image";
iconLocation = "Left";
sizeIconToButton = "1";
makeIconSquare = "1";
sizeIconToButton = "0";
makeIconSquare = "0";
textLocation = "Center";
textMargin = "4";
textMargin = "0";
autoSize = "0";
groupNum = "-1";
buttonType = "PushButton";
useMouseEvents = "0";
position = "60 0";
extent = "30 30";
position = "64 0";
extent = "32 32";
minExtent = "8 2";
horizSizing = "right";
vertSizing = "bottom";
@ -279,21 +282,22 @@ $guiContent = new GuiControl(AssetBrowser) {
command="AssetBrowser.importNewFile();";
canSave = "1";
canSaveDynamicFields = "0";
buttonMargin = "-2 0";
};
new GuiIconButtonCtrl() {
buttonMargin = "4 4";
buttonMargin = "0 0";
bitmapAsset = "ToolsModule:filter_image";
iconLocation = "Left";
sizeIconToButton = "1";
makeIconSquare = "1";
sizeIconToButton = "0";
makeIconSquare = "0";
textLocation = "Center";
textMargin = "4";
textMargin = "0";
autoSize = "0";
groupNum = "-1";
buttonType = "PushButton";
useMouseEvents = "0";
position = "90 0";
extent = "30 30";
position = "96 0";
extent = "32 32";
minExtent = "8 2";
horizSizing = "right";
vertSizing = "bottom";
@ -308,21 +312,22 @@ $guiContent = new GuiControl(AssetBrowser) {
internalName = "filterAssetsButton";
canSave = "1";
canSaveDynamicFields = "0";
buttonMargin = "-2 0";
};
new GuiIconButtonCtrl() {
buttonMargin = "4 4";
buttonMargin = "0 0";
bitmapAsset = "ToolsModule:gear_image";
iconLocation = "Left";
sizeIconToButton = "1";
makeIconSquare = "1";
sizeIconToButton = "0";
makeIconSquare = "0";
textLocation = "Center";
textMargin = "4";
textMargin = "0";
autoSize = "0";
groupNum = "-1";
buttonType = "PushButton";
useMouseEvents = "0";
position = "120 0";
extent = "30 30";
position = "128 0";
extent = "32 32";
minExtent = "8 2";
horizSizing = "right";
vertSizing = "bottom";
@ -337,21 +342,22 @@ $guiContent = new GuiControl(AssetBrowser) {
internalName = "editAssetSettingsButton";
canSave = "1";
canSaveDynamicFields = "0";
buttonMargin = "-2 0";
};
new GuiIconButtonCtrl() {
buttonMargin = "4 4";
buttonMargin = "0 0";
bitmapAsset = "ToolsModule:warning_image";
iconLocation = "Left";
sizeIconToButton = "1";
makeIconSquare = "1";
sizeIconToButton = "0";
makeIconSquare = "0";
textLocation = "Center";
textMargin = "4";
textMargin = "0";
autoSize = "0";
groupNum = "-1";
buttonType = "PushButton";
useMouseEvents = "0";
position = "150 0";
extent = "30 30";
position = "160 0";
extent = "32 32";
minExtent = "8 2";
horizSizing = "right";
vertSizing = "bottom";
@ -366,6 +372,37 @@ $guiContent = new GuiControl(AssetBrowser) {
internalName = "AutoImportAssetButton";
canSave = "1";
canSaveDynamicFields = "0";
buttonMargin = "-2 0";
};
new GuiIconButtonCtrl() {
buttonMargin = "0 0";
bitmapAsset = "ToolsModule:console_image";
iconLocation = "Left";
sizeIconToButton = "0";
makeIconSquare = "0";
textLocation = "Center";
textMargin = "0";
autoSize = "0";
groupNum = "-1";
buttonType = "PushButton";
useMouseEvents = "0";
position = "192 0";
extent = "32 32";
minExtent = "8 2";
horizSizing = "right";
vertSizing = "bottom";
profile = "ToolsGuiDefaultProfile";
visible = "1";
active = "1";
command = "windowConsoleDlg.showWindow();";
tooltipProfile = "GuiToolTipProfile";
tooltip = "Open the console log in a window.";
hovertime = "1000";
isContainer = "0";
internalName = "ABwindowConsoleButton";
canSave = "1";
canSaveDynamicFields = "0";
buttonMargin = "-2 0";
};
};
new GuiSplitContainer(AssetBrowser_MainSplit) {
@ -373,7 +410,7 @@ $guiContent = new GuiControl(AssetBrowser) {
splitterSize = "2";
splitPoint = "190 100";
fixedPanel = "None";
fixedSize = "468";
fixedSize = "280";
docking = "None";
margin = "0 0 0 0";
padding = "0 0 0 0";
@ -382,7 +419,7 @@ $guiContent = new GuiControl(AssetBrowser) {
anchorLeft = "1";
anchorRight = "0";
position = "3 56";
extent = "608 532";
extent = getWord($pref::Video::mode, 0) - 360 - 2 SPC "280";
minExtent = "64 64";
horizSizing = "relative";
vertSizing = "height";
@ -404,7 +441,7 @@ $guiContent = new GuiControl(AssetBrowser) {
anchorLeft = "1";
anchorRight = "0";
position = "0 0";
extent = "188 532";
extent = "188 280";
minExtent = "0 0";
horizSizing = "right";
vertSizing = "bottom";
@ -480,7 +517,7 @@ $guiContent = new GuiControl(AssetBrowser) {
buttonType = "PushButton";
useMouseEvents = "0";
position = "173 4";
extent = "15 15";
extent = "16 16";
minExtent = "8 2";
horizSizing = "left";
vertSizing = "bottom";
@ -496,7 +533,7 @@ $guiContent = new GuiControl(AssetBrowser) {
canSaveDynamicFields = "0";
};
};
new GuiContainer() {
new GuiContainer(AssetBrowserTreePanel) {
margin = "0 0 0 0";
padding = "0 0 0 0";
anchorTop = "1";
@ -504,7 +541,7 @@ $guiContent = new GuiControl(AssetBrowser) {
anchorLeft = "1";
anchorRight = "0";
position = "0 17";
extent = "188 516";
extent = "188 260";
minExtent = "8 2";
horizSizing = "width";
vertSizing = "height";
@ -517,7 +554,7 @@ $guiContent = new GuiControl(AssetBrowser) {
canSave = "1";
canSaveDynamicFields = "0";
new GuiScrollCtrl() {
new GuiScrollCtrl(AssetBrowserTreeScroll) {
willFirstRespond = "1";
hScrollBar = "dynamic";
vScrollBar = "dynamic";
@ -534,7 +571,7 @@ $guiContent = new GuiControl(AssetBrowser) {
anchorLeft = "1";
anchorRight = "0";
position = "0 0";
extent = "188 516";
extent = "188 260";
minExtent = "8 8";
horizSizing = "width";
vertSizing = "height";
@ -596,7 +633,7 @@ $guiContent = new GuiControl(AssetBrowser) {
anchorLeft = "1";
anchorRight = "0";
position = "192 0";
extent = "416 532";
extent = "416 260";
minExtent = "16 16";
horizSizing = "right";
vertSizing = "bottom";
@ -868,7 +905,7 @@ $guiContent = new GuiControl(AssetBrowser) {
canSaveDynamicFields = "0";
};
};
new GuiContainer() {
new GuiContainer(AssetListContainer) {
margin = "0 0 0 0";
padding = "0 0 0 0";
anchorTop = "1";
@ -876,7 +913,7 @@ $guiContent = new GuiControl(AssetBrowser) {
anchorLeft = "1";
anchorRight = "1";
position = "1 37";
extent = "416 495";
extent = "416 240";
minExtent = "8 2";
horizSizing = "width";
vertSizing = "height";
@ -906,7 +943,7 @@ $guiContent = new GuiControl(AssetBrowser) {
anchorLeft = "1";
anchorRight = "0";
position = "0 0";
extent = "416 479";
extent = "416 220";
minExtent = "8 8";
horizSizing = "width";
vertSizing = "height";
@ -922,7 +959,7 @@ $guiContent = new GuiControl(AssetBrowser) {
new GuiMouseEventCtrl(AssetListPanelInputs) {
lockMouse = "0";
position = "1 1";
extent = "414 472";
extent = "414 220";
minExtent = "8 2";
horizSizing = "width";
vertSizing = "height";
@ -996,11 +1033,11 @@ $guiContent = new GuiControl(AssetBrowser) {
anchorBottom = "0";
anchorLeft = "1";
anchorRight = "0";
position = "0 479";
extent = "416 16";
position = "0 220";
extent = "300 16";
minExtent = "8 2";
horizSizing = "width";
vertSizing = "height";
vertSizing = "top";
profile = "ToolsGuiSolidDefaultProfile";
visible = "1";
active = "1";
@ -1020,7 +1057,7 @@ $guiContent = new GuiControl(AssetBrowser) {
anchorBottom = "0";
anchorLeft = "1";
anchorRight = "0";
position = "0 475";
position = "0 220";
extent = "269 23";
minExtent = "8 2";
horizSizing = "right";
@ -1044,8 +1081,8 @@ $guiContent = new GuiControl(AssetBrowser) {
groupNum = "-1";
buttonType = "PushButton";
useMouseEvents = "0";
position = "-2 200";
extent = "18 18";
position = "-2 120";
extent = "16 16";
minExtent = "8 2";
horizSizing = "right";
vertSizing = "center";
@ -1068,7 +1105,7 @@ $guiContent = new GuiControl(AssetBrowser) {
groupNum = "-1";
buttonType = "PushButton";
useMouseEvents = "0";
position = "559 588";
position = "120 340";
extent = "53 19";
minExtent = "8 2";
horizSizing = "left";
@ -1087,8 +1124,8 @@ $guiContent = new GuiControl(AssetBrowser) {
};
new GuiBitmapCtrl() {
bitmapAsset = "ToolsModule:smaller_image";
position = "5 588";
extent = "20 20";
position = "5 338";
extent = "16 16";
minExtent = "8 2";
horizSizing = "right";
vertSizing = "top";
@ -1109,7 +1146,7 @@ $guiContent = new GuiControl(AssetBrowser) {
useFillBar = "0";
fillBarColor = "255 255 255 255";
renderTicks = "0";
position = "28 590";
position = "24 340";
extent = "75 20";
minExtent = "8 2";
horizSizing = "right";
@ -1129,8 +1166,8 @@ $guiContent = new GuiControl(AssetBrowser) {
};
new GuiBitmapCtrl() {
bitmapAsset = "ToolsModule:larger_image";
position = "103 588";
extent = "20 20";
position = "103 338";
extent = "16 16";
minExtent = "8 2";
horizSizing = "right";
vertSizing = "top";
@ -1143,6 +1180,136 @@ $guiContent = new GuiControl(AssetBrowser) {
canSave = "1";
canSaveDynamicFields = "0";
};
new GuiButtonCtrl(assetBrowser_Tab1) {
text = "Tab1 Text 1";
buttonType = "PushButton";
useMouseEvents = "0";
position = "5 1";
extent = "95 20";
minExtent = "8 2";
horizSizing = "right";
vertSizing = "bottom";
profile = "ToolsGuiEditorTabButton";
visible = "1";
hidden = "1";
active = "1";
command = "";
tooltipProfile = "ToolsGuiToolTipProfile";
ToolTip = "Bring this window to the front";
hovertime = "1000";
isContainer = "0";
canSave = "0";
canSaveDynamicFields = "0";
};
new GuiButtonCtrl(assetBrowser_Tab2) {
text = "Tab1 Text 2";
buttonType = "PushButton";
useMouseEvents = "0";
position = "105 1";
extent = "95 20";
minExtent = "8 2";
horizSizing = "right";
vertSizing = "bottom";
profile = "ToolsGuiEditorTabButton";
visible = "1";
hidden = "1";
active = "1";
command = "";
tooltipProfile = "ToolsGuiToolTipProfile";
ToolTip = "Bring this window to the front";
hovertime = "1000";
isContainer = "0";
canSave = "0";
canSaveDynamicFields = "0";
};
new GuiButtonCtrl(assetBrowser_Tab3) {
text = "Tab1 Text 3";
buttonType = "PushButton";
useMouseEvents = "0";
position = "205 1";
extent = "95 20";
minExtent = "8 2";
horizSizing = "right";
vertSizing = "bottom";
profile = "ToolsGuiEditorTabButton";
visible = "1";
hidden = "1";
active = "1";
command = "";
tooltipProfile = "ToolsGuiToolTipProfile";
ToolTip = "Bring this window to the front";
hovertime = "1000";
isContainer = "0";
canSave = "0";
canSaveDynamicFields = "0";
};
new GuiButtonCtrl(assetBrowser_Tab4) {
text = "Tab1 Text 4";
buttonType = "PushButton";
useMouseEvents = "0";
position = "305 1";
extent = "95 20";
minExtent = "8 2";
horizSizing = "right";
vertSizing = "bottom";
profile = "ToolsGuiEditorTabButton";
visible = "1";
hidden = "1";
active = "1";
command = "";
tooltipProfile = "ToolsGuiToolTipProfile";
ToolTip = "Bring this window to the front";
hovertime = "1000";
isContainer = "0";
canSave = "0";
canSaveDynamicFields = "0";
};
new GuiBitmapButtonCtrl(AssetBrowserWindow_UnDockBtn) {
canSaveDynamicFields = "0";
internalName = "";
Enabled = "1";
isContainer = "0";
Profile = "ToolsGuiButtonProfile";
HorizSizing = "left";
VertSizing = "bottom";
Position = getWord($pref::Video::mode, 0) - 407 SPC "1";
Extent = "18 18";
MinExtent = "8 8";
canSave = "1";
Visible = "1";
Command = "AssetBrowserWindow.releasePanel();";
tooltipprofile = "ToolsGuiToolTipProfile";
ToolTip = "Detach Panel";
hovertime = "1000";
bitmapAsset = "ToolsModule:panel_undock_n_image";
text = "";
groupNum = "-1";
buttonType = "PushButton";
useMouseEvents = "0";
};
new GuiBitmapButtonCtrl(AssetBrowserWindow_DockBtn) {
canSaveDynamicFields = "0";
internalName = "";
Enabled = "1";
isContainer = "0";
Profile = "ToolsGuiButtonProfile";
HorizSizing = "left";
VertSizing = "bottom";
Position = getWord($pref::Video::mode, 0) - 407 SPC "1";
Extent = "18 18";
MinExtent = "8 8";
canSave = "1";
Visible = "0";
Command = "AssetBrowserWindow.dockPanel();";
tooltipprofile = "ToolsGuiToolTipProfile";
ToolTip = "Dock Panel";
hovertime = "1000";
bitmapAsset = "ToolsModule:panel_dock_n_image";
text = "";
groupNum = "-1";
buttonType = "PushButton";
useMouseEvents = "0";
};
};
};
//--- OBJECT WRITE END ---