Link the status bar size to the scale slider, though it's size only increases half as fast

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@246 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
stevenaaus 2010-07-29 01:52:04 +00:00
parent 630499ae8f
commit 86dea5717b

View file

@ -1053,12 +1053,16 @@ void M_AdjustSliders (int dir)
switch (options_cursor)
{
case 3: // console and menu scale
scr_scale.value += dir * .2;
scr_scale.value += dir * .1; // or .2
if (scr_scale.value < 1)
scr_scale.value = 1;
else if (scr_scale.value > 6)
scr_scale.value = 6;
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_menuscale", scr_scale.value);
break;