From e4e98d87cbb9a2a7225416143ddbf216f651cf8f Mon Sep 17 00:00:00 2001 From: Tony <1414927+zfbx@users.noreply.github.com> Date: Tue, 14 Jul 2020 21:51:15 -0400 Subject: [PATCH] Added BG alpha/opacity slider to ConsoleDlg function was already there so just made use of it with a slider --- .../game/core/console/guis/console.gui | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/Templates/BaseGame/game/core/console/guis/console.gui b/Templates/BaseGame/game/core/console/guis/console.gui index c2f21eba9..266035081 100644 --- a/Templates/BaseGame/game/core/console/guis/console.gui +++ b/Templates/BaseGame/game/core/console/guis/console.gui @@ -140,6 +140,29 @@ canSave = "1"; canSaveDynamicFields = "0"; }; + new GuiSliderCtrl(ConsoleDlgBgAlphaSlider) { + range = "0 1"; + ticks = "10"; + snap = "0"; + value = "0.930233"; + useFillBar = "0"; + fillBarColor = "255 255 255 255"; + renderTicks = "1"; + position = "361 4"; + extent = "106 14"; + minExtent = "8 2"; + horizSizing = "right"; + vertSizing = "bottom"; + profile = "GuiSliderProfile"; + visible = "1"; + active = "1"; + command = "ConsoleDlg::setalpha(ConsoleDlgBgAlphaSlider, ConsoleDlgBgAlphaSlider.value);"; + tooltipProfile = "GuiToolTipProfile"; + hovertime = "1000"; + isContainer = "0"; + canSave = "1"; + canSaveDynamicFields = "0"; + }; }; new GuiScrollCtrl() { willFirstRespond = "1"; @@ -188,4 +211,4 @@ }; }; }; -//--- OBJECT WRITE END --- \ No newline at end of file +//--- OBJECT WRITE END ---