浏览代码

Changes the buttons to be a checkbox button, which is easier to identity as being activated or not compared to the stock togglebutton.

Areloch 7 年之前
父节点
当前提交
339a883361
共有 2 个文件被更改,包括 12 次插入12 次删除
  1. 6 6
      Templates/BaseGame/game/core/console/console.gui
  2. 6 6
      Templates/Full/game/core/art/gui/console.gui

+ 6 - 6
Templates/BaseGame/game/core/console/console.gui

@@ -83,7 +83,7 @@
          canSave = "1";
          canSaveDynamicFields = "0";
       };
-      new GuiToggleButtonCtrl(ConsoleDlgErrorFilterBtn) {
+      new GuiCheckBoxCtrl(ConsoleDlgErrorFilterBtn) {
          text = "Errors";
          groupNum = "-1";
          buttonType = "ToggleButton";
@@ -93,7 +93,7 @@
          minExtent = "8 2";
          horizSizing = "right";
          vertSizing = "bottom";
-         profile = "GuiButtonProfile";
+         profile = "GuiCheckBoxProfile";
          visible = "1";
          active = "1";
          tooltipProfile = "GuiToolTipProfile";
@@ -102,7 +102,7 @@
          canSave = "1";
          canSaveDynamicFields = "0";
       };
-      new GuiToggleButtonCtrl(ConsoleDlgWarnFilterBtn) {
+      new GuiCheckBoxCtrl(ConsoleDlgWarnFilterBtn) {
          text = "Warnings";
          groupNum = "-1";
          buttonType = "ToggleButton";
@@ -112,7 +112,7 @@
          minExtent = "8 2";
          horizSizing = "right";
          vertSizing = "bottom";
-         profile = "GuiButtonProfile";
+         profile = "GuiCheckBoxProfile";
          visible = "1";
          active = "1";
          tooltipProfile = "GuiToolTipProfile";
@@ -121,7 +121,7 @@
          canSave = "1";
          canSaveDynamicFields = "0";
       };
-      new GuiToggleButtonCtrl(ConsoleDlgNormalFilterBtn) {
+      new GuiCheckBoxCtrl(ConsoleDlgNormalFilterBtn) {
          text = "Normal Messages";
          groupNum = "-1";
          buttonType = "ToggleButton";
@@ -131,7 +131,7 @@
          minExtent = "8 2";
          horizSizing = "right";
          vertSizing = "bottom";
-         profile = "GuiButtonProfile";
+         profile = "GuiCheckBoxProfile";
          visible = "1";
          active = "1";
          tooltipProfile = "GuiToolTipProfile";

+ 6 - 6
Templates/Full/game/core/art/gui/console.gui

@@ -83,7 +83,7 @@
          canSave = "1";
          canSaveDynamicFields = "0";
       };
-      new GuiToggleButtonCtrl(ConsoleDlgErrorFilterBtn) {
+      new GuiCheckBoxCtrl(ConsoleDlgErrorFilterBtn) {
          text = "Errors";
          groupNum = "-1";
          buttonType = "ToggleButton";
@@ -93,7 +93,7 @@
          minExtent = "8 2";
          horizSizing = "right";
          vertSizing = "bottom";
-         profile = "GuiButtonProfile";
+         profile = "GuiCheckBoxProfile";
          visible = "1";
          active = "1";
          tooltipProfile = "GuiToolTipProfile";
@@ -102,7 +102,7 @@
          canSave = "1";
          canSaveDynamicFields = "0";
       };
-      new GuiToggleButtonCtrl(ConsoleDlgWarnFilterBtn) {
+      new GuiCheckBoxCtrl(ConsoleDlgWarnFilterBtn) {
          text = "Warnings";
          groupNum = "-1";
          buttonType = "ToggleButton";
@@ -112,7 +112,7 @@
          minExtent = "8 2";
          horizSizing = "right";
          vertSizing = "bottom";
-         profile = "GuiButtonProfile";
+         profile = "GuiCheckBoxProfile";
          visible = "1";
          active = "1";
          tooltipProfile = "GuiToolTipProfile";
@@ -121,7 +121,7 @@
          canSave = "1";
          canSaveDynamicFields = "0";
       };
-      new GuiToggleButtonCtrl(ConsoleDlgNormalFilterBtn) {
+      new GuiCheckBoxCtrl(ConsoleDlgNormalFilterBtn) {
          text = "Normal Messages";
          groupNum = "-1";
          buttonType = "ToggleButton";
@@ -131,7 +131,7 @@
          minExtent = "8 2";
          horizSizing = "right";
          vertSizing = "bottom";
-         profile = "GuiButtonProfile";
+         profile = "GuiCheckBoxProfile";
          visible = "1";
          active = "1";
          tooltipProfile = "GuiToolTipProfile";