From 9b8f0eee44ff806fcdb7870dac84af322f2d8746 Mon Sep 17 00:00:00 2001 From: John3 Date: Tue, 21 Jun 2016 22:09:06 -0500 Subject: [PATCH] added "how to use". Added delete button (Disabled right now) --- .../Empty/game/core/art/gui/RecordingsDlg.gui | 240 ++++++++++++++---- .../Full/game/core/art/gui/RecordingsDlg.gui | 240 ++++++++++++++---- 2 files changed, 370 insertions(+), 110 deletions(-) diff --git a/Templates/Empty/game/core/art/gui/RecordingsDlg.gui b/Templates/Empty/game/core/art/gui/RecordingsDlg.gui index 44df55ca1..28db1ae30 100644 --- a/Templates/Empty/game/core/art/gui/RecordingsDlg.gui +++ b/Templates/Empty/game/core/art/gui/RecordingsDlg.gui @@ -1,97 +1,227 @@ //--- OBJECT WRITE BEGIN --- %guiContent = new GuiControl(recordingsDlg) { - profile = "GuiDefaultProfile"; + position = "0 0"; + extent = "1024 768"; + minExtent = "8 8"; horizSizing = "right"; vertSizing = "bottom"; - position = "0 0"; - extent = "640 480"; - minExtent = "8 8"; + profile = "GuiDefaultProfile"; visible = "1"; - helpTag = "0"; + active = "1"; + tooltipProfile = "GuiToolTipProfile"; + hovertime = "1000"; + isContainer = "1"; + canSave = "1"; + canSaveDynamicFields = "1"; + helpTag = "0"; new GuiWindowCtrl() { - profile = "GuiWindowProfile"; - horizSizing = "center"; - vertSizing = "center"; - position = "55 65"; - extent = "530 338"; - minExtent = "48 92"; - visible = "1"; - helpTag = "0"; text = "Demo Recordings"; - maxLength = "255"; resizeWidth = "0"; resizeHeight = "0"; canMove = "1"; canClose = "1"; canMinimize = "0"; canMaximize = "0"; - minSize = "50 50"; + canCollapse = "0"; closeCommand = "Canvas.popDialog(recordingsDlg);"; + edgeSnap = "1"; + margin = "0 0 0 0"; + padding = "0 0 0 0"; + anchorTop = "1"; + anchorBottom = "0"; + anchorLeft = "1"; + anchorRight = "0"; + position = "247 215"; + extent = "530 338"; + minExtent = "48 92"; + horizSizing = "center"; + vertSizing = "center"; + profile = "GuiWindowProfile"; + visible = "1"; + active = "1"; + tooltipProfile = "GuiToolTipProfile"; + hovertime = "1000"; + isContainer = "1"; + canSave = "1"; + canSaveDynamicFields = "0"; new GuiScrollCtrl() { - profile = "GuiScrollProfile"; - horizSizing = "right"; - vertSizing = "bottom"; - position = "23 37"; - extent = "484 260"; - minExtent = "32 32"; - visible = "1"; - helpTag = "0"; willFirstRespond = "1"; hScrollBar = "dynamic"; vScrollBar = "alwaysOn"; - lockHorizScroll = "false"; - lockVertScroll = "false"; + lockHorizScroll = "0"; + lockVertScroll = "0"; constantThumbHeight = "0"; childMargin = "0 0"; - defaultLineHeight = "15"; + mouseWheelScrollSpeed = "-1"; + margin = "0 0 0 0"; + padding = "0 0 0 0"; + anchorTop = "1"; + anchorBottom = "0"; + anchorLeft = "1"; + anchorRight = "0"; + position = "23 60"; + extent = "484 237"; + minExtent = "32 32"; + horizSizing = "right"; + vertSizing = "bottom"; + profile = "GuiScrollProfile"; + visible = "1"; + active = "1"; + tooltipProfile = "GuiToolTipProfile"; + hovertime = "1000"; + isContainer = "1"; + canSave = "1"; + canSaveDynamicFields = "0"; new GuiTextListCtrl(RecordingsDlgList) { - profile = "GuiTextArrayProfile"; - horizSizing = "right"; - vertSizing = "bottom"; - position = "2 2"; - extent = "462 20"; - minExtent = "8 20"; - visible = "1"; - helpTag = "0"; - enumerate = "0"; columns = "0"; - resizeCell = "1"; fitParentWidth = "1"; clipColumnText = "0"; - noDuplicates = "false"; + position = "1 1"; + extent = "469 32"; + minExtent = "8 20"; + horizSizing = "right"; + vertSizing = "bottom"; + profile = "GuiTextArrayProfile"; + visible = "1"; + active = "1"; + tooltipProfile = "GuiToolTipProfile"; + hovertime = "1000"; + isContainer = "1"; + canSave = "1"; + canSaveDynamicFields = "0"; }; }; new GuiButtonCtrl(DR_CancelBtn) { - profile = "GuiButtonProfile"; - horizSizing = "right"; - vertSizing = "top"; - position = "396 306"; - extent = "110 20"; - minExtent = "8 8"; - visible = "1"; - command = "Canvas.popDialog(recordingsDlg);"; - accelerator = "escape"; - helpTag = "0"; text = "Cancel"; groupNum = "-1"; buttonType = "PushButton"; - }; - new GuiButtonCtrl(DR_StartDemoBtn) { - profile = "GuiButtonProfile"; - horizSizing = "right"; - vertSizing = "top"; - position = "25 305"; + useMouseEvents = "0"; + position = "396 306"; extent = "110 20"; minExtent = "8 8"; + horizSizing = "right"; + vertSizing = "top"; + profile = "GuiButtonProfile"; visible = "1"; - command = "StartSelectedDemo();"; - helpTag = "0"; + active = "1"; + command = "Canvas.popDialog(recordingsDlg);"; + accelerator = "escape"; + tooltipProfile = "GuiToolTipProfile"; + hovertime = "1000"; + isContainer = "0"; + canSave = "1"; + canSaveDynamicFields = "0"; + }; + new GuiButtonCtrl(DR_StartDemoBtn) { text = "Play"; groupNum = "-1"; buttonType = "PushButton"; + useMouseEvents = "0"; + position = "25 305"; + extent = "110 20"; + minExtent = "8 8"; + horizSizing = "right"; + vertSizing = "top"; + profile = "GuiButtonProfile"; + visible = "1"; + active = "1"; + command = "StartSelectedDemo();"; + tooltipProfile = "GuiToolTipProfile"; + hovertime = "1000"; + isContainer = "0"; + canSave = "1"; + canSaveDynamicFields = "0"; + }; + new GuiTextCtrl() { + text = "During gameplay press the following keys:"; + maxLength = "1024"; + margin = "0 0 0 0"; + padding = "0 0 0 0"; + anchorTop = "1"; + anchorBottom = "0"; + anchorLeft = "1"; + anchorRight = "0"; + position = "23 30"; + extent = "206 18"; + minExtent = "8 2"; + horizSizing = "right"; + vertSizing = "bottom"; + profile = "GuiTextProfile"; + visible = "1"; + active = "1"; + tooltipProfile = "GuiToolTipProfile"; + hovertime = "1000"; + isContainer = "1"; + canSave = "1"; + canSaveDynamicFields = "0"; + }; + new GuiTextCtrl() { + text = "Start = F3"; + maxLength = "1024"; + margin = "0 0 0 0"; + padding = "0 0 0 0"; + anchorTop = "1"; + anchorBottom = "0"; + anchorLeft = "1"; + anchorRight = "0"; + position = "253 32"; + extent = "50 15"; + minExtent = "8 2"; + horizSizing = "right"; + vertSizing = "bottom"; + profile = "GuiTextProfile"; + visible = "1"; + active = "1"; + tooltipProfile = "GuiToolTipProfile"; + hovertime = "1000"; + isContainer = "1"; + canSave = "1"; + canSaveDynamicFields = "0"; + }; + new GuiTextCtrl() { + text = "Stop = F4"; + maxLength = "1024"; + margin = "0 0 0 0"; + padding = "0 0 0 0"; + anchorTop = "1"; + anchorBottom = "0"; + anchorLeft = "1"; + anchorRight = "0"; + position = "320 32"; + extent = "49 13"; + minExtent = "8 2"; + horizSizing = "right"; + vertSizing = "bottom"; + profile = "GuiTextProfile"; + visible = "1"; + active = "1"; + tooltipProfile = "GuiToolTipProfile"; + hovertime = "1000"; + isContainer = "1"; + canSave = "1"; + canSaveDynamicFields = "0"; + }; + new GuiButtonCtrl(DR_DelDemoBtn) { + text = "Delete"; + groupNum = "-1"; + buttonType = "PushButton"; + useMouseEvents = "0"; + position = "210 305"; + extent = "110 20"; + minExtent = "8 2"; + horizSizing = "right"; + vertSizing = "bottom"; + profile = "GuiButtonProfile"; + visible = "1"; + active = "1"; + tooltipProfile = "GuiToolTipProfile"; + hovertime = "1000"; + isContainer = "0"; + canSave = "1"; + canSaveDynamicFields = "0"; }; }; }; diff --git a/Templates/Full/game/core/art/gui/RecordingsDlg.gui b/Templates/Full/game/core/art/gui/RecordingsDlg.gui index 44df55ca1..28db1ae30 100644 --- a/Templates/Full/game/core/art/gui/RecordingsDlg.gui +++ b/Templates/Full/game/core/art/gui/RecordingsDlg.gui @@ -1,97 +1,227 @@ //--- OBJECT WRITE BEGIN --- %guiContent = new GuiControl(recordingsDlg) { - profile = "GuiDefaultProfile"; + position = "0 0"; + extent = "1024 768"; + minExtent = "8 8"; horizSizing = "right"; vertSizing = "bottom"; - position = "0 0"; - extent = "640 480"; - minExtent = "8 8"; + profile = "GuiDefaultProfile"; visible = "1"; - helpTag = "0"; + active = "1"; + tooltipProfile = "GuiToolTipProfile"; + hovertime = "1000"; + isContainer = "1"; + canSave = "1"; + canSaveDynamicFields = "1"; + helpTag = "0"; new GuiWindowCtrl() { - profile = "GuiWindowProfile"; - horizSizing = "center"; - vertSizing = "center"; - position = "55 65"; - extent = "530 338"; - minExtent = "48 92"; - visible = "1"; - helpTag = "0"; text = "Demo Recordings"; - maxLength = "255"; resizeWidth = "0"; resizeHeight = "0"; canMove = "1"; canClose = "1"; canMinimize = "0"; canMaximize = "0"; - minSize = "50 50"; + canCollapse = "0"; closeCommand = "Canvas.popDialog(recordingsDlg);"; + edgeSnap = "1"; + margin = "0 0 0 0"; + padding = "0 0 0 0"; + anchorTop = "1"; + anchorBottom = "0"; + anchorLeft = "1"; + anchorRight = "0"; + position = "247 215"; + extent = "530 338"; + minExtent = "48 92"; + horizSizing = "center"; + vertSizing = "center"; + profile = "GuiWindowProfile"; + visible = "1"; + active = "1"; + tooltipProfile = "GuiToolTipProfile"; + hovertime = "1000"; + isContainer = "1"; + canSave = "1"; + canSaveDynamicFields = "0"; new GuiScrollCtrl() { - profile = "GuiScrollProfile"; - horizSizing = "right"; - vertSizing = "bottom"; - position = "23 37"; - extent = "484 260"; - minExtent = "32 32"; - visible = "1"; - helpTag = "0"; willFirstRespond = "1"; hScrollBar = "dynamic"; vScrollBar = "alwaysOn"; - lockHorizScroll = "false"; - lockVertScroll = "false"; + lockHorizScroll = "0"; + lockVertScroll = "0"; constantThumbHeight = "0"; childMargin = "0 0"; - defaultLineHeight = "15"; + mouseWheelScrollSpeed = "-1"; + margin = "0 0 0 0"; + padding = "0 0 0 0"; + anchorTop = "1"; + anchorBottom = "0"; + anchorLeft = "1"; + anchorRight = "0"; + position = "23 60"; + extent = "484 237"; + minExtent = "32 32"; + horizSizing = "right"; + vertSizing = "bottom"; + profile = "GuiScrollProfile"; + visible = "1"; + active = "1"; + tooltipProfile = "GuiToolTipProfile"; + hovertime = "1000"; + isContainer = "1"; + canSave = "1"; + canSaveDynamicFields = "0"; new GuiTextListCtrl(RecordingsDlgList) { - profile = "GuiTextArrayProfile"; - horizSizing = "right"; - vertSizing = "bottom"; - position = "2 2"; - extent = "462 20"; - minExtent = "8 20"; - visible = "1"; - helpTag = "0"; - enumerate = "0"; columns = "0"; - resizeCell = "1"; fitParentWidth = "1"; clipColumnText = "0"; - noDuplicates = "false"; + position = "1 1"; + extent = "469 32"; + minExtent = "8 20"; + horizSizing = "right"; + vertSizing = "bottom"; + profile = "GuiTextArrayProfile"; + visible = "1"; + active = "1"; + tooltipProfile = "GuiToolTipProfile"; + hovertime = "1000"; + isContainer = "1"; + canSave = "1"; + canSaveDynamicFields = "0"; }; }; new GuiButtonCtrl(DR_CancelBtn) { - profile = "GuiButtonProfile"; - horizSizing = "right"; - vertSizing = "top"; - position = "396 306"; - extent = "110 20"; - minExtent = "8 8"; - visible = "1"; - command = "Canvas.popDialog(recordingsDlg);"; - accelerator = "escape"; - helpTag = "0"; text = "Cancel"; groupNum = "-1"; buttonType = "PushButton"; - }; - new GuiButtonCtrl(DR_StartDemoBtn) { - profile = "GuiButtonProfile"; - horizSizing = "right"; - vertSizing = "top"; - position = "25 305"; + useMouseEvents = "0"; + position = "396 306"; extent = "110 20"; minExtent = "8 8"; + horizSizing = "right"; + vertSizing = "top"; + profile = "GuiButtonProfile"; visible = "1"; - command = "StartSelectedDemo();"; - helpTag = "0"; + active = "1"; + command = "Canvas.popDialog(recordingsDlg);"; + accelerator = "escape"; + tooltipProfile = "GuiToolTipProfile"; + hovertime = "1000"; + isContainer = "0"; + canSave = "1"; + canSaveDynamicFields = "0"; + }; + new GuiButtonCtrl(DR_StartDemoBtn) { text = "Play"; groupNum = "-1"; buttonType = "PushButton"; + useMouseEvents = "0"; + position = "25 305"; + extent = "110 20"; + minExtent = "8 8"; + horizSizing = "right"; + vertSizing = "top"; + profile = "GuiButtonProfile"; + visible = "1"; + active = "1"; + command = "StartSelectedDemo();"; + tooltipProfile = "GuiToolTipProfile"; + hovertime = "1000"; + isContainer = "0"; + canSave = "1"; + canSaveDynamicFields = "0"; + }; + new GuiTextCtrl() { + text = "During gameplay press the following keys:"; + maxLength = "1024"; + margin = "0 0 0 0"; + padding = "0 0 0 0"; + anchorTop = "1"; + anchorBottom = "0"; + anchorLeft = "1"; + anchorRight = "0"; + position = "23 30"; + extent = "206 18"; + minExtent = "8 2"; + horizSizing = "right"; + vertSizing = "bottom"; + profile = "GuiTextProfile"; + visible = "1"; + active = "1"; + tooltipProfile = "GuiToolTipProfile"; + hovertime = "1000"; + isContainer = "1"; + canSave = "1"; + canSaveDynamicFields = "0"; + }; + new GuiTextCtrl() { + text = "Start = F3"; + maxLength = "1024"; + margin = "0 0 0 0"; + padding = "0 0 0 0"; + anchorTop = "1"; + anchorBottom = "0"; + anchorLeft = "1"; + anchorRight = "0"; + position = "253 32"; + extent = "50 15"; + minExtent = "8 2"; + horizSizing = "right"; + vertSizing = "bottom"; + profile = "GuiTextProfile"; + visible = "1"; + active = "1"; + tooltipProfile = "GuiToolTipProfile"; + hovertime = "1000"; + isContainer = "1"; + canSave = "1"; + canSaveDynamicFields = "0"; + }; + new GuiTextCtrl() { + text = "Stop = F4"; + maxLength = "1024"; + margin = "0 0 0 0"; + padding = "0 0 0 0"; + anchorTop = "1"; + anchorBottom = "0"; + anchorLeft = "1"; + anchorRight = "0"; + position = "320 32"; + extent = "49 13"; + minExtent = "8 2"; + horizSizing = "right"; + vertSizing = "bottom"; + profile = "GuiTextProfile"; + visible = "1"; + active = "1"; + tooltipProfile = "GuiToolTipProfile"; + hovertime = "1000"; + isContainer = "1"; + canSave = "1"; + canSaveDynamicFields = "0"; + }; + new GuiButtonCtrl(DR_DelDemoBtn) { + text = "Delete"; + groupNum = "-1"; + buttonType = "PushButton"; + useMouseEvents = "0"; + position = "210 305"; + extent = "110 20"; + minExtent = "8 2"; + horizSizing = "right"; + vertSizing = "bottom"; + profile = "GuiButtonProfile"; + visible = "1"; + active = "1"; + tooltipProfile = "GuiToolTipProfile"; + hovertime = "1000"; + isContainer = "0"; + canSave = "1"; + canSaveDynamicFields = "0"; }; }; };