antiright-devel
[Top][All Lists]
Advanced

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

[Antiright-devel] antiright/src/wmar wmar.c


From: Jeffrey Bedard
Subject: [Antiright-devel] antiright/src/wmar wmar.c
Date: Fri, 17 Jun 2005 22:13:44 -0400

CVSROOT:        /cvsroot/antiright
Module name:    antiright
Branch:         
Changes by:     Jeffrey Bedard <address@hidden> 05/06/18 02:13:44

Modified files:
        src/wmar       : wmar.c 

Log message:
        Fixed glyph apparence.  Changed button appearance to match that of 
GTK2's default theme.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/antiright/antiright/src/wmar/wmar.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

Patches:
Index: antiright/src/wmar/wmar.c
diff -u antiright/src/wmar/wmar.c:1.1 antiright/src/wmar/wmar.c:1.2
--- antiright/src/wmar/wmar.c:1.1       Sat Jun 18 01:59:08 2005
+++ antiright/src/wmar/wmar.c   Sat Jun 18 02:13:44 2005
@@ -18,7 +18,7 @@
 XWMHints mywmhints;
 Window iconwin;
 
-char commands[16][16];
+char commands[17][16];
 
 void
 arshell_set_font(char* fontname)
@@ -60,11 +60,12 @@
 void
 draw_button(int x, int y, int width, int height, char *text)
 {
-  arshell_set_foreground(150, 150, 180);
+  arshell_set_foreground(220, 218, 213);
   XFillRectangle(display, iconwin, gc, x, y, width, height);
-  arshell_set_foreground(125, 125, 150);
-  XDrawRectangle(display, iconwin, gc, x+1, y+1, width-1, height-1);
-  arshell_set_foreground(100, 100, 125);
+  arshell_set_foreground(255, 255, 255);
+  XDrawLine(display, iconwin, gc, x+1, y+1, x+width-1, y+1);
+  XDrawLine(display, iconwin, gc, x+1, y+1, x+1, y+height-1);
+  arshell_set_foreground(0, 0, 0);
   XDrawRectangle(display, iconwin, gc, x, y, width, height);
   arshell_set_font("5x7");
   arshell_set_foreground( 0, 0, 25 );
@@ -89,7 +90,7 @@
 void
 expose()
 {
-  arshell_set_foreground(200, 200, 225);
+  arshell_set_foreground(220, 218, 213);
   XFillRectangle(display, iconwin, gc, 0, 0, 64, 64);
   draw_buttons();
 }




reply via email to

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