|
@@ -14,6 +14,165 @@ $guiContent = new GuiControl(AssetImportCtrl) {
|
|
|
canSave = "1";
|
|
|
canSaveDynamicFields = "1";
|
|
|
|
|
|
+ new GuiWindowCtrl(ImportAssetConfigEditorWindow) {
|
|
|
+ text = "Import Options Config";
|
|
|
+ resizeWidth = "1";
|
|
|
+ resizeHeight = "1";
|
|
|
+ canMove = "1";
|
|
|
+ canClose = "1";
|
|
|
+ canMinimize = "0";
|
|
|
+ canMaximize = "0";
|
|
|
+ canCollapse = "0";
|
|
|
+ closeCommand = "ImportAssetConfigEditorWindow.close();";
|
|
|
+ edgeSnap = "1";
|
|
|
+ margin = "0 0 0 0";
|
|
|
+ padding = "0 0 0 0";
|
|
|
+ anchorTop = "1";
|
|
|
+ anchorBottom = "0";
|
|
|
+ anchorLeft = "1";
|
|
|
+ anchorRight = "0";
|
|
|
+ position = "324 132";
|
|
|
+ extent = "376 503";
|
|
|
+ minExtent = "48 92";
|
|
|
+ horizSizing = "center";
|
|
|
+ vertSizing = "center";
|
|
|
+ profile = "ToolsGuiWindowProfile";
|
|
|
+ visible = "0";
|
|
|
+ active = "1";
|
|
|
+ tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
+ hovertime = "1000";
|
|
|
+ isContainer = "1";
|
|
|
+ hidden = "1";
|
|
|
+ canSave = "1";
|
|
|
+ canSaveDynamicFields = "0";
|
|
|
+
|
|
|
+ new GuiTextCtrl() {
|
|
|
+ text = "Configuration Name:";
|
|
|
+ maxLength = "1024";
|
|
|
+ margin = "0 0 0 0";
|
|
|
+ padding = "0 0 0 0";
|
|
|
+ anchorTop = "1";
|
|
|
+ anchorBottom = "0";
|
|
|
+ anchorLeft = "1";
|
|
|
+ anchorRight = "0";
|
|
|
+ position = "10 26";
|
|
|
+ extent = "100 17";
|
|
|
+ minExtent = "8 2";
|
|
|
+ horizSizing = "right";
|
|
|
+ vertSizing = "bottom";
|
|
|
+ profile = "ToolsGuiTextProfile";
|
|
|
+ visible = "1";
|
|
|
+ active = "1";
|
|
|
+ tooltipProfile = "GuiToolTipProfile";
|
|
|
+ hovertime = "1000";
|
|
|
+ isContainer = "1";
|
|
|
+ canSave = "1";
|
|
|
+ canSaveDynamicFields = "0";
|
|
|
+ };
|
|
|
+ new GuiTextEditCtrl(AssetImportConfigName) {
|
|
|
+ historySize = "0";
|
|
|
+ tabComplete = "0";
|
|
|
+ sinkAllKeyEvents = "0";
|
|
|
+ password = "0";
|
|
|
+ passwordMask = "*";
|
|
|
+ maxLength = "1024";
|
|
|
+ margin = "0 0 0 0";
|
|
|
+ padding = "0 0 0 0";
|
|
|
+ anchorTop = "1";
|
|
|
+ anchorBottom = "0";
|
|
|
+ anchorLeft = "1";
|
|
|
+ anchorRight = "0";
|
|
|
+ position = "113 25";
|
|
|
+ extent = "250 18";
|
|
|
+ minExtent = "8 2";
|
|
|
+ horizSizing = "width";
|
|
|
+ vertSizing = "bottom";
|
|
|
+ profile = "ToolsGuiTextEditProfile";
|
|
|
+ visible = "1";
|
|
|
+ active = "1";
|
|
|
+ tooltipProfile = "GuiToolTipProfile";
|
|
|
+ hovertime = "1000";
|
|
|
+ isContainer = "1";
|
|
|
+ canSave = "1";
|
|
|
+ canSaveDynamicFields = "0";
|
|
|
+ };
|
|
|
+ new GuiButtonCtrl() {
|
|
|
+ text = "Done";
|
|
|
+ groupNum = "-1";
|
|
|
+ buttonType = "PushButton";
|
|
|
+ useMouseEvents = "0";
|
|
|
+ position = "301 471";
|
|
|
+ extent = "64 22";
|
|
|
+ minExtent = "8 2";
|
|
|
+ horizSizing = "left";
|
|
|
+ vertSizing = "top";
|
|
|
+ profile = "ToolsGuiButtonProfile";
|
|
|
+ visible = "1";
|
|
|
+ active = "1";
|
|
|
+ command = "ImportAssetConfigEditorWindow.saveAssetOptionsConfig();";
|
|
|
+ tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
+ hovertime = "1000";
|
|
|
+ isContainer = "0";
|
|
|
+ canSave = "1";
|
|
|
+ canSaveDynamicFields = "0";
|
|
|
+ };
|
|
|
+ new GuiScrollCtrl(ImportAssetConfigEditorScroll) {
|
|
|
+ willFirstRespond = "1";
|
|
|
+ hScrollBar = "dynamic";
|
|
|
+ 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 = "9 50";
|
|
|
+ extent = "356 414";
|
|
|
+ minExtent = "8 2";
|
|
|
+ horizSizing = "width";
|
|
|
+ vertSizing = "height";
|
|
|
+ profile = "ToolsGuiScrollProfile";
|
|
|
+ visible = "1";
|
|
|
+ active = "1";
|
|
|
+ tooltipProfile = "GuiToolTipProfile";
|
|
|
+ hovertime = "1000";
|
|
|
+ isContainer = "1";
|
|
|
+ canSave = "1";
|
|
|
+ canSaveDynamicFields = "0";
|
|
|
+
|
|
|
+ new GuiVariableInspector(ImportOptionsConfigList) {
|
|
|
+ dividerMargin = "5";
|
|
|
+ showCustomFields = "1";
|
|
|
+ stackingType = "Vertical";
|
|
|
+ horizStacking = "Left to Right";
|
|
|
+ vertStacking = "Top to Bottom";
|
|
|
+ padding = "1";
|
|
|
+ dynamicSize = "1";
|
|
|
+ dynamicNonStackExtent = "0";
|
|
|
+ dynamicPos = "0";
|
|
|
+ changeChildSizeToFit = "1";
|
|
|
+ changeChildPosition = "1";
|
|
|
+ position = "1 1";
|
|
|
+ extent = "339 64";
|
|
|
+ minExtent = "16 16";
|
|
|
+ horizSizing = "right";
|
|
|
+ vertSizing = "bottom";
|
|
|
+ profile = "GuiDefaultProfile";
|
|
|
+ visible = "1";
|
|
|
+ active = "1";
|
|
|
+ tooltipProfile = "GuiToolTipProfile";
|
|
|
+ hovertime = "1000";
|
|
|
+ isContainer = "1";
|
|
|
+ canSave = "1";
|
|
|
+ canSaveDynamicFields = "0";
|
|
|
+ };
|
|
|
+ };
|
|
|
+ };
|
|
|
new GuiWindowCtrl(ImportAssetWindow) {
|
|
|
text = "Import Assets";
|
|
|
resizeWidth = "1";
|
|
@@ -30,7 +189,7 @@ $guiContent = new GuiControl(AssetImportCtrl) {
|
|
|
anchorBottom = "0";
|
|
|
anchorLeft = "1";
|
|
|
anchorRight = "0";
|
|
|
- position = "132 80";
|
|
|
+ position = "145 93";
|
|
|
extent = "733 582";
|
|
|
minExtent = "48 92";
|
|
|
horizSizing = "center";
|
|
@@ -73,6 +232,7 @@ $guiContent = new GuiControl(AssetImportCtrl) {
|
|
|
sinkAllKeyEvents = "0";
|
|
|
password = "0";
|
|
|
passwordMask = "*";
|
|
|
+ text = "data/";
|
|
|
maxLength = "1024";
|
|
|
margin = "0 0 0 0";
|
|
|
padding = "0 0 0 0";
|
|
@@ -95,7 +255,7 @@ $guiContent = new GuiControl(AssetImportCtrl) {
|
|
|
canSaveDynamicFields = "0";
|
|
|
};
|
|
|
new GuiBitmapButtonCtrl() {
|
|
|
- bitmapAsset = "ToolsModule:iconOpen_image";
|
|
|
+ BitmapAsset = "ToolsModule:iconOpen_image";
|
|
|
bitmapMode = "Centered";
|
|
|
autoFitExtents = "0";
|
|
|
useModifiers = "0";
|
|
@@ -199,6 +359,7 @@ $guiContent = new GuiControl(AssetImportCtrl) {
|
|
|
reverseTextList = "0";
|
|
|
bitmapBounds = "16 16";
|
|
|
hotTrackCallback = "0";
|
|
|
+ text = "DefaultImportConfig";
|
|
|
maxLength = "1024";
|
|
|
margin = "0 0 0 0";
|
|
|
padding = "0 0 0 0";
|
|
@@ -221,7 +382,7 @@ $guiContent = new GuiControl(AssetImportCtrl) {
|
|
|
canSaveDynamicFields = "0";
|
|
|
};
|
|
|
new GuiBitmapButtonCtrl() {
|
|
|
- bitmapAsset = "ToolsModule:save_as_n_image";
|
|
|
+ BitmapAsset = "ToolsModule:save_as_n_image";
|
|
|
bitmapMode = "Centered";
|
|
|
autoFitExtents = "0";
|
|
|
useModifiers = "0";
|
|
@@ -296,6 +457,32 @@ $guiContent = new GuiControl(AssetImportCtrl) {
|
|
|
canSave = "1";
|
|
|
canSaveDynamicFields = "0";
|
|
|
|
|
|
+ new GuiBitmapButtonCtrl(ImportLogButton) {
|
|
|
+ bitmapAsset = "ToolsModule:iconInformation_image";
|
|
|
+ bitmapMode = "Centered";
|
|
|
+ autoFitExtents = "0";
|
|
|
+ useModifiers = "0";
|
|
|
+ useStates = "1";
|
|
|
+ masked = "0";
|
|
|
+ groupNum = "-1";
|
|
|
+ buttonType = "PushButton";
|
|
|
+ useMouseEvents = "0";
|
|
|
+ position = "5 0";
|
|
|
+ extent = "22 22";
|
|
|
+ minExtent = "8 2";
|
|
|
+ horizSizing = "right";
|
|
|
+ vertSizing = "bottom";
|
|
|
+ profile = "ToolsGuiButtonProfile";
|
|
|
+ visible = "1";
|
|
|
+ active = "1";
|
|
|
+ command = "ImportAssetWindow.toggleLogWindow();";
|
|
|
+ tooltipProfile = "GuiToolTipProfile";
|
|
|
+ tooltip = "View Import Log";
|
|
|
+ hovertime = "1000";
|
|
|
+ isContainer = "0";
|
|
|
+ canSave = "1";
|
|
|
+ canSaveDynamicFields = "0";
|
|
|
+ };
|
|
|
new GuiScrollCtrl() {
|
|
|
willFirstRespond = "1";
|
|
|
hScrollBar = "alwaysOff";
|
|
@@ -311,8 +498,8 @@ $guiContent = new GuiControl(AssetImportCtrl) {
|
|
|
anchorBottom = "0";
|
|
|
anchorLeft = "1";
|
|
|
anchorRight = "0";
|
|
|
- position = "3 3";
|
|
|
- extent = "180 444";
|
|
|
+ position = "3 22";
|
|
|
+ extent = "180 426";
|
|
|
minExtent = "100 50";
|
|
|
horizSizing = "width";
|
|
|
vertSizing = "height";
|
|
@@ -328,7 +515,7 @@ $guiContent = new GuiControl(AssetImportCtrl) {
|
|
|
new GuiMouseEventCtrl(NewAssetsPanelInputs) {
|
|
|
lockMouse = "0";
|
|
|
position = "1 0";
|
|
|
- extent = "339 467";
|
|
|
+ extent = "339 449";
|
|
|
minExtent = "8 2";
|
|
|
horizSizing = "width";
|
|
|
vertSizing = "height";
|
|
@@ -364,7 +551,7 @@ $guiContent = new GuiControl(AssetImportCtrl) {
|
|
|
canRenameObjects = "1";
|
|
|
renameInternal = "0";
|
|
|
position = "1 1";
|
|
|
- extent = "180 444";
|
|
|
+ extent = "102 21";
|
|
|
minExtent = "8 2";
|
|
|
horizSizing = "width";
|
|
|
vertSizing = "height";
|
|
@@ -503,190 +690,26 @@ $guiContent = new GuiControl(AssetImportCtrl) {
|
|
|
canSave = "1";
|
|
|
canSaveDynamicFields = "0";
|
|
|
};
|
|
|
- new GuiBitmapButtonCtrl(ImportLogButton) {
|
|
|
- bitmapAsset = "ToolsModule:iconInformation_image";
|
|
|
- bitmapMode = "Centered";
|
|
|
- autoFitExtents = "0";
|
|
|
- useModifiers = "0";
|
|
|
- useStates = "1";
|
|
|
- masked = "0";
|
|
|
- groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
- useMouseEvents = "0";
|
|
|
- position = "5 555";
|
|
|
- extent = "22 22";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "left";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiButtonProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- command = "ImportAssetWindow.toggleLogWindow();";
|
|
|
- tooltipProfile = "GuiToolTipProfile";
|
|
|
- tooltip = "View Import Log";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- };
|
|
|
- new GuiWindowCtrl(ImportAssetConfigEditorWindow) {
|
|
|
- text = "Import Options Config";
|
|
|
- resizeWidth = "1";
|
|
|
- resizeHeight = "1";
|
|
|
- canMove = "1";
|
|
|
- canClose = "1";
|
|
|
- canMinimize = "0";
|
|
|
- canMaximize = "0";
|
|
|
- canCollapse = "0";
|
|
|
- closeCommand = "ImportAssetConfigEditorWindow.close();";
|
|
|
- edgeSnap = "1";
|
|
|
- margin = "0 0 0 0";
|
|
|
- padding = "0 0 0 0";
|
|
|
- anchorTop = "1";
|
|
|
- anchorBottom = "0";
|
|
|
- anchorLeft = "1";
|
|
|
- anchorRight = "0";
|
|
|
- position = "324 132";
|
|
|
- extent = "376 503";
|
|
|
- minExtent = "48 92";
|
|
|
- horizSizing = "center";
|
|
|
- vertSizing = "center";
|
|
|
- profile = "ToolsGuiWindowProfile";
|
|
|
- visible = "0";
|
|
|
- active = "1";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "1";
|
|
|
- hidden = "1";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
-
|
|
|
- new GuiTextCtrl() {
|
|
|
- text = "Configuration Name:";
|
|
|
- maxLength = "1024";
|
|
|
- margin = "0 0 0 0";
|
|
|
- padding = "0 0 0 0";
|
|
|
- anchorTop = "1";
|
|
|
- anchorBottom = "0";
|
|
|
- anchorLeft = "1";
|
|
|
- anchorRight = "0";
|
|
|
- position = "10 26";
|
|
|
- extent = "100 17";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiTextProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- tooltipProfile = "GuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "1";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiTextEditCtrl(AssetImportConfigName) {
|
|
|
- historySize = "0";
|
|
|
- tabComplete = "0";
|
|
|
- sinkAllKeyEvents = "0";
|
|
|
- password = "0";
|
|
|
- passwordMask = "*";
|
|
|
- maxLength = "1024";
|
|
|
- margin = "0 0 0 0";
|
|
|
- padding = "0 0 0 0";
|
|
|
- anchorTop = "1";
|
|
|
- anchorBottom = "0";
|
|
|
- anchorLeft = "1";
|
|
|
- anchorRight = "0";
|
|
|
- position = "113 25";
|
|
|
- extent = "250 18";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "width";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "ToolsGuiTextEditProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- tooltipProfile = "GuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "1";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiButtonCtrl() {
|
|
|
- text = "Done";
|
|
|
+ new GuiCheckBoxCtrl(toggleImportWindowVizBtn) {
|
|
|
+ text = "Don\'t show this every time";
|
|
|
groupNum = "-1";
|
|
|
- buttonType = "PushButton";
|
|
|
+ buttonType = "ToggleButton";
|
|
|
useMouseEvents = "0";
|
|
|
- position = "301 471";
|
|
|
- extent = "64 22";
|
|
|
+ position = "416 551";
|
|
|
+ extent = "177 30";
|
|
|
minExtent = "8 2";
|
|
|
horizSizing = "left";
|
|
|
vertSizing = "top";
|
|
|
- profile = "ToolsGuiButtonProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- command = "ImportAssetConfigEditorWindow.saveAssetOptionsConfig();";
|
|
|
- tooltipProfile = "ToolsGuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "0";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
- new GuiScrollCtrl(ImportAssetConfigEditorScroll) {
|
|
|
- willFirstRespond = "1";
|
|
|
- hScrollBar = "dynamic";
|
|
|
- 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 = "9 50";
|
|
|
- extent = "356 414";
|
|
|
- minExtent = "8 2";
|
|
|
- horizSizing = "width";
|
|
|
- vertSizing = "height";
|
|
|
- profile = "ToolsGuiScrollProfile";
|
|
|
+ profile = "ToolsGuiCheckBoxProfile";
|
|
|
visible = "1";
|
|
|
active = "1";
|
|
|
+ command = "toggleImportWindowViz();";
|
|
|
tooltipProfile = "GuiToolTipProfile";
|
|
|
+ tooltip = "If checked, this will make the importer run silently without prompting the window each time, using the Default Import Config";
|
|
|
hovertime = "1000";
|
|
|
- isContainer = "1";
|
|
|
+ isContainer = "0";
|
|
|
canSave = "1";
|
|
|
canSaveDynamicFields = "0";
|
|
|
-
|
|
|
- new GuiVariableInspector(ImportOptionsConfigList) {
|
|
|
- dividerMargin = "5";
|
|
|
- showCustomFields = "1";
|
|
|
- stackingType = "Vertical";
|
|
|
- horizStacking = "Left to Right";
|
|
|
- vertStacking = "Top to Bottom";
|
|
|
- padding = "1";
|
|
|
- dynamicSize = "1";
|
|
|
- dynamicNonStackExtent = "0";
|
|
|
- dynamicPos = "0";
|
|
|
- changeChildSizeToFit = "1";
|
|
|
- changeChildPosition = "1";
|
|
|
- position = "1 1";
|
|
|
- extent = "339 64";
|
|
|
- minExtent = "16 16";
|
|
|
- horizSizing = "right";
|
|
|
- vertSizing = "bottom";
|
|
|
- profile = "GuiDefaultProfile";
|
|
|
- visible = "1";
|
|
|
- active = "1";
|
|
|
- tooltipProfile = "GuiToolTipProfile";
|
|
|
- hovertime = "1000";
|
|
|
- isContainer = "1";
|
|
|
- canSave = "1";
|
|
|
- canSaveDynamicFields = "0";
|
|
|
- };
|
|
|
};
|
|
|
};
|
|
|
};
|