| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355 |
- //--- OBJECT WRITE BEGIN ---
- $guiContent = new GuiControl(windowConsoleDlg) {
- position = "0 0";
- extent = "1024 768";
- minExtent = "8 2";
- horizSizing = "right";
- vertSizing = "bottom";
- profile = "ToolsGuiDefaultNonModalProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- new GuiWindowCtrl(windowConsoleControl) {
- text = ":: Console Log";
- resizeWidth = "1";
- resizeHeight = "1";
- canMove = "1";
- canClose = "1";
- canMinimize = "0";
- canMaximize = "1";
- canCollapse = "0";
- closeCommand = "windowConsoleDlg.hideWindow();";
- edgeSnap = "1";
- margin = "0 0 0 0";
- padding = "0 0 0 0";
- anchorTop = "1";
- anchorBottom = "0";
- anchorLeft = "1";
- anchorRight = "0";
- //position = "204 80";
- Position = "0" SPC getWord($pref::Video::mode, 1) - 300 - 60;
- extent = "720 300";
- minExtent = "920 120";
- horizSizing = "windowRelative";
- vertSizing = "windowRelative";
- profile = "ToolsGuiWindowProfile";
- visible = "1";
- active = "1";
- tooltipProfile = "GuiToolTipProfile";
- hovertime = "1000";
- isContainer = "1";
- canSave = "1";
- canSaveDynamicFields = "0";
- new GuiContainer() {
- position = "16 23";
- extent = "691 21";
- profile = "ToolsGuiDefaultProfile";
- tooltipProfile = "ToolsGuiToolTipProfile";
- horizSizing = "width";
- new GuiTextCtrl() {
- text = "Filters:";
- position = "8 0";
- extent = "40 20";
- profile = "ToolsGuiTextBoldRightProfile";
- tooltipProfile = "ToolsGuiToolTipProfile";
- };
- new GuiCheckBoxCtrl(windowConsoleDlgErrorFilterBtn) {
- text = " Errors ( )";
- position = "70 1";
- extent = "113 20";
- profile = "ToolsGuiCheckBoxErrorProfile";
- tooltipProfile = "ToolsGuiToolTipProfile";
- };
- new GuiCheckBoxCtrl(windowConsoleDlgWarnFilterBtn) {
- text = " Warnings ( )";
- position = "170 1";
- extent = "113 20";
- profile = "ToolsGuiCheckBoxWarnProfile";
- tooltipProfile = "ToolsGuiToolTipProfile";
- };
- new GuiCheckBoxCtrl(windowConsoleDlgNormalFilterBtn) {
- text = " Normal Messages ( )";
- position = "290 1";
- extent = "113 20";
- profile = "ToolsGuiCheckBoxMsgProfile";
- tooltipProfile = "ToolsGuiToolTipProfile";
- };
- new GuiButtonCtrl() {
- text = "Clear Log !";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "610 1";
- extent = "80 20";
- minExtent = "8 2";
- horizSizing = "left";
- vertSizing = "bottom";
- profile = "ToolsGuiButtonHLYellowProfile";
- visible = "1";
- active = "1";
- command = "cls();";
- tooltipProfile = "ToolsGuiToolTipProfile";
- ToolTip = "WARNING: This will clear the console!";
- hovertime = "1000";
- isContainer = "0";
- canSave = "0";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl() {
- text = "Quit Torque !";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "520 1";
- extent = "80 20";
- minExtent = "8 2";
- horizSizing = "left";
- vertSizing = "bottom";
- profile = "ToolsGuiButtonHLRedProfile";
- visible = "1";
- active = "1";
- command = "quit();";
- tooltipProfile = "ToolsGuiToolTipProfile";
- ToolTip = "WARNING: Quit the engine without saving!";
- hovertime = "1000";
- isContainer = "0";
- canSave = "0";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(windowConsoleResetTimeBtn) {
- text = "0:00";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "481 1";
- extent = "30 20";
- minExtent = "8 2";
- horizSizing = "left";
- vertSizing = "bottom";
- profile = "ToolsGuiButtonProfile";
- visible = "1";
- active = "1";
- command = "windowConsoleDlg.timeStampReset();";
- tooltipProfile = "ToolsGuiToolTipProfile";
- ToolTip = "Set the timestamp to 0";
- hovertime = "1000";
- isContainer = "0";
- canSave = "0";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(windowConsoleTimestampBtn) {
- text = "Time: Off";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "400 1";
- extent = "80 20";
- minExtent = "8 2";
- horizSizing = "left";
- vertSizing = "bottom";
- profile = "ToolsGuiButtonProfile";
- visible = "1";
- active = "1";
- command = "windowConsoleDlg.timeStamp();";
- tooltipProfile = "ToolsGuiToolTipProfile";
- ToolTip = "Show the time stamp to console messages";
- hovertime = "1000";
- isContainer = "0";
- canSave = "0";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(windowConsoleDumpBtn) {
- text = "Profiler: Off";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- position = "310 1";
- extent = "80 20";
- minExtent = "8 2";
- horizSizing = "left";
- vertSizing = "bottom";
- profile = "ToolsGuiButtonProfile";
- visible = "1";
- active = "1";
- command = "windowConsoleDlg.profilerDump();";
- tooltipProfile = "ToolsGuiToolTipProfile";
- ToolTip = "Turn the profiler on";
- hovertime = "1000";
- isContainer = "0";
- canSave = "0";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(windowInfoDumpBtn) {
- text = "Info";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "250 1";
- extent = "50 20";
- minExtent = "8 2";
- horizSizing = "left";
- vertSizing = "bottom";
- profile = "ToolsGuiButtonProfile";
- visible = "1";
- active = "1";
- command = "windowConsoleDlg.infoDump();";
- tooltipProfile = "ToolsGuiToolTipProfile";
- ToolTip = "Show the engine, app and build info";
- hovertime = "1000";
- isContainer = "0";
- canSave = "0";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(windowConLargerBtn) {
- text = "A +";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "210 1";
- extent = "30 20";
- minExtent = "8 2";
- horizSizing = "left";
- vertSizing = "bottom";
- profile = "ToolsGuiButtonLTextProfile";
- visible = "1";
- active = "1";
- command = "windowConsoleDlg.incFont();";
- tooltipProfile = "ToolsGuiToolTipProfile";
- ToolTip = "Increase font size";
- hovertime = "1000";
- isContainer = "0";
- canSave = "0";
- canSaveDynamicFields = "0";
- };
- new GuiButtonCtrl(windowConSmallerBtn) {
- text = "A -";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "179 1";
- extent = "30 20";
- minExtent = "8 2";
- horizSizing = "left";
- vertSizing = "bottom";
- profile = "ToolsGuiButtonSTextProfile";
- visible = "1";
- active = "1";
- command = "windowConsoleDlg.decFont();";
- tooltipProfile = "ToolsGuiToolTipProfile";
- ToolTip = "Decrease font size";
- hovertime = "1000";
- isContainer = "0";
- canSave = "0";
- canSaveDynamicFields = "0";
- };
- };
- new GuiScrollCtrl() {
- margin = "2 2 2 2";
- position = "0 48";
- extent = "718 217";
- minExtent = "8 8";
- horizSizing = "width";
- vertSizing = "height";
- profile = "ToolsConsoleScrollProfile";
- tooltipProfile = "GuiConsoleProfile";
- internalName = "Scroll";
- new GuiConsole(windowConsoleMessageLogView) {
- position = "1 1";
- extent = "482 217";
- horizSizing = "width";
- profile = "ToolsGuiConsoleProfile";
- tooltipProfile = "ToolsGuiToolTipProfile";
- };
- };
- new GuiConsoleEditCtrl(windowConsoleEntry) {
- historySize = "40";
- maxLength = "255";
- anchorTop = "0";
- anchorBottom = "1";
- position = "54 272";
- extent = "520 16";
- minExtent = "8 8";
- horizSizing = "width";
- vertSizing = "top";
- profile = "ToolsConsoleTextEditProfile";
- altCommand = "windowConsoleEntry::eval();";
- tooltipProfile = "ToolsGuiToolTipProfile";
- };
- new GuiTextCtrl() {
- text = "Cmd:";
- position = "12 270";
- extent = "30 20";
- horizSizing = "right";
- vertSizing = "top";
- profile = "ToolsGuiTextBoldRightProfile";
- tooltipProfile = "ToolsGuiToolTipProfile";
- };
- new GuiButtonCtrl() {
- text = "Repeat Last";
- buttonType = "PushButton";
- useMouseEvents = "0";
- position = "590 270";
- extent = "80 20";
- minExtent = "8 2";
- horizSizing = "left";
- vertSizing = "top";
- profile = "ToolsGuiButtonProfile";
- visible = "1";
- active = "1";
- command = "windowConsoleEntry.repeatLast();";
- tooltipProfile = "ToolsGuiToolTipProfile";
- ToolTip = "Show the last entry in the command line.";
- hovertime = "1000";
- isContainer = "0";
- canSave = "0";
- canSaveDynamicFields = "0";
- };
- new GuiBitmapButtonCtrl(windowConsole_UnDockBtn) {
- canSaveDynamicFields = "0";
- internalName = "";
- Enabled = "1";
- isContainer = "0";
- Profile = "ToolsGuiButtonProfile";
- HorizSizing = "left";
- VertSizing = "bottom";
- Position = "660 1";
- Extent = "18 18";
- MinExtent = "8 8";
- canSave = "1";
- Visible = "1";
- Command = "windowConsoleControl.releasePanel();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Detach Panel";
- hovertime = "1000";
- bitmapAsset = "ToolsModule:panel_undock_n_image";
- text = "";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- };
- new GuiBitmapButtonCtrl(windowConsole_DockBtn) {
- canSaveDynamicFields = "0";
- internalName = "";
- Enabled = "1";
- isContainer = "0";
- Profile = "ToolsGuiButtonProfile";
- HorizSizing = "left";
- VertSizing = "bottom";
- Position = "660 1";
- Extent = "18 18";
- MinExtent = "8 8";
- canSave = "1";
- Visible = "0";
- Command = "windowConsoleControl.dockPanel();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Dock Panel";
- hovertime = "1000";
- bitmapAsset = "ToolsModule:panel_dock_n_image";
- text = "";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- };
- };
- };
- //--- OBJECT WRITE END ---
|