| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456 |
- //--- OBJECT WRITE BEGIN ---
- $guiContent = new GuiMeshRoadEditorCtrl(MeshRoadEditorGui,EditorGuiGroup) {
- canSaveDynamicFields = "0";
- Enabled = "1";
- isContainer = "1";
- Profile = "MeshRoadEditorProfile";
- HorizSizing = "width";
- VertSizing = "height";
- Position = "0 0";
- Extent = "800 600";
- MinExtent = "8 8";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- Docking = "None";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "0";
- AnchorBottom = "0";
- AnchorLeft = "0";
- AnchorRight = "0";
- cameraZRot = "0";
- forceFOV = "0";
- renderMissionArea = "0";
- missionAreaFillColor = "255 0 0 20";
- missionAreaFrameColor = "255 0 0 128";
- allowBorderMove = "0";
- borderMovePixelSize = "20";
- borderMoveSpeed = "0.1";
- consoleFrameColor = "255 0 0 255";
- consoleFillColor = "0 0 0 0";
- consoleSphereLevel = "1";
- consoleCircleSegments = "32";
- consoleLineWidth = "1";
- GizmoProfile = "GlobalGizmoProfile";
- DefaultWidth = "10";
- HoverSplineColor = "0 255 0 255";
- SelectedSplineColor = "255 0 255 255";
- HoverNodeColor = "255 255 255 255";
- new GuiWindowCollapseCtrl(MeshRoadEditorTreeWindow) {
- canCollapse = "0";
- internalName = "";
- canSaveDynamicFields = "0";
- Enabled = "1";
- isContainer = "1";
- Profile = "ToolsGuiWindowProfile";
- HorizSizing = "windowRelative";
- VertSizing = "windowRelative";
- Position = getWord($pref::Video::mode, 0) - 360
- SPC getWord(EditorGuiToolbar.extent, 1) + 6;
- Extent = "360 300";
- MinExtent = "300 100";
- 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";
- resizeWidth = "1";
- resizeHeight = "1";
- canMove = "0";
- canClose = "0";
- canMinimize = "0";
- canMaximize = "0";
- minSize = "50 50";
- closeCommand = "EditorGui.setEditor( WorldEditorInspectorPlugin );";
- EdgeSnap = "1";
- text = ":: Mesh Road Editor - Roads";
-
- new GuiContainer(MeshRoadEditorRoadsPanel){
- profile = "ToolsGuiDefaultProfile";
- Position = "5 25";
- Extent = "200 120";
- Docking = "Client";
- Margin = "3 1 3 3 ";
- HorizSizing = "width";
- VertSizing = "height";
- isContainer = "1";
-
- new GuiScrollCtrl() {
- canSaveDynamicFields = "0";
- Enabled = "1";
- isContainer = "1";
- Profile = "GuiEditorScrollProfile";
- HorizSizing = "width";
- VertSizing = "height";
- Position = "0 0";
- Extent = "200 118";
- MinExtent = "8 8";
- canSave = "1";
- isDecoy = "0";
- 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";
- willFirstRespond = "1";
- hScrollBar = "alwaysOff";
- vScrollBar = "dynamic";
- lockHorizScroll = "true";
- lockVertScroll = "false";
- constantThumbHeight = "0";
- childMargin = "0 0";
- mouseWheelScrollSpeed = "-1";
- new GuiTreeViewCtrl(MeshRoadTreeView) {
- canSaveDynamicFields = "0";
- Enabled = "1";
- isContainer = "1";
- Profile = "ToolsGuiTreeViewProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "1 1";
- Extent = "193 21";
- MinExtent = "8 8";
- canSave = "1";
- Visible = "1";
- hovertime = "1000";
- tabSize = "16";
- textOffset = "2";
- fullRowSelect = "0";
- itemHeight = "21";
- destroyTreeOnSleep = "1";
- MouseDragging = "0";
- MultipleSelections = "0";
- DeleteObjectAllowed = "1";
- DragToItemAllowed = "0";
- showRoot = "0";
- internalNamesOnly = "0";
- };
- };
- };
- // window / panel buttons
- new GuiBitmapButtonCtrl(MeshRoadEditorGui_UnDockBtn) {
- canSaveDynamicFields = "0";
- internalName = "";
- Enabled = "1";
- isContainer = "0";
- Profile = "ToolsGuiButtonProfile";
- HorizSizing = "left";
- VertSizing = "bottom";
- Position = "330 1";
- Extent = "18 18";
- MinExtent = "8 8";
- canSave = "1";
- Visible = "0";
- Command = "MeshRoadEditorGui.releaseSidePanel();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Detach Sidepanel";
- hovertime = "1000";
- bitmapAsset = "ToolsModule:panel_undock_n_image";
- text = "";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- };
- new GuiBitmapButtonCtrl(MeshRoadEditorGui_DockBtn) {
- canSaveDynamicFields = "0";
- internalName = "";
- Enabled = "1";
- isContainer = "0";
- Profile = "ToolsGuiButtonProfile";
- HorizSizing = "left";
- VertSizing = "bottom";
- Position = "330 1";
- Extent = "18 18";
- MinExtent = "8 8";
- canSave = "1";
- Visible = "0";
- Command = "MeshRoadEditorGui.dockSidePanel();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Dock Sidepanel";
- hovertime = "1000";
- bitmapAsset = "ToolsModule:panel_dock_n_image";
- text = "";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- };
- new GuiBitmapButtonCtrl(MeshRoadEditorGui_HideBtn) {
- canSaveDynamicFields = "0";
- internalName = "";
- Enabled = "1";
- isContainer = "0";
- Profile = "ToolsGuiButtonProfile";
- HorizSizing = "left";
- VertSizing = "bottom";
- Position = "312 1";
- Extent = "18 18";
- MinExtent = "8 8";
- canSave = "1";
- Visible = "1";
- Command = "MeshRoadEditorGui.hideSidePanel();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Hide Sidepanel";
- hovertime = "1000";
- bitmapAsset = "ToolsModule:panel_hide_n_image";
- text = "";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- };
- new GuiBitmapButtonCtrl(MeshRoadEditorGui_ShowBtn) {
- canSaveDynamicFields = "0";
- internalName = "";
- Enabled = "1";
- isContainer = "0";
- Profile = "ToolsGuiButtonProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "4 1";
- Extent = "18 18";
- MinExtent = "8 8";
- canSave = "1";
- Visible = "1";
- Command = "MeshRoadEditorGui.showSidePanel();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Show Sidepanel";
- hovertime = "1000";
- bitmapAsset = "ToolsModule:panel_show_n_image";
- text = "";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- };
- };
- new GuiWindowCollapseCtrl(MeshRoadEditorOptionsWindow) {
- canCollapse = "0";
- internalName = "Window";
- canSaveDynamicFields = "0";
- Enabled = "1";
- isContainer = "1";
- Profile = "ToolsGuiWindowProfile";
- HorizSizing = "windowRelative";
- VertSizing = "windowRelative";
- Position = getWord($pref::Video::mode, 0) - 360
- SPC getWord(EditorGuiToolbar.extent, 1) + getWord(MeshRoadEditorTreeWindow.extent, 1) + 6;
- Extent = "360" SPC getWord($pref::Video::mode, 1) - getWord(MeshRoadEditorTreeWindow.extent, 1) - getWord(EditorGuiToolbar.extent, 1) - 65;
- MinExtent = "300 240";
- 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";
- resizeWidth = "1";
- resizeHeight = "1";
- canMove = "0";
- canClose = "0";
- canMinimize = "0";
- canMaximize = "0";
- minSize = "50 50";
- closeCommand = "EditorGui.setEditor( WorldEditorPlugin );";
- EdgeSnap = "1";
- text = ":: Mesh Road Editor - Properties";
- new GuiContainer(MeshRoadNodesPanel){ //Node Properties
- isContainer = "1";
- Profile = "inspectorStyleRolloutDarkProfile";
- HorizSizing = "width";
- VertSizing = "bottom";
- Position = "4 24";
- Extent = "202 85";
- Docking = "Top";
- Margin = "3 3 3 3";
-
- new GuiTextCtrl(){
- Profile = "EditorTextProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "5 0";
- Extent = "86 18";
- text = "Node Properties";
- };
-
- new GuiTextCtrl(){
- Profile = "ToolsGuiTextRightProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "7 21";
- Extent = "46 18";
- text = "Position";
- };
- new GuiTextEditCtrl(){
- internalName = "position";
- Profile = "ToolsGuiTextEditProfile";
- HorizSizing = "width";
- VertSizing = "bottom";
- Position = "57 21";
- Extent = "141 18";
- text = "";
- AltCommand = "MeshRoadEditorGui.editNodeDetails();";
- };
- new GuiTextCtrl(){
- Profile = "ToolsGuiTextRightProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "7 42";
- Extent = "46 18";
- text = "Rotation";
- };
- new GuiTextEditCtrl(){
- internalName = "rotation";
- Profile = "ToolsGuiTextEditProfile";
- HorizSizing = "width";
- VertSizing = "bottom";
- Position = "57 42";
- Extent = "141 18";
- text = "";
- AltCommand = "MeshRoadEditorGui.editNodeDetails();";
- };
- new GuiTextCtrl(){
- Profile = "ToolsGuiTextRightProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "7 63";
- Extent = "46 18";
- text = "Width";
- };
- new GuiTextEditCtrl(){
- internalName = "width";
- Profile = "ToolsGuiTextEditProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "57 63";
- Extent = "52 18";
- text = "";
- AltCommand = "MeshRoadEditorGui.editNodeDetails();";
- };
- new GuiTextCtrl(){
- Profile = "ToolsGuiTextRightProfile";
- HorizSizing = "left";
- VertSizing = "bottom";
- Position = "110 63";
- Extent = "32 18";
- text = "Depth";
- };
- new GuiTextEditCtrl(){
- internalName = "depth";
- Profile = "ToolsGuiTextEditProfile";
- HorizSizing = "left";
- VertSizing = "bottom";
- Position = "146 63";
- Extent = "52 18";
- text = "";
- AltCommand = "MeshRoadEditorGui.editNodeDetails();";
- };
- };
- new GuiContainer(MeshRoadPropertiesPanel){ //Mesh Road Properties
- isContainer = "1";
- Profile = "inspectorStyleRolloutDarkProfile";
- HorizSizing = "width";
- VertSizing = "bottom";
- Position = "4 112";
- Extent = "202 31";
- Docking = "Top";
- Margin = "0 0 3 3";
-
- new GuiTextCtrl(){
- Profile = "EditorTextProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "5 0";
- Extent = "121 18";
- text = "Mesh Road Properties";
- };
- };
- new GuiScrollCtrl(MeshRoadInspectorPanel) {
- canSaveDynamicFields = "0";
- Enabled = "1";
- isContainer = "1";
- Profile = "GuiEditorScrollProfile";
- HorizSizing = "width";
- VertSizing = "height";
- Position = "4 129";
- Extent = "202 357";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- Docking = "Client";
- Margin = "-14 41 3 3";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- willFirstRespond = "1";
- hScrollBar = "alwaysOff";
- vScrollBar = "dynamic";
- lockHorizScroll = "true";
- lockVertScroll = "false";
- constantThumbHeight = "0";
- childMargin = "0 0";
- new GuiInspector(MeshRoadInspector) {
- StackingType = "Vertical";
- HorizStacking = "Left to Right";
- VertStacking = "Top to Bottom";
- Padding = "1";
- name = "MeshRoadInspector";
- canSaveDynamicFields = "0";
- Enabled = "1";
- isContainer = "1";
- Profile = "ToolsGuiTransparentProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "1 1";
- Extent = "179 16";
- MinExtent = "16 16";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- dividerMargin = "5";
- };
- };
- new GuiMLTextCtrl(MeshRoadFieldInfoControl) {
- canSaveDynamicFields = "0";
- Enabled = "1";
- isContainer = "0";
- Profile = "GuiInspectorFieldInfoMLTextProfile";
- HorizSizing = "width";
- VertSizing = "top";
- position = "8" SPC getWord(MeshRoadEditorOptionsWindow.extent, 1) - 40;
- Extent = "320 42";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- lineSpacing = "1";
- allowColorChars = "0";
- maxChars = "-1";
- useURLMouseCursor = "0";
- };
- };
-
- };
- //--- OBJECT WRITE END ---
|