[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Antiright-devel] antiright/src/wmarmon wmarmon.c
From: |
Jeffrey Bedard |
Subject: |
[Antiright-devel] antiright/src/wmarmon wmarmon.c |
Date: |
Mon, 04 Jul 2005 13:23:16 -0400 |
CVSROOT: /cvsroot/antiright
Module name: antiright
Branch:
Changes by: Jeffrey Bedard <address@hidden> 05/07/04 17:23:16
Modified files:
src/wmarmon : wmarmon.c
Log message:
Implemented a better border coloring scheme, including shadowing for
the interior square.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/antiright/antiright/src/wmarmon/wmarmon.c.diff?tr1=1.5&tr2=1.6&r1=text&r2=text
Patches:
Index: antiright/src/wmarmon/wmarmon.c
diff -u antiright/src/wmarmon/wmarmon.c:1.5 antiright/src/wmarmon/wmarmon.c:1.6
--- antiright/src/wmarmon/wmarmon.c:1.5 Mon Jul 4 03:37:16 2005
+++ antiright/src/wmarmon/wmarmon.c Mon Jul 4 17:23:16 2005
@@ -127,12 +127,15 @@
char *hostname=getenv("HOSTNAME");
get_values();
- arshell_set_foreground(220, 218, 213);
+ arshell_set_foreground(215, 215, 215);
XFillRectangle(display, iconwin, gc, 0, 0, 64, 64);
getloadavg(load, 3);
arshell_set_foreground(0, 0, 0);
- XDrawRectangle(display, iconwin, gc, 0, 0, 64, 64);
XFillRectangle(display, iconwin, gc, 4, 4, 56, 56);
+ arshell_set_foreground(255,255,255);
+ XDrawLine(display, iconwin, gc, 60, 4, 60, 60);
+ XDrawLine(display, iconwin, gc, 60, 60, 4, 60);
+ arshell_set_foreground(0,0,0);
arshell_set_font("5x7");
arshell_set_foreground(250, 250, 250);
XDrawString(display, iconwin, gc, 6, 16,