//--- OBJECT WRITE BEGIN --- $guiContent = new GuiControl(ProfilerGui) { position = "0 0"; extent = "1024 768"; minExtent = "8 2"; horizSizing = "right"; vertSizing = "bottom"; profile = "GuiDefaultProfile"; visible = "1"; active = "1"; tooltipProfile = "GuiToolTipProfile"; hovertime = "1000"; isContainer = "1"; canSave = "1"; canSaveDynamicFields = "1"; new GuiWindowCtrl(ppProfilerWindow) { text = "Profiler Manager"; resizeWidth = "0"; resizeHeight = "0"; canMove = "1"; canClose = "1"; canMinimize = "0"; canMaximize = "0"; canCollapse = "0"; closeCommand = "Canvas.popDialog(ProfilerGui);"; edgeSnap = "0"; margin = "0 0 0 0"; padding = "0 0 0 0"; anchorTop = "1"; anchorBottom = "0"; anchorLeft = "1"; anchorRight = "0"; position = "306 216"; extent = "415 199"; minExtent = "8 8"; horizSizing = "center"; vertSizing = "center"; profile = "GuiWindowProfile"; visible = "1"; active = "1"; tooltipProfile = "GuiToolTipProfile"; hovertime = "1000"; isContainer = "1"; canSave = "1"; canSaveDynamicFields = "0"; new GuiCheckBoxCtrl(ppShowFps) { text = "Show Fps"; groupNum = "-1"; buttonType = "ToggleButton"; useMouseEvents = "0"; position = "13 24"; extent = "127 30"; minExtent = "8 2"; horizSizing = "right"; vertSizing = "bottom"; profile = "GuiCheckBoxProfile"; visible = "1"; active = "1"; tooltipProfile = "GuiToolTipProfile"; tooltip = "Enable or Disable the Fps counter"; hovertime = "1000"; isContainer = "0"; canSave = "1"; canSaveDynamicFields = "0"; }; new GuiCheckBoxCtrl(ppShowGfx) { text = "Show Gfx"; groupNum = "-1"; buttonType = "ToggleButton"; useMouseEvents = "0"; position = "13 40"; extent = "127 30"; minExtent = "8 2"; horizSizing = "right"; vertSizing = "bottom"; profile = "GuiCheckBoxProfile"; visible = "1"; active = "1"; tooltipProfile = "GuiToolTipProfile"; tooltip = "Enable or Disable the Gfx"; hovertime = "1000"; isContainer = "0"; canSave = "1"; canSaveDynamicFields = "0"; }; new GuiCheckBoxCtrl(ppShowShadow) { text = "Show Shadow"; groupNum = "-1"; buttonType = "ToggleButton"; useMouseEvents = "0"; position = "13 56"; extent = "127 30"; minExtent = "8 2"; horizSizing = "right"; vertSizing = "bottom"; profile = "GuiCheckBoxProfile"; visible = "1"; active = "1"; tooltipProfile = "GuiToolTipProfile"; tooltip = "Enable or Disable the Shdow"; hovertime = "1000"; isContainer = "0"; canSave = "1"; canSaveDynamicFields = "0"; }; new GuiCheckBoxCtrl(ppShowNet) { text = "Show Net"; groupNum = "-1"; buttonType = "ToggleButton"; useMouseEvents = "0"; position = "13 136"; extent = "127 30"; minExtent = "8 2"; horizSizing = "right"; vertSizing = "bottom"; profile = "GuiCheckBoxProfile"; visible = "1"; active = "1"; tooltipProfile = "GuiToolTipProfile"; tooltip = "Enable or Disable the Network activity"; hovertime = "1000"; isContainer = "0"; canSave = "1"; canSaveDynamicFields = "0"; }; new GuiCheckBoxCtrl(ppShowForest) { text = "Show Forest"; groupNum = "-1"; buttonType = "ToggleButton"; useMouseEvents = "0"; position = "13 120"; extent = "127 30"; minExtent = "8 2"; horizSizing = "right"; vertSizing = "bottom"; profile = "GuiCheckBoxProfile"; visible = "1"; active = "1"; tooltipProfile = "GuiToolTipProfile"; tooltip = "Enable or Disable the Forest"; hovertime = "1000"; isContainer = "0"; canSave = "1"; canSaveDynamicFields = "0"; }; new GuiCheckBoxCtrl(ppShowGroundcover) { text = "Show Groundcover"; groupNum = "-1"; buttonType = "ToggleButton"; useMouseEvents = "0"; position = "13 104"; extent = "127 30"; minExtent = "8 2"; horizSizing = "right"; vertSizing = "bottom"; profile = "GuiCheckBoxProfile"; visible = "1"; active = "1"; tooltipProfile = "GuiToolTipProfile"; tooltip = "Enable or Disable the Groundcover"; hovertime = "1000"; isContainer = "0"; canSave = "1"; canSaveDynamicFields = "0"; }; new GuiCheckBoxCtrl(ppShowTerrain) { text = "Show Terrain"; groupNum = "-1"; buttonType = "ToggleButton"; useMouseEvents = "0"; position = "13 88"; extent = "127 30"; minExtent = "8 2"; horizSizing = "right"; vertSizing = "bottom"; profile = "GuiCheckBoxProfile"; visible = "1"; active = "1"; tooltipProfile = "GuiToolTipProfile"; tooltip = "Enable or Disable the Terrain"; hovertime = "1000"; isContainer = "0"; canSave = "1"; canSaveDynamicFields = "0"; }; new GuiCheckBoxCtrl(ppShowSfx) { text = "Show Sfx"; groupNum = "-1"; buttonType = "ToggleButton"; useMouseEvents = "0"; position = "13 72"; extent = "127 30"; minExtent = "8 2"; horizSizing = "right"; vertSizing = "bottom"; profile = "GuiCheckBoxProfile"; visible = "1"; active = "1"; tooltipProfile = "GuiToolTipProfile"; tooltip = "Enable or Disable the Sfx"; hovertime = "1000"; isContainer = "0"; canSave = "1"; canSaveDynamicFields = "0"; }; new GuiButtonCtrl(ppOptionsEnableDisable) { text = "On/Off OSD"; groupNum = "-1"; buttonType = "PushButton"; useMouseEvents = "0"; position = "309 38"; extent = "93 23"; minExtent = "8 8"; horizSizing = "right"; vertSizing = "bottom"; profile = "GuiButtonProfile"; visible = "1"; active = "1"; command = "showMetrics(true);"; tooltipProfile = "GuiToolTipProfile"; tooltip = "Apply the setting from the dialog box"; hovertime = "1000"; isContainer = "0"; canSave = "1"; canSaveDynamicFields = "0"; }; new GuiButtonCtrl(ppOptionsUpdate) { text = "Update"; groupNum = "-1"; buttonType = "PushButton"; useMouseEvents = "0"; position = "200 38"; extent = "93 23"; minExtent = "8 8"; horizSizing = "right"; vertSizing = "bottom"; profile = "GuiButtonProfile"; visible = "1"; active = "1"; command = "showMetrics(false);"; tooltipProfile = "GuiToolTipProfile"; tooltip = "Update the profiler with the new parameters"; hovertime = "1000"; isContainer = "0"; canSave = "1"; canSaveDynamicFields = "0"; }; new GuiButtonCtrl(ppOptionsDoProfiling) { text = "DoProfiling"; groupNum = "-1"; buttonType = "PushButton"; useMouseEvents = "0"; position = "309 141"; extent = "93 23"; minExtent = "8 8"; horizSizing = "right"; vertSizing = "bottom"; profile = "GuiButtonProfile"; visible = "1"; active = "1"; command = "doProfileFromGui();"; tooltipProfile = "GuiToolTipProfile"; tooltip = "Does the profile for the ammount of time specified "; hovertime = "1000"; isContainer = "0"; canSave = "1"; canSaveDynamicFields = "0"; }; new GuiTextCtrl(DurationLabel) { text = "Duration[ms]"; maxLength = "1024"; margin = "0 0 0 0"; padding = "0 0 0 0"; anchorTop = "1"; anchorBottom = "0"; anchorLeft = "1"; anchorRight = "0"; position = "200 144"; extent = "39 21"; minExtent = "8 2"; horizSizing = "right"; vertSizing = "bottom"; profile = "GuiTextRightProfile"; visible = "1"; active = "1"; tooltipProfile = "GuiToolTipProfile"; hovertime = "1000"; isContainer = "1"; canSave = "1"; canSaveDynamicFields = "0"; }; new GuiTextEditCtrl(Duration) { historySize = "0"; tabComplete = "0"; sinkAllKeyEvents = "0"; password = "0"; passwordMask = "*"; text = "1000"; maxLength = "1024"; margin = "0 0 0 0"; padding = "0 0 0 0"; anchorTop = "1"; anchorBottom = "0"; anchorLeft = "1"; anchorRight = "0"; position = "249 144"; extent = "53 18"; minExtent = "8 2"; horizSizing = "right"; vertSizing = "bottom"; profile = "GuiTextEditProfile"; visible = "1"; active = "1"; tooltipProfile = "GuiToolTipProfile"; hovertime = "1000"; isContainer = "1"; canSave = "1"; canSaveDynamicFields = "0"; }; }; }; //--- OBJECT WRITE END ---