| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324 |
- //--- 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 ---
|