stratagus-cvs
[Top][All Lists]
Advanced

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

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


From: Nehal Mistry
Subject: [Stratagus-CVS] stratagus/src/ui botpanel.c
Date: Mon, 03 Nov 2003 01:14:31 -0500

CVSROOT:        /cvsroot/stratagus
Module name:    stratagus
Branch:         
Changes by:     Nehal Mistry <address@hidden>   03/11/03 01:14:31

Modified files:
        src/ui         : botpanel.c 

Log message:
        tweak position of shorcut key text for button

Patches:
Index: stratagus/src/ui/botpanel.c
diff -u stratagus/src/ui/botpanel.c:1.96 stratagus/src/ui/botpanel.c:1.97
--- stratagus/src/ui/botpanel.c:1.96    Tue Oct 28 17:20:53 2003
+++ stratagus/src/ui/botpanel.c Mon Nov  3 01:14:30 2003
@@ -27,7 +27,7 @@
 //      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //      02111-1307, USA.
 //
-//     $Id: botpanel.c,v 1.96 2003/10/28 22:20:53 n0body Exp $
+//     $Id: botpanel.c,v 1.97 2003/11/03 06:14:30 nehalmistry Exp $
 
 //@{
 
@@ -103,7 +103,7 @@
     char* cp;
 
     CLprintf(file, "\n;;; -----------------------------------------\n");
-    CLprintf(file, ";;; MODULE: buttons $Id: botpanel.c,v 1.96 2003/10/28 
22:20:53 n0body Exp $\n\n");
+    CLprintf(file, ";;; MODULE: buttons $Id: botpanel.c,v 1.97 2003/11/03 
06:14:30 nehalmistry Exp $\n\n");
 
     for (i = 0; i < NumUnitButtons; ++i) {
        CLprintf(file, "(define-button 'pos %d 'level %d 'icon '%s\n",
@@ -554,8 +554,8 @@
                    // FIXME: real DrawChar would be useful
                    buf[0] = toupper(CurrentButtons[i].Key);
                    buf[1] = '\0';
-                   VideoDrawText(b->X + 4 + b->Width - 
VideoTextLength(GameFont, buf),
-                       b->Y + 5 + b->Height - VideoTextHeight(GameFont), 
GameFont, buf);
+                   VideoDrawText(b->X + 3 + b->Width - 
VideoTextLength(GameFont, buf),
+                       b->Y + 3 + b->Height - VideoTextHeight(GameFont), 
GameFont, buf);
                }
            }
        }




reply via email to

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