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:
Steven 2010-07-29 01:52:04 +00:00
parent 6a79b12f88
commit b9d4ec244f

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;