| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796 |
- //--- OBJECT WRITE BEGIN ---
- %guiContent = new GuiControl() {
- canSaveDynamicFields = "0";
- internalName = "MatEdPreviewWindowContainer";
- 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 GuiWindowCollapseCtrl(MaterialEditorPreviewWindow) {
- canSaveDynamicFields = "0";
- internalName = "MatEdPreviewWindow";
- Enabled = "1";
- isContainer = "1";
- Profile = "ToolsGuiWindowProfile";
- HorizSizing = "windowRelative";
- VertSizing = "windowRelative";
- Extent = "210 251 ";
- MinExtent = "210 150";
- Position = getWord($pref::Video::mode, 0) - 209
- SPC getWord(EditorGuiToolbar.extent, 1)-1;
- canSave = "1";
- Visible = "1";
- hovertime = "1000";
- Margin = "4 4 4 4";
- 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";
- closeCommand = "MaterialEditorPreviewWindow.setVisible(false);";
- minSize = "50 50";
- EdgeSnap = "1";
- text = "Material Preview";
-
- /*new GuiContainer(MaterialEditorPreviewPane) {
- canSaveDynamicFields = "0";
- Enabled = "1";
- isContainer = "1"; //1
- Profile = "ToolsGuiDefaultProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "4 23";
- Extent = "200 221";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- Docking = "Client";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";*/
-
- new GuiContainer(matEd_previewPanel) {
- canSaveDynamicFields = "0";
- Enabled = "1";
- isContainer = "1";
- Profile = "ToolsGuiDefaultProfile";
- HorizSizing = "width";
- VertSizing = "height";
- position = "4 45";
- Extent = "202 202";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- hovertime = "1000";
- Docking = "Client";
- Margin = "24 1 3 3 ";
-
- new GuiSwatchButtonCtrl(matEd_previewBackground) {
- canSaveDynamicFields = "0";
- Enabled = "1";
- isContainer = "0";
- Profile = "GuiInspectorSwatchButtonProfile";
- HorizSizing = "width";
- VertSizing = "height";
- position = "-1 -1";
- Extent = "204 204";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- hovertime = "1000";
- color = "0 0 0 .8";
- //bitmap = "tools/materialEditor/gui/gridTiny2.PNG";
- //wrap = "1";
- };
- new GuiContainer(){ // this is blocking the mouse imput to the swatch imput behind it
- HorizSizing = "width";
- VertSizing = "height";
- Position = "-1 -1";
- Extent = "204 204";
- };
- new GuiMaterialPreview(matEd_previewObjectView) {
- canSaveDynamicFields = "0";
- Enabled = "1";
- isContainer = "0";
- Profile = "ToolsGuiDefaultProfile";
- HorizSizing = "width";
- VertSizing = "height";
- position = "1 1";
- Extent = "199 199";
- 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";
- cameraZRot = "0";
- forceFOV = "0";
- };
- //};
- };
-
- new GuiPopUpMenuCtrl(matEd_quickPreview_Popup) {
- canSaveDynamicFields = "0";
- Enabled = "1";
- isContainer = "0";
- Profile = "ToolsGuiPopUpMenuProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "4 24";
- Extent = "67 18";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- Command = "MaterialEditorGui.updatePreviewObject();";
- ToolTip = "Changes the Preview Mesh";
- hovertime = "1000";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- text = "Sphere";
- maxLength = "1024";
- maxPopupHeight = "200";
- sbUsesNAColor = "0";
- reverseTextList = "0";
- bitmapBounds = "16 16";
- };
- new GuiSwatchButtonCtrl(MaterialPreviewBackgroundPicker) { // Background Color
- canSaveDynamicFields = "0";
- Enabled = "1";
- isContainer = "0";
- Profile = "GuiInspectorSwatchButtonProfile";
- HorizSizing = "left";
- VertSizing = "top";
- position = "189 229";
- Extent = "14 14";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- Command = "getColorF($thisControl.color, \"MaterialEditorGui.updatePreviewBackground\");";
- color = "0 0 0 .8";
- hovertime = "1000";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- };
-
- // Ambient light color picker
- new GuiSwatchButtonCtrl(matEd_ambientLightColorPicker) {
- canSaveDynamicFields = "0";
- Enabled = "1";
- color = "1 1 1 1";
- isContainer = "0";
- Profile = "GuiInspectorSwatchButtonProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "81 28";
- Extent = "14 14";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- Command = "getColorF($ThisControl.color, \"MaterialEditorGui.updateAmbientColor\");";
- hovertime = "1000";
- groupNum = "-1";
- ToolTip ="Change Ambient Light Color";
- buttonType = "PushButton";
- useMouseEvents = "0";
- };
- // Light color picker
- new GuiSwatchButtonCtrl(matEd_lightColorPicker) {
- canSaveDynamicFields = "0";
- Enabled = "1";
- color = "1 1 1 1";
- isContainer = "0";
- Profile = "GuiInspectorSwatchButtonProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "75 23";
- Extent = "14 14";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- Command = "getColorF($ThisControl.color, \"MaterialEditorGui.updateLightColor\");";
- hovertime = "1000";
- groupNum = "-1";
- ToolTip ="Change Normal Light Color";
- buttonType = "PushButton";
- useMouseEvents = "0";
- };
-
- new GuiCheckboxCtrl(){
- position = "108 25";
- Extent = "98 18";
- HorizSizing = "left";
- profile = "ToolsGuiCheckBoxProfile";
- Variable = "MaterialEditorGui.livePreview";
- Command = "MaterialEditorGui.updateLivePreview($ThisControl.getValue());";
- text ="Preview in World";
- };
- };
- new GuiWindowCtrl(matEd_cubemapEditor) {
- canSaveDynamicFields = "0";
- Enabled = "1";
- isContainer = "1";
- Profile = "ToolsGuiWindowProfile";
- HorizSizing = "center";
- VertSizing = "center";
- position = "200 257";
- Extent = "478 248";
- MinExtent = "478 248";
- canSave = "1";
- Visible = "0";
- 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";
- closeCommand = "MaterialEditorGui.hideCubemapEditor(true);";
- text = "Cubemap Editor";
- new GuiTextCtrl(){
- Profile = "ToolsGuiTextProfile";
- position = "307 40";
- Extent = "30 16";
- text = "Name";
- };
- new GuiTextEditCtrl(matEd_cubemapEd_activeCubemapNameTxt) {
- 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";
- AltCommand = "MaterialEditorGui.editCubemapName($ThisControl.getText());";
- };
- new GuiButtonCtrl(){
- Profile = "ToolsGuiButtonProfile";
- position = "339 216";
- Extent = "74 24";
- text = "Select";
- command = "MaterialEditorGui.selectCubemap();"; // needs hookup use selected cubemap
- };
- new GuiButtonCtrl(){
- Profile = "ToolsGuiButtonProfile";
- position = "417 216";
- Extent = "52 24";
- text = "Cancel";
- command = "MaterialEditorGui.hideCubemapEditor(true);"; // needs hookup Cancel
- };
- new GuiScrollCtrl(matEd_cubemapEd_availableCubemapScroller) {
- 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";
- new GuiListBoxCtrl(matEd_cubemapEd_availableCubemapList) {
- 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 ------------------------------------
- new GuiBitmapCtrl(matEd_cubemapEd_XPos) {
- 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";
- bitmap = "tools/materialEditor/gui/unknownImage";
- wrap = "0";
- };
- new GuiTextCtrl(matEd_cubeMapEd_xPosTxt) {
- position = "304 110";
- Extent = "57 10";
- text = "+ X Right";
- };
- new GuiBitmapButtonCtrl(matEd_cubeMapEd_updateXPOSImg) {
- 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";
- Command = "MaterialEditorGui.editCubemapImage(\"0\", $ThisControl.bitmap );";
- tooltipprofile = "ToolsGuiDefaultProfile";
- ToolTip = "When using Static Cubemaps, select your CubeMap by clicking here.";
- hovertime = "1000";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- bitmap = "tools/materialEditor/gui/cubemapBtnBorder";
- };
- // ------------------------------ X Negitive ------------------------------------
- new GuiBitmapCtrl(matEd_cubemapEd_XNeg) {
- 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";
- bitmap = "tools/materialEditor/gui/unknownImage";
- wrap = "0";
- };
- new GuiTextCtrl(matEd_cubeMapEd_xNegTxt) {
- position = "171 110";
- Extent = "57 10";
- text = "- X Left";
- };
- new GuiBitmapButtonCtrl(matEd_cubeMapEd_updateXNEGImg) {
- 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";
- Command = "MaterialEditorGui.editCubemapImage(\"1\", $ThisControl.bitmap );";
- tooltipprofile = "ToolsGuiDefaultProfile";
- ToolTip = "When using Static Cubemaps, select your CubeMap by clicking here.";
- hovertime = "1000";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- bitmap = "tools/materialEditor/gui/cubemapBtnBorder";
- };
- // ------------------------------ Y Positive ------------------------------------
- new GuiBitmapCtrl(matEd_cubemapEd_YPos) {
- 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";
- bitmap = "tools/materialEditor/gui/unknownImage";
- wrap = "0";
- };
- new GuiTextCtrl(matEd_cubeMapEd_yPosTxt) {
- position = "237 175";
- Extent = "57 10";
- text = "+ Y Front";
- };
- new GuiBitmapButtonCtrl(matEd_cubeMapEd_updateYPOSImg) {
- 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";
- Command = "MaterialEditorGui.editCubemapImage(\"3\", $ThisControl.bitmap );";
- tooltipprofile = "ToolsGuiDefaultProfile";
- ToolTip = "When using Static Cubemaps, select your CubeMap by clicking here.";
- hovertime = "1000";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- bitmap = "tools/materialEditor/gui/cubemapBtnBorder";
- };
- // ------------------------------ Y Negitive ------------------------------------
- new GuiBitmapCtrl(matEd_cubemapEd_YNeG) {
- 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";
- bitmap = "tools/materialEditor/gui/unknownImage";
- wrap = "0";
- };
- new GuiTextCtrl(matEd_cubeMapEd_yNegTxt) {
- position = "237 44";
- Extent = "57 10";
- text = "- Y Back";
- };
- new GuiBitmapButtonCtrl(matEd_cubeMapEd_updateYNegImg) {
- 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";
- Command = "MaterialEditorGui.editCubemapImage(\"2\", $ThisControl.bitmap );";
- tooltipprofile = "ToolsGuiDefaultProfile";
- ToolTip = "When using Static Cubemaps, select your CubeMap by clicking here.";
- hovertime = "1000";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- bitmap = "tools/materialEditor/gui/cubemapBtnBorder";
- };
- // ------------------------------ Z Positive ------------------------------------
- new GuiBitmapCtrl(matEd_cubemapEd_ZPos) {
- 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";
- bitmap = "tools/materialEditor/gui/unknownImage";
- wrap = "0";
- };
- new GuiTextCtrl(matEd_cubeMapEd_zPosTxt) {
- position = "237 110";
- Extent = "57 10";
- text = "+ Z Top";
- };
- new GuiBitmapButtonCtrl(matEd_cubeMapEd_updateZPosImg) {
- 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";
- Command = "MaterialEditorGui.editCubemapImage(\"4\", $ThisControl.bitmap );";
- tooltipprofile = "ToolsGuiDefaultProfile";
- ToolTip = "When using Static Cubemaps, select your CubeMap by clicking here.";
- hovertime = "1000";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- bitmap = "tools/materialEditor/gui/cubemapBtnBorder";
- };
- // ------------------------------ Z Negitive ------------------------------------
- new GuiBitmapCtrl(matEd_cubemapEd_ZNeg) {
- 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";
- bitmap = "tools/materialEditor/gui/unknownImage";
- wrap = "0";
- };
- new GuiTextCtrl(matEd_cubeMapEd_zNegTxt) {
- position = "369 110";
- Extent = "57 10";
- text = "- Z Bottom";
- };
- new GuiBitmapButtonCtrl(matEd_cubeMapEd_updateZNegImg) {
- 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";
- Command = "MaterialEditorGui.editCubemapImage(\"5\", $ThisControl.bitmap );";
- tooltipprofile = "ToolsGuiDefaultProfile";
- ToolTip = "When using Static Cubemaps, select your CubeMap by clicking here.";
- hovertime = "1000";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- bitmap = "tools/materialEditor/gui/cubemapBtnBorder";
- };
- // 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";
- Command = "matEd_addCubemapWindow.setVisible(1);"; // -------------- Needs Hookup Create New Cubemap
- hovertime = "1000";
- tooltip = "Create New Cubemap";
- bitmap = "tools/gui/images/new";
- 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";
- Command = "MaterialEditorGui.showDeleteCubemapDialog();"; // -------------- Needs Hookup Delete Cubemap
- hovertime = "1000";
- tooltip = "Delete Cubemap";
- bitmap = "tools/gui/images/delete";
- 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";
- Command = "MaterialEditorGui.showSaveCubemapDialog();"; // -------------- Needs Hookup Save Cubemap
- hovertime = "1000";
- tooltip = "Save Cubemap";
- bitmap = "tools/gui/images/save-icon";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- };
- };
- new GuiWindowCtrl(matEd_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 = "MaterialEditorGui.addCubemap( matEd_addCubemapWindow-->cubemapName.getText() );matEd_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 = "matEd_addCubemapWindow.setVisible(0);";
- };
- };
- };
- //--- OBJECT WRITE END ---
|