mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 15:31:39 +00:00
Link the status bar size to the scale slider, though it's size only increases half as fast
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@246 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
6a79b12f88
commit
b9d4ec244f
1 changed files with 5 additions and 1 deletions
|
@ -1053,12 +1053,16 @@ void M_AdjustSliders (int dir)
|
||||||
switch (options_cursor)
|
switch (options_cursor)
|
||||||
{
|
{
|
||||||
case 3: // console and menu scale
|
case 3: // console and menu scale
|
||||||
scr_scale.value += dir * .2;
|
scr_scale.value += dir * .1; // or .2
|
||||||
if (scr_scale.value < 1)
|
if (scr_scale.value < 1)
|
||||||
scr_scale.value = 1;
|
scr_scale.value = 1;
|
||||||
else if (scr_scale.value > 6)
|
else if (scr_scale.value > 6)
|
||||||
scr_scale.value = 6;
|
scr_scale.value = 6;
|
||||||
Cvar_SetValue ("scr_scale", scr_scale.value);
|
Cvar_SetValue ("scr_scale", scr_scale.value);
|
||||||
|
|
||||||
|
// status bar size increases half as fast
|
||||||
|
Cvar_SetValue ("scr_sbarscale", (scr_scale.value - 1)/2 + 1);
|
||||||
|
|
||||||
Cvar_SetValue ("scr_conscale", scr_scale.value);
|
Cvar_SetValue ("scr_conscale", scr_scale.value);
|
||||||
Cvar_SetValue ("scr_menuscale", scr_scale.value);
|
Cvar_SetValue ("scr_menuscale", scr_scale.value);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue