2021-05-04 21:18:15 -04:00
|
|
|
$guiContent = new GuiControl(CubemapEditor) {
|
2019-09-13 00:27:48 -05:00
|
|
|
canSaveDynamicFields = "0";
|
|
|
|
|
Enabled = "1";
|
|
|
|
|
isContainer = "1";
|
|
|
|
|
Profile = "ToolsGuiDefaultProfile";
|
|
|
|
|
HorizSizing = "width";
|
|
|
|
|
VertSizing = "height";
|
|
|
|
|
Position = "0 0";
|
|
|
|
|
Extent = "800 600";
|
|
|
|
|
MinExtent = "8 2";
|
|
|
|
|
canSave = "1";
|
|
|
|
|
Visible = "1";
|
|
|
|
|
hovertime = "1000";
|
|
|
|
|
|
|
|
|
|
new GuiWindowCtrl(CubemapEditorWindow) {
|
|
|
|
|
canSaveDynamicFields = "0";
|
|
|
|
|
Enabled = "1";
|
|
|
|
|
isContainer = "1";
|
|
|
|
|
Profile = "ToolsGuiWindowProfile";
|
|
|
|
|
HorizSizing = "center";
|
|
|
|
|
VertSizing = "center";
|
|
|
|
|
position = "200 257";
|
|
|
|
|
Extent = "478 248";
|
|
|
|
|
MinExtent = "478 248";
|
|
|
|
|
canSave = "1";
|
|
|
|
|
Visible = "1";
|
|
|
|
|
hovertime = "1000";
|
|
|
|
|
Margin = "0 0 0 0";
|
|
|
|
|
Padding = "0 0 0 0";
|
|
|
|
|
AnchorTop = "1";
|
|
|
|
|
AnchorBottom = "0";
|
|
|
|
|
AnchorLeft = "1";
|
|
|
|
|
AnchorRight = "0";
|
|
|
|
|
resizeWidth = "0";
|
|
|
|
|
resizeHeight = "0";
|
|
|
|
|
canMove = "1";
|
|
|
|
|
canClose = "1";
|
|
|
|
|
canMinimize = "0";
|
|
|
|
|
canMaximize = "0";
|
|
|
|
|
minSize = "50 50";
|
|
|
|
|
EdgeSnap = "1";
|
2025-08-03 12:03:02 -05:00
|
|
|
closeCommand = "CubemapEditor.hideCubemapEditor(true);";
|
2019-09-13 00:27:48 -05:00
|
|
|
text = "Cubemap Editor";
|
|
|
|
|
|
|
|
|
|
new GuiTextCtrl(){
|
|
|
|
|
Profile = "ToolsGuiTextProfile";
|
|
|
|
|
position = "307 40";
|
|
|
|
|
Extent = "30 16";
|
|
|
|
|
text = "Name";
|
|
|
|
|
};
|
|
|
|
|
new GuiTextEditCtrl(CubemapEditor_Name) {
|
|
|
|
|
canSaveDynamicFields = "0";
|
|
|
|
|
Enabled = "1";
|
|
|
|
|
isContainer = "0";
|
|
|
|
|
Profile = "ToolsGuiTextEditProfile";
|
|
|
|
|
HorizSizing = "right";
|
|
|
|
|
VertSizing = "bottom";
|
|
|
|
|
position = "338 40";
|
|
|
|
|
Extent = "131 18";
|
|
|
|
|
MinExtent = "8 2";
|
|
|
|
|
canSave = "1";
|
|
|
|
|
Visible = "1";
|
|
|
|
|
hovertime = "1000";
|
|
|
|
|
Margin = "0 0 0 0";
|
|
|
|
|
Padding = "0 0 0 0";
|
|
|
|
|
AnchorTop = "1";
|
|
|
|
|
AnchorBottom = "0";
|
|
|
|
|
AnchorLeft = "1";
|
|
|
|
|
AnchorRight = "0";
|
|
|
|
|
text = "myCubemap 1";
|
|
|
|
|
maxLength = "1024";
|
2025-08-03 12:03:02 -05:00
|
|
|
AltCommand = "CubemapEditor.editCubemapName($ThisControl.getText());";
|
2019-09-13 00:27:48 -05:00
|
|
|
};
|
|
|
|
|
new GuiButtonCtrl(){
|
|
|
|
|
Profile = "ToolsGuiButtonProfile";
|
|
|
|
|
position = "339 216";
|
|
|
|
|
Extent = "74 24";
|
|
|
|
|
text = "Select";
|
2025-08-03 12:03:02 -05:00
|
|
|
command = "CubemapEditor.selectCubemap();"; // needs hookup use selected cubemap
|
2019-09-13 00:27:48 -05:00
|
|
|
};
|
|
|
|
|
new GuiButtonCtrl(){
|
|
|
|
|
Profile = "ToolsGuiButtonProfile";
|
|
|
|
|
position = "417 216";
|
|
|
|
|
Extent = "52 24";
|
|
|
|
|
text = "Cancel";
|
2025-08-03 12:03:02 -05:00
|
|
|
command = "CubemapEditor.hideCubemapEditor(true);"; // needs hookup Cancel
|
2019-09-13 00:27:48 -05:00
|
|
|
};
|
2025-08-03 12:03:02 -05:00
|
|
|
new GuiScrollCtrl(cubemapEd_availableCubemapScroller) {
|
2019-09-13 00:27:48 -05:00
|
|
|
canSaveDynamicFields = "0";
|
|
|
|
|
Enabled = "1";
|
|
|
|
|
isContainer = "1";
|
|
|
|
|
Profile = "ToolsGuiScrollProfile";
|
|
|
|
|
HorizSizing = "right";
|
|
|
|
|
VertSizing = "bottom";
|
|
|
|
|
position = "5 40";
|
|
|
|
|
Extent = "154 203";
|
|
|
|
|
MinExtent = "8 2";
|
|
|
|
|
canSave = "1";
|
|
|
|
|
Visible = "1";
|
|
|
|
|
hovertime = "1000";
|
|
|
|
|
willFirstRespond = "1";
|
|
|
|
|
hScrollBar = "alwaysOff";
|
|
|
|
|
vScrollBar = "dynamic";
|
|
|
|
|
lockHorizScroll = "true";
|
|
|
|
|
lockVertScroll = "false";
|
|
|
|
|
constantThumbHeight = "0";
|
|
|
|
|
childMargin = "0 0";
|
|
|
|
|
|
2025-08-03 12:03:02 -05:00
|
|
|
new GuiListBoxCtrl(cubemapEd_availableCubemapList) {
|
2019-09-13 00:27:48 -05:00
|
|
|
canSaveDynamicFields = "0";
|
|
|
|
|
Enabled = "1";
|
|
|
|
|
isContainer = "0";
|
|
|
|
|
Profile = "ToolsGuiListBoxProfile";
|
|
|
|
|
HorizSizing = "right";
|
|
|
|
|
VertSizing = "bottom";
|
|
|
|
|
position = "2 2";
|
|
|
|
|
Extent = "128 2";
|
|
|
|
|
MinExtent = "8 2";
|
|
|
|
|
canSave = "1";
|
|
|
|
|
Visible = "1";
|
|
|
|
|
hovertime = "1000";
|
|
|
|
|
AllowMultipleSelections = "0";
|
|
|
|
|
fitParentWidth = "1";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
new GuiTextCtrl(){
|
|
|
|
|
Profile = "ToolsGuiTextProfile";
|
|
|
|
|
position = "6 22";
|
|
|
|
|
Extent = "67 16";
|
|
|
|
|
text = "Cubemaps";
|
|
|
|
|
};
|
|
|
|
|
// ------------------------------ Right X Positive ------------------------------------
|
2025-08-03 12:03:02 -05:00
|
|
|
new GuiBitmapCtrl(cubemapEd_XPos) {
|
2019-09-13 00:27:48 -05:00
|
|
|
canSaveDynamicFields = "0";
|
|
|
|
|
Enabled = "1";
|
|
|
|
|
isContainer = "0";
|
|
|
|
|
Profile = "ToolsGuiDefaultProfile";
|
|
|
|
|
HorizSizing = "right";
|
|
|
|
|
VertSizing = "bottom";
|
|
|
|
|
position = "299 106";
|
|
|
|
|
Extent = "64 64";
|
|
|
|
|
MinExtent = "8 2";
|
|
|
|
|
canSave = "1";
|
|
|
|
|
Visible = "1";
|
|
|
|
|
hovertime = "1000";
|
2021-07-19 01:07:08 -05:00
|
|
|
bitmapAsset = "ToolsModule:unknownImage_image";
|
2019-09-13 00:27:48 -05:00
|
|
|
wrap = "0";
|
|
|
|
|
};
|
2025-08-03 12:03:02 -05:00
|
|
|
new GuiTextCtrl(cubeMapEd_xPosTxt) {
|
2019-09-13 00:27:48 -05:00
|
|
|
position = "304 110";
|
|
|
|
|
Extent = "57 10";
|
|
|
|
|
text = "+ X Right";
|
|
|
|
|
};
|
2025-08-03 12:03:02 -05:00
|
|
|
new GuiBitmapButtonCtrl(cubeMapEd_updateXPOSImg) {
|
2019-09-13 00:27:48 -05:00
|
|
|
canSaveDynamicFields = "0";
|
|
|
|
|
Enabled = "1";
|
|
|
|
|
isContainer = "0";
|
|
|
|
|
Profile = "ToolsGuiDefaultProfile";
|
|
|
|
|
HorizSizing = "right";
|
|
|
|
|
VertSizing = "bottom";
|
|
|
|
|
position = "299 106";
|
|
|
|
|
Extent = "64 64";
|
|
|
|
|
MinExtent = "8 2";
|
|
|
|
|
canSave = "1";
|
|
|
|
|
Visible = "1";
|
2025-08-03 12:03:02 -05:00
|
|
|
Command = "CubemapEditor.editCubemapImage(\"0\", $ThisControl.bitmap );";
|
2019-09-13 00:27:48 -05:00
|
|
|
tooltipprofile = "ToolsGuiDefaultProfile";
|
|
|
|
|
ToolTip = "When using Static Cubemaps, select your CubeMap by clicking here.";
|
|
|
|
|
hovertime = "1000";
|
|
|
|
|
groupNum = "-1";
|
|
|
|
|
buttonType = "PushButton";
|
|
|
|
|
useMouseEvents = "0";
|
2021-08-02 04:20:27 -05:00
|
|
|
bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
|
2019-09-13 00:27:48 -05:00
|
|
|
};
|
|
|
|
|
// ------------------------------ X Negitive ------------------------------------
|
2025-08-03 12:03:02 -05:00
|
|
|
new GuiBitmapCtrl(cubemapEd_XNeg) {
|
2019-09-13 00:27:48 -05:00
|
|
|
canSaveDynamicFields = "0";
|
|
|
|
|
Enabled = "1";
|
|
|
|
|
isContainer = "0";
|
|
|
|
|
Profile = "ToolsGuiDefaultProfile";
|
|
|
|
|
HorizSizing = "right";
|
|
|
|
|
VertSizing = "bottom";
|
|
|
|
|
position = "167 106";
|
|
|
|
|
Extent = "64 64";
|
|
|
|
|
MinExtent = "8 2";
|
|
|
|
|
canSave = "1";
|
|
|
|
|
Visible = "1";
|
|
|
|
|
hovertime = "1000";
|
2021-07-19 01:07:08 -05:00
|
|
|
bitmapAsset = "ToolsModule:unknownImage_image";
|
2019-09-13 00:27:48 -05:00
|
|
|
wrap = "0";
|
|
|
|
|
};
|
2025-08-03 12:03:02 -05:00
|
|
|
new GuiTextCtrl(cubeMapEd_xNegTxt) {
|
2019-09-13 00:27:48 -05:00
|
|
|
position = "171 110";
|
|
|
|
|
Extent = "57 10";
|
|
|
|
|
text = "- X Left";
|
|
|
|
|
};
|
2025-08-03 12:03:02 -05:00
|
|
|
new GuiBitmapButtonCtrl(cubeMapEd_updateXNEGImg) {
|
2019-09-13 00:27:48 -05:00
|
|
|
canSaveDynamicFields = "0";
|
|
|
|
|
Enabled = "1";
|
|
|
|
|
isContainer = "0";
|
|
|
|
|
Profile = "ToolsGuiDefaultProfile";
|
|
|
|
|
HorizSizing = "right";
|
|
|
|
|
VertSizing = "bottom";
|
|
|
|
|
position = "167 106";
|
|
|
|
|
Extent = "64 64";
|
|
|
|
|
MinExtent = "8 2";
|
|
|
|
|
canSave = "1";
|
|
|
|
|
Visible = "1";
|
2025-08-03 12:03:02 -05:00
|
|
|
Command = "CubemapEditor.editCubemapImage(\"1\", $ThisControl.bitmap );";
|
2019-09-13 00:27:48 -05:00
|
|
|
tooltipprofile = "ToolsGuiDefaultProfile";
|
|
|
|
|
ToolTip = "When using Static Cubemaps, select your CubeMap by clicking here.";
|
|
|
|
|
hovertime = "1000";
|
|
|
|
|
groupNum = "-1";
|
|
|
|
|
buttonType = "PushButton";
|
|
|
|
|
useMouseEvents = "0";
|
2021-08-02 04:20:27 -05:00
|
|
|
bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
|
2019-09-13 00:27:48 -05:00
|
|
|
};
|
|
|
|
|
// ------------------------------ Y Positive ------------------------------------
|
2025-08-03 12:03:02 -05:00
|
|
|
new GuiBitmapCtrl(cubemapEd_YPos) {
|
2019-09-13 00:27:48 -05:00
|
|
|
canSaveDynamicFields = "0";
|
|
|
|
|
Enabled = "1";
|
|
|
|
|
isContainer = "0";
|
|
|
|
|
Profile = "ToolsGuiDefaultProfile";
|
|
|
|
|
HorizSizing = "right";
|
|
|
|
|
VertSizing = "bottom";
|
|
|
|
|
position = "233 172";
|
|
|
|
|
Extent = "64 64";
|
|
|
|
|
MinExtent = "8 2";
|
|
|
|
|
canSave = "1";
|
|
|
|
|
Visible = "1";
|
|
|
|
|
hovertime = "1000";
|
2021-07-19 01:07:08 -05:00
|
|
|
bitmapAsset = "ToolsModule:unknownImage_image";
|
2019-09-13 00:27:48 -05:00
|
|
|
wrap = "0";
|
|
|
|
|
};
|
2025-08-03 12:03:02 -05:00
|
|
|
new GuiTextCtrl(cubeMapEd_yPosTxt) {
|
2019-09-13 00:27:48 -05:00
|
|
|
position = "237 175";
|
|
|
|
|
Extent = "57 10";
|
|
|
|
|
text = "+ Y Front";
|
|
|
|
|
};
|
2025-08-03 12:03:02 -05:00
|
|
|
new GuiBitmapButtonCtrl(cubeMapEd_updateYPOSImg) {
|
2019-09-13 00:27:48 -05:00
|
|
|
canSaveDynamicFields = "0";
|
|
|
|
|
Enabled = "1";
|
|
|
|
|
isContainer = "0";
|
|
|
|
|
Profile = "ToolsGuiDefaultProfile";
|
|
|
|
|
HorizSizing = "right";
|
|
|
|
|
VertSizing = "bottom";
|
|
|
|
|
position = "233 172";
|
|
|
|
|
Extent = "64 64";
|
|
|
|
|
MinExtent = "8 2";
|
|
|
|
|
canSave = "1";
|
|
|
|
|
Visible = "1";
|
2025-08-03 12:03:02 -05:00
|
|
|
Command = "CubemapEditor.editCubemapImage(\"3\", $ThisControl.bitmap );";
|
2019-09-13 00:27:48 -05:00
|
|
|
tooltipprofile = "ToolsGuiDefaultProfile";
|
|
|
|
|
ToolTip = "When using Static Cubemaps, select your CubeMap by clicking here.";
|
|
|
|
|
hovertime = "1000";
|
|
|
|
|
groupNum = "-1";
|
|
|
|
|
buttonType = "PushButton";
|
|
|
|
|
useMouseEvents = "0";
|
2021-08-02 04:20:27 -05:00
|
|
|
bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
|
2019-09-13 00:27:48 -05:00
|
|
|
};
|
|
|
|
|
// ------------------------------ Y Negitive ------------------------------------
|
2025-08-03 12:03:02 -05:00
|
|
|
new GuiBitmapCtrl(cubemapEd_YNeG) {
|
2019-09-13 00:27:48 -05:00
|
|
|
canSaveDynamicFields = "0";
|
|
|
|
|
Enabled = "1";
|
|
|
|
|
isContainer = "0";
|
|
|
|
|
Profile = "ToolsGuiDefaultProfile";
|
|
|
|
|
HorizSizing = "right";
|
|
|
|
|
VertSizing = "bottom";
|
|
|
|
|
position = "233 40";
|
|
|
|
|
Extent = "64 64";
|
|
|
|
|
MinExtent = "8 2";
|
|
|
|
|
canSave = "1";
|
|
|
|
|
Visible = "1";
|
|
|
|
|
hovertime = "1000";
|
2021-07-19 01:07:08 -05:00
|
|
|
bitmapAsset = "ToolsModule:unknownImage_image";
|
2019-09-13 00:27:48 -05:00
|
|
|
wrap = "0";
|
|
|
|
|
};
|
2025-08-03 12:03:02 -05:00
|
|
|
new GuiTextCtrl(cubeMapEd_yNegTxt) {
|
2019-09-13 00:27:48 -05:00
|
|
|
position = "237 44";
|
|
|
|
|
Extent = "57 10";
|
|
|
|
|
text = "- Y Back";
|
|
|
|
|
};
|
2025-08-03 12:03:02 -05:00
|
|
|
new GuiBitmapButtonCtrl(cubeMapEd_updateYNegImg) {
|
2019-09-13 00:27:48 -05:00
|
|
|
canSaveDynamicFields = "0";
|
|
|
|
|
Enabled = "1";
|
|
|
|
|
isContainer = "0";
|
|
|
|
|
Profile = "ToolsGuiDefaultProfile";
|
|
|
|
|
HorizSizing = "right";
|
|
|
|
|
VertSizing = "bottom";
|
|
|
|
|
position = "233 40";
|
|
|
|
|
Extent = "64 64";
|
|
|
|
|
MinExtent = "8 2";
|
|
|
|
|
canSave = "1";
|
|
|
|
|
Visible = "1";
|
2025-08-03 12:03:02 -05:00
|
|
|
Command = "CubemapEditor.editCubemapImage(\"2\", $ThisControl.bitmap );";
|
2019-09-13 00:27:48 -05:00
|
|
|
tooltipprofile = "ToolsGuiDefaultProfile";
|
|
|
|
|
ToolTip = "When using Static Cubemaps, select your CubeMap by clicking here.";
|
|
|
|
|
hovertime = "1000";
|
|
|
|
|
groupNum = "-1";
|
|
|
|
|
buttonType = "PushButton";
|
|
|
|
|
useMouseEvents = "0";
|
2021-08-02 04:20:27 -05:00
|
|
|
bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
|
2019-09-13 00:27:48 -05:00
|
|
|
};
|
|
|
|
|
// ------------------------------ Z Positive ------------------------------------
|
2025-08-03 12:03:02 -05:00
|
|
|
new GuiBitmapCtrl(cubemapEd_ZPos) {
|
2019-09-13 00:27:48 -05:00
|
|
|
canSaveDynamicFields = "0";
|
|
|
|
|
Enabled = "1";
|
|
|
|
|
isContainer = "0";
|
|
|
|
|
Profile = "ToolsGuiDefaultProfile";
|
|
|
|
|
HorizSizing = "right";
|
|
|
|
|
VertSizing = "bottom";
|
|
|
|
|
position = "233 106";
|
|
|
|
|
Extent = "64 64";
|
|
|
|
|
MinExtent = "8 2";
|
|
|
|
|
canSave = "1";
|
|
|
|
|
Visible = "1";
|
|
|
|
|
hovertime = "1000";
|
2021-07-19 01:07:08 -05:00
|
|
|
bitmapAsset = "ToolsModule:unknownImage_image";
|
2019-09-13 00:27:48 -05:00
|
|
|
wrap = "0";
|
|
|
|
|
};
|
2025-08-03 12:03:02 -05:00
|
|
|
new GuiTextCtrl(cubeMapEd_zPosTxt) {
|
2019-09-13 00:27:48 -05:00
|
|
|
position = "237 110";
|
|
|
|
|
Extent = "57 10";
|
|
|
|
|
text = "+ Z Top";
|
|
|
|
|
};
|
2025-08-03 12:03:02 -05:00
|
|
|
new GuiBitmapButtonCtrl(cubeMapEd_updateZPosImg) {
|
2019-09-13 00:27:48 -05:00
|
|
|
canSaveDynamicFields = "0";
|
|
|
|
|
Enabled = "1";
|
|
|
|
|
isContainer = "0";
|
|
|
|
|
Profile = "ToolsGuiDefaultProfile";
|
|
|
|
|
HorizSizing = "right";
|
|
|
|
|
VertSizing = "bottom";
|
|
|
|
|
position = "233 106";
|
|
|
|
|
Extent = "64 64";
|
|
|
|
|
MinExtent = "8 2";
|
|
|
|
|
canSave = "1";
|
|
|
|
|
Visible = "1";
|
2025-08-03 12:03:02 -05:00
|
|
|
Command = "CubemapEditor.editCubemapImage(\"4\", $ThisControl.bitmap );";
|
2019-09-13 00:27:48 -05:00
|
|
|
tooltipprofile = "ToolsGuiDefaultProfile";
|
|
|
|
|
ToolTip = "When using Static Cubemaps, select your CubeMap by clicking here.";
|
|
|
|
|
hovertime = "1000";
|
|
|
|
|
groupNum = "-1";
|
|
|
|
|
buttonType = "PushButton";
|
|
|
|
|
useMouseEvents = "0";
|
2021-08-02 04:20:27 -05:00
|
|
|
bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
|
2019-09-13 00:27:48 -05:00
|
|
|
};
|
|
|
|
|
// ------------------------------ Z Negitive ------------------------------------
|
2025-08-03 12:03:02 -05:00
|
|
|
new GuiBitmapCtrl(cubemapEd_ZNeg) {
|
2019-09-13 00:27:48 -05:00
|
|
|
canSaveDynamicFields = "0";
|
|
|
|
|
Enabled = "1";
|
|
|
|
|
isContainer = "0";
|
|
|
|
|
Profile = "ToolsGuiDefaultProfile";
|
|
|
|
|
HorizSizing = "right";
|
|
|
|
|
VertSizing = "bottom";
|
|
|
|
|
position = "365 106";
|
|
|
|
|
Extent = "64 64";
|
|
|
|
|
MinExtent = "8 2";
|
|
|
|
|
canSave = "1";
|
|
|
|
|
Visible = "1";
|
|
|
|
|
hovertime = "1000";
|
2021-07-19 01:07:08 -05:00
|
|
|
bitmapAsset = "ToolsModule:unknownImage_image";
|
2019-09-13 00:27:48 -05:00
|
|
|
wrap = "0";
|
|
|
|
|
};
|
2025-08-03 12:03:02 -05:00
|
|
|
new GuiTextCtrl(cubeMapEd_zNegTxt) {
|
2019-09-13 00:27:48 -05:00
|
|
|
position = "369 110";
|
|
|
|
|
Extent = "57 10";
|
|
|
|
|
text = "- Z Bottom";
|
|
|
|
|
};
|
2025-08-03 12:03:02 -05:00
|
|
|
new GuiBitmapButtonCtrl(cubeMapEd_updateZNegImg) {
|
2019-09-13 00:27:48 -05:00
|
|
|
canSaveDynamicFields = "0";
|
|
|
|
|
Enabled = "1";
|
|
|
|
|
isContainer = "0";
|
|
|
|
|
Profile = "ToolsGuiDefaultProfile";
|
|
|
|
|
HorizSizing = "right";
|
|
|
|
|
VertSizing = "bottom";
|
|
|
|
|
position = "365 106";
|
|
|
|
|
Extent = "64 64";
|
|
|
|
|
MinExtent = "8 2";
|
|
|
|
|
canSave = "1";
|
|
|
|
|
Visible = "1";
|
2025-08-03 12:03:02 -05:00
|
|
|
Command = "CubemapEditor.editCubemapImage(\"5\", $ThisControl.bitmap );";
|
2019-09-13 00:27:48 -05:00
|
|
|
tooltipprofile = "ToolsGuiDefaultProfile";
|
|
|
|
|
ToolTip = "When using Static Cubemaps, select your CubeMap by clicking here.";
|
|
|
|
|
hovertime = "1000";
|
|
|
|
|
groupNum = "-1";
|
|
|
|
|
buttonType = "PushButton";
|
|
|
|
|
useMouseEvents = "0";
|
2021-08-02 04:20:27 -05:00
|
|
|
bitmapAsset = "ToolsModule:cubemapBtnBorder_n_image";
|
2019-09-13 00:27:48 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// Create New Cubemap
|
|
|
|
|
new GuiBitmapButtonCtrl() {
|
|
|
|
|
canSaveDynamicFields = "0";
|
|
|
|
|
Enabled = "1";
|
|
|
|
|
isContainer = "0";
|
|
|
|
|
Profile = "ToolsGuiDefaultProfile";
|
|
|
|
|
HorizSizing = "right";
|
|
|
|
|
VertSizing = "top";
|
|
|
|
|
position = "128 23";
|
|
|
|
|
Extent = "17 17";
|
|
|
|
|
MinExtent = "8 2";
|
|
|
|
|
canSave = "1";
|
|
|
|
|
Visible = "1";
|
2025-08-03 12:03:02 -05:00
|
|
|
Command = "addCubemapWindow.setVisible(1);"; // -------------- Needs Hookup Create New Cubemap
|
2019-09-13 00:27:48 -05:00
|
|
|
hovertime = "1000";
|
|
|
|
|
tooltip = "Create New Cubemap";
|
2021-08-02 04:20:27 -05:00
|
|
|
bitmapAsset = "ToolsModule:new_n_image";
|
2019-09-13 00:27:48 -05:00
|
|
|
groupNum = "-1";
|
|
|
|
|
buttonType = "PushButton";
|
|
|
|
|
useMouseEvents = "0";
|
|
|
|
|
};
|
|
|
|
|
new GuiBitmapButtonCtrl() {
|
|
|
|
|
canSaveDynamicFields = "0";
|
|
|
|
|
Enabled = "1";
|
|
|
|
|
isContainer = "0";
|
|
|
|
|
Profile = "ToolsGuiDefaultProfile";
|
|
|
|
|
HorizSizing = "right";
|
|
|
|
|
VertSizing = "top";
|
|
|
|
|
position = "143 23";
|
|
|
|
|
Extent = "17 17";
|
|
|
|
|
MinExtent = "8 2";
|
|
|
|
|
canSave = "1";
|
|
|
|
|
Visible = "1";
|
2025-08-03 12:03:02 -05:00
|
|
|
Command = "CubemapEditor.showDeleteCubemapDialog();"; // -------------- Needs Hookup Delete Cubemap
|
2019-09-13 00:27:48 -05:00
|
|
|
hovertime = "1000";
|
|
|
|
|
tooltip = "Delete Cubemap";
|
2021-08-02 04:20:27 -05:00
|
|
|
bitmapAsset = "ToolsModule:delete_n_image";
|
2019-09-13 00:27:48 -05:00
|
|
|
groupNum = "-1";
|
|
|
|
|
buttonType = "PushButton";
|
|
|
|
|
useMouseEvents = "0";
|
|
|
|
|
};
|
|
|
|
|
new GuiBitmapButtonCtrl() {
|
|
|
|
|
internalName = "saveCubemap";
|
|
|
|
|
canSaveDynamicFields = "0";
|
|
|
|
|
Enabled = "1";
|
|
|
|
|
isContainer = "0";
|
|
|
|
|
Profile = "ToolsGuiDefaultProfile";
|
|
|
|
|
HorizSizing = "right";
|
|
|
|
|
VertSizing = "top";
|
|
|
|
|
position = "106 23";
|
|
|
|
|
Extent = "17 17";
|
|
|
|
|
MinExtent = "8 2";
|
|
|
|
|
canSave = "1";
|
|
|
|
|
Visible = "1";
|
2025-08-03 12:03:02 -05:00
|
|
|
Command = "CubemapEditor.showSaveCubemapDialog();"; // -------------- Needs Hookup Save Cubemap
|
2019-09-13 00:27:48 -05:00
|
|
|
hovertime = "1000";
|
|
|
|
|
tooltip = "Save Cubemap";
|
2021-08-02 04:20:27 -05:00
|
|
|
bitmapAsset = "ToolsModule:save_icon_n_image";
|
2019-09-13 00:27:48 -05:00
|
|
|
groupNum = "-1";
|
|
|
|
|
buttonType = "PushButton";
|
|
|
|
|
useMouseEvents = "0";
|
|
|
|
|
};
|
|
|
|
|
};
|
2025-08-03 12:03:02 -05:00
|
|
|
|
|
|
|
|
new GuiWindowCtrl(addCubemapWindow) {
|
|
|
|
|
canSaveDynamicFields = "0";
|
|
|
|
|
isContainer = "1";
|
|
|
|
|
Profile = "ToolsGuiWindowProfile";
|
|
|
|
|
HorizSizing = "center";
|
|
|
|
|
VertSizing = "center";
|
|
|
|
|
position = "362 333";
|
|
|
|
|
Extent = "300 99";
|
|
|
|
|
MinExtent = "48 92";
|
|
|
|
|
canSave = "1";
|
|
|
|
|
Visible = "0";
|
|
|
|
|
tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
|
|
hovertime = "1000";
|
|
|
|
|
Margin = "0 0 0 0";
|
|
|
|
|
Padding = "0 0 0 0";
|
|
|
|
|
AnchorTop = "1";
|
|
|
|
|
AnchorBottom = "0";
|
|
|
|
|
AnchorLeft = "1";
|
|
|
|
|
AnchorRight = "0";
|
|
|
|
|
resizeWidth = "1";
|
|
|
|
|
resizeHeight = "1";
|
|
|
|
|
canMove = "1";
|
|
|
|
|
canClose = "0";
|
|
|
|
|
canMinimize = "0";
|
|
|
|
|
canMaximize = "0";
|
|
|
|
|
minSize = "50 50";
|
|
|
|
|
EdgeSnap = "1";
|
|
|
|
|
text = "Create Cubemap";
|
|
|
|
|
|
|
|
|
|
new GuiTextEditCtrl() {
|
|
|
|
|
canSaveDynamicFields = "0";
|
|
|
|
|
internalName = "cubemapName";
|
|
|
|
|
isContainer = "0";
|
|
|
|
|
Profile = "ToolsGuiTextEditProfile";
|
|
|
|
|
HorizSizing = "right";
|
|
|
|
|
VertSizing = "bottom";
|
|
|
|
|
position = "96 35";
|
|
|
|
|
Extent = "196 18";
|
|
|
|
|
MinExtent = "8 2";
|
|
|
|
|
canSave = "1";
|
|
|
|
|
Visible = "1";
|
|
|
|
|
tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
|
|
hovertime = "1000";
|
|
|
|
|
Margin = "0 0 0 0";
|
|
|
|
|
Padding = "0 0 0 0";
|
|
|
|
|
AnchorTop = "1";
|
|
|
|
|
AnchorBottom = "0";
|
|
|
|
|
AnchorLeft = "1";
|
|
|
|
|
AnchorRight = "0";
|
|
|
|
|
maxLength = "1024";
|
|
|
|
|
historySize = "0";
|
|
|
|
|
password = "0";
|
|
|
|
|
tabComplete = "0";
|
|
|
|
|
sinkAllKeyEvents = "0";
|
|
|
|
|
AltCommand = "";
|
|
|
|
|
passwordMask = "*";
|
|
|
|
|
};
|
|
|
|
|
new GuiTextCtrl() {
|
|
|
|
|
canSaveDynamicFields = "0";
|
|
|
|
|
isContainer = "0";
|
|
|
|
|
Profile = "ToolsGuiTextProfile";
|
|
|
|
|
HorizSizing = "right";
|
|
|
|
|
VertSizing = "bottom";
|
|
|
|
|
position = "12 36";
|
|
|
|
|
Extent = "77 16";
|
|
|
|
|
MinExtent = "8 2";
|
|
|
|
|
canSave = "1";
|
|
|
|
|
Visible = "1";
|
|
|
|
|
tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
|
|
hovertime = "1000";
|
|
|
|
|
Margin = "0 0 0 0";
|
|
|
|
|
Padding = "0 0 0 0";
|
|
|
|
|
AnchorTop = "1";
|
|
|
|
|
AnchorBottom = "0";
|
|
|
|
|
AnchorLeft = "1";
|
|
|
|
|
AnchorRight = "0";
|
|
|
|
|
maxLength = "1024";
|
|
|
|
|
text = "Cubemap Name";
|
|
|
|
|
};
|
|
|
|
|
new GuiButtonCtrl() {
|
|
|
|
|
canSaveDynamicFields = "0";
|
|
|
|
|
isContainer = "0";
|
|
|
|
|
Profile = "ToolsGuiButtonProfile";
|
|
|
|
|
HorizSizing = "right";
|
|
|
|
|
VertSizing = "bottom";
|
|
|
|
|
position = "96 68";
|
|
|
|
|
Extent = "126 22";
|
|
|
|
|
MinExtent = "8 2";
|
|
|
|
|
canSave = "1";
|
|
|
|
|
Visible = "1";
|
|
|
|
|
tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
|
|
hovertime = "1000";
|
|
|
|
|
groupNum = "-1";
|
|
|
|
|
buttonType = "PushButton";
|
|
|
|
|
useMouseEvents = "0";
|
|
|
|
|
text = "Create";
|
|
|
|
|
Command = "CubemapEditor.addCubemap( addCubemapWindow-->cubemapName.getText() );addCubemapWindow.setVisible(0);";
|
|
|
|
|
};
|
|
|
|
|
new GuiButtonCtrl() {
|
|
|
|
|
canSaveDynamicFields = "0";
|
|
|
|
|
isContainer = "0";
|
|
|
|
|
Profile = "ToolsGuiButtonProfile";
|
|
|
|
|
HorizSizing = "right";
|
|
|
|
|
VertSizing = "bottom";
|
|
|
|
|
position = "228 68";
|
|
|
|
|
Extent = "64 22";
|
|
|
|
|
MinExtent = "8 2";
|
|
|
|
|
canSave = "1";
|
|
|
|
|
Visible = "1";
|
|
|
|
|
tooltipprofile = "ToolsGuiToolTipProfile";
|
|
|
|
|
hovertime = "1000";
|
|
|
|
|
groupNum = "-1";
|
|
|
|
|
buttonType = "PushButton";
|
|
|
|
|
useMouseEvents = "0";
|
|
|
|
|
text = "Cancel";
|
|
|
|
|
Command = "addCubemapWindow.setVisible(0);";
|
|
|
|
|
};
|
|
|
|
|
};
|
2021-07-19 01:07:08 -05:00
|
|
|
};
|