| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323 |
- %guiContent = new GuiControl(RiverEditorToolbar, EditorGuiGroup) {
- canSaveDynamicFields = "0";
- internalName = "MeshRoadEditorToolbar";
- Enabled = "1";
- isContainer = "1";
- Profile = "ToolsGuiDefaultProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "306 0";
- Extent = "800 32";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "0";
- hovertime = "1000";
-
- new GuiTextCtrl() {
- profile = "ToolsGuiTextProfile";
- horizSizing = "right";
- vertSizing = "bottom";
- position = "6 6";
- extent = "100 20";
- minExtent = "8 8";
- visible = "1";
- text = "River Settings";
- maxLength = "255";
- helpTag = "0";
- };
- new GuiDynamicCtrlArrayControl(){
- Position = "83 3";
- extent = "111 32";
- colCount = "31";
- colSize = "29";
- rowCount = "1";
- RowSize = "27";
- rowSpacing = "2";
- colspacing = "4";
-
- new GuiBitmapButtonCtrl(RiverEditorShowSplineBtn) {
- canSaveDynamicFields = "0";
- Enabled = "1";
- isContainer = "0";
- Profile = "ToolsGuiDefaultProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "167 3";
- Extent = "29 27";
- MinExtent = "8 2";
- canSave = "1";
- isDecoy = "0";
- Visible = "1";
- Variable = "$River::showSpline";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- toolTip = "Show Spline";
- bitmap = "tools/worldEditor/images/road-river/menubar/show-spline";
- groupNum = "7";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- useInactiveState = "0";
- };
- new GuiBitmapButtonCtrl(RiverEditorWireframeBtn) {
- canSaveDynamicFields = "0";
- Enabled = "1";
- isContainer = "0";
- Profile = "ToolsGuiDefaultProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "253 3";
- Extent = "29 27";
- MinExtent = "8 2";
- canSave = "1";
- isDecoy = "0";
- Visible = "1";
- Variable = "$River::showWireframe";
- Command = "$River::showWireframe = $ThisControl.getValue();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- toolTip = "Show Wireframe";
- bitmap = "tools/worldEditor/images/road-river/menubar/show-wireframe";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- useInactiveState = "0";
- };
- new GuiBitmapButtonCtrl(RiverEditorShowRoadBtn) {
- canSaveDynamicFields = "0";
- Enabled = "1";
- isContainer = "0";
- Profile = "GuiDefalutProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "89 3";
- Extent = "29 27";
- MinExtent = "8 2";
- canSave = "1";
- isDecoy = "0";
- Visible = "1";
- Variable = "$River::showRiver";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- toolTip = "Show River Texture";
- bitmap = "tools/worldEditor/images/road-river/menubar/show-texture";
- groupNum = "-1";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- useInactiveState = "0";
- };
- };
- new GuiControl(RiverDefaultWidthTextEditContainer) {
- canSaveDynamicFields = "0";
- isContainer = "1";
- Profile = "ToolsGuiTransparentProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "197 5";
- Extent = "120 50";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- hovertime = "1000";
- new GuiTextCtrl() {
- canSaveDynamicFields = "0";
- Enabled = "1";
- isContainer = "0";
- Profile = "ToolsGuiTextProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "0 6";
- Extent = "68 10";
- 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 = "Default Width";
- maxLength = "1024";
- };
- new GuiTextEditCtrl() {
- canSaveDynamicFields = "0";
- internalName = "textEdit";
- isContainer = "0";
- profile="ToolsGuiNumericDropSliderTextProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "67 2";
- Extent = "42 16";
- MinExtent = "8 16";
- canSave = "1";
- Visible = "1";
- Command = "RiverEditorGui.DefaultWidth = $ThisControl.getValue();";
- hovertime = "1000";
- text = "10";
- maxLength = "3";
- historySize = "0";
- password = "0";
- tabComplete = "0";
- sinkAllKeyEvents = "0";
- };
- new GuiBitmapButtonCtrl() {
- canSaveDynamicFields = "0";
- Enabled = "1";
- isContainer = "0";
- Profile = "ToolsGuiDefaultProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "101 2";
- Extent = "18 18";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- Command = "Canvas.pushDialog(RiverDefaultWidthSliderCtrlContainer);";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Changes Default River Width";
- hovertime = "750";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- bitmap = "tools/gui/images/dropslider";
- };
- };
- new GuiControl(RiverDefaultDepthTextEditContainer) {
- canSaveDynamicFields = "0";
- isContainer = "1";
- Profile = "ToolsGuiTransparentProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "327 5";
- Extent = "120 50";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- hovertime = "1000";
- new GuiTextCtrl() {
- canSaveDynamicFields = "0";
- Enabled = "1";
- isContainer = "0";
- Profile = "ToolsGuiTextProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "0 6";
- Extent = "68 10";
- 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 = "Default Depth";
- maxLength = "1024";
- };
- new GuiTextEditCtrl() {
- canSaveDynamicFields = "0";
- internalName = "textEdit";
- isContainer = "0";
- profile="ToolsGuiNumericDropSliderTextProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "67 2";
- Extent = "42 16";
- MinExtent = "8 16";
- canSave = "1";
- Visible = "1";
- Command = "RiverEditorGui.DefaultDepth = $ThisControl.getValue();";
- hovertime = "1000";
- text = "10";
- maxLength = "3";
- historySize = "0";
- password = "0";
- tabComplete = "0";
- sinkAllKeyEvents = "0";
- };
- new GuiBitmapButtonCtrl() {
- canSaveDynamicFields = "0";
- Enabled = "1";
- isContainer = "0";
- Profile = "ToolsGuiDefaultProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "101 2";
- Extent = "18 18";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- Command = "Canvas.pushDialog(RiverDefaultDepthSliderCtrlContainer);";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Changes Default River Depth";
- hovertime = "750";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- bitmap = "tools/gui/images/dropslider";
- };
- };
- };
- new GuiMouseEventCtrl(RiverDefaultWidthSliderCtrlContainer, EditorGuiGroup) {
- horizSizing = "right";
- vertSizing = "bottom";
- position = "0 0";
- extent = "1024 768";
- minExtent = "8 8";
- visible = "1";
- helpTag = "0";
- class = "EditorDropdownSliderContainer";
-
- new GuiSliderCtrl() {
- canSaveDynamicFields = "0";
- internalName = "slider";
- isContainer = "0";
- Profile = "ToolsGuiSliderBoxProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = firstWord(RiverDefaultWidthTextEditContainer.position) + firstWord(RiverEditorToolbar.position) + 10 SPC
- (getWord(RiverDefaultWidthTextEditContainer, 1)) + 25;
- Extent = "112 20";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- AltCommand = "RiverDefaultWidthTextEditContainer-->textEdit.setText( mFloatLength($ThisControl.getValue(), 2)); RiverEditorGui.DefaultWidth = $ThisControl.getValue();";
- range = "0 100";
- ticks = "0";
- value = "10";
- };
- };
- new GuiMouseEventCtrl(RiverDefaultDepthSliderCtrlContainer, EditorGuiGroup) {
- horizSizing = "right";
- vertSizing = "bottom";
- position = "0 0";
- extent = "1024 768";
- minExtent = "8 8";
- visible = "1";
- helpTag = "0";
- class = "EditorDropdownSliderContainer";
-
- new GuiSliderCtrl() {
- canSaveDynamicFields = "0";
- internalName = "slider";
- isContainer = "0";
- Profile = "ToolsGuiSliderBoxProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = firstWord(RiverDefaultDepthTextEditContainer.position) + firstWord(RiverEditorToolbar.position) + 10 SPC
- (getWord(RiverDefaultDepthTextEditContainer, 1)) + 25;
- Extent = "112 20";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- AltCommand = "RiverDefaultDepthTextEditContainer-->textEdit.setValue( mFloatLength($ThisControl.getValue(), 2)); RiverEditorGui.DefaultWidth = $ThisControl.getValue();";
- range = "0 100";
- ticks = "0";
- value = "10";
- };
- };
|