stratagus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Stratagus-CVS] stratagus/src/ui menus.c


From: address@hidden
Subject: [Stratagus-CVS] stratagus/src/ui menus.c
Date: 26 Jan 2004 10:07:08 +1100

CVSROOT:        /home/strat
Module name:    stratagus
Changes by:      <address@hidden>       04/01/26 10:07:07

Modified files:
        src/ui         : menus.c 

Log message:
        Redraw Background when Changing Resolution

Patches:
Index: stratagus/src/ui/menus.c
diff -u stratagus/src/ui/menus.c:1.611 stratagus/src/ui/menus.c:1.612
--- stratagus/src/ui/menus.c:1.611      Thu Jan 22 17:18:22 2004
+++ stratagus/src/ui/menus.c    Mon Jan 26 10:07:06 2004
@@ -26,7 +26,7 @@
 //      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //      02111-1307, USA.
 //
-//      $Id: menus.c,v 1.611 2004/01/22 06:18:22 wizzard Exp $
+//      $Id: menus.c,v 1.612 2004/01/25 23:07:06 wizzard Exp $
 
 //@{
 
@@ -1761,9 +1761,12 @@
                VideoWidth = res;
                VideoHeight = res * 3 / 4;
                SavePreferences();
+               ExitMenus();
                InitVideo();
-               DestroyCursorBackground();
+               // Force Update Background Size
                SetClipping(0,0,VideoWidth - 1,VideoHeight - 1);
+               MenusSetBackground();
+               Invalidate();
                CleanModules();
                LoadCcl();
                PreMenuSetup();




reply via email to

[Prev in Thread] Current Thread [Next in Thread]