From: molivier Date: Wed, 12 Nov 2003 11:37:53 +0000 (+0000) Subject: Options menu has a width of 320, not 640 X-Git-Tag: xonotic-v0.1.0preview~6270 X-Git-Url: http://de.git.xonotic.org/?a=commitdiff_plain;h=8ec8a5e90a9c8a0035a2f8a99b604f66c4ffd636;p=xonotic%2Fdarkplaces.git Options menu has a width of 320, not 640 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3639 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/menu.c b/menu.c index f552bfd9..e1937685 100644 --- a/menu.c +++ b/menu.c @@ -1214,7 +1214,7 @@ void M_Options_PrintCommand(char *s, int enabled) { if (opty >= 32) { - DrawQ_Fill(menu_x, menu_y + opty, 640, 8, optnum == optcursor ? (0.5 + 0.2 * sin(realtime * M_PI)) : 0, 0, 0, 0.5, 0); + DrawQ_Fill(menu_x, menu_y + opty, 320, 8, optnum == optcursor ? (0.5 + 0.2 * sin(realtime * M_PI)) : 0, 0, 0, 0.5, 0); M_ItemPrint(0, opty, s, enabled); } opty += 8; @@ -1225,7 +1225,7 @@ void M_Options_PrintCheckbox(char *s, int enabled, int yes) { if (opty >= 32) { - DrawQ_Fill(menu_x, menu_y + opty, 640, 8, optnum == optcursor ? (0.5 + 0.2 * sin(realtime * M_PI)) : 0, 0, 0, 0.5, 0); + DrawQ_Fill(menu_x, menu_y + opty, 320, 8, optnum == optcursor ? (0.5 + 0.2 * sin(realtime * M_PI)) : 0, 0, 0, 0.5, 0); M_ItemPrint(0, opty, s, enabled); M_DrawCheckbox(0 + strlen(s) * 8 + 8, opty, yes); } @@ -1237,7 +1237,7 @@ void M_Options_PrintSlider(char *s, int enabled, float value, float minvalue, fl { if (opty >= 32) { - DrawQ_Fill(menu_x, menu_y + opty, 640, 8, optnum == optcursor ? (0.5 + 0.2 * sin(realtime * M_PI)) : 0, 0, 0, 0.5, 0); + DrawQ_Fill(menu_x, menu_y + opty, 320, 8, optnum == optcursor ? (0.5 + 0.2 * sin(realtime * M_PI)) : 0, 0, 0, 0.5, 0); M_ItemPrint(0, opty, s, enabled); M_DrawSlider(0 + strlen(s) * 8 + 8, opty, value, minvalue, maxvalue); }