comparison dwm.h @ 689:cbec08a54a15

implemented new color scheme accordingly to Sanders proposal
author Anselm R. Garbe <arg@suckless.org>
date Sun, 14 Jan 2007 22:37:34 +0100
parents 39fa5308d73f
children 399f08187c27
comparison
equal deleted inserted replaced
688:39fa5308d73f 689:cbec08a54a15
41 #define PROTODELWIN 1 41 #define PROTODELWIN 1
42 42
43 enum { NetSupported, NetWMName, NetLast }; /* EWMH atoms */ 43 enum { NetSupported, NetWMName, NetLast }; /* EWMH atoms */
44 enum { WMProtocols, WMDelete, WMLast }; /* default atoms */ 44 enum { WMProtocols, WMDelete, WMLast }; /* default atoms */
45 enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */ 45 enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */
46 enum { ColFG, ColBG, ColLast }; /* color */ 46 enum { ColBorder, ColFG, ColBG, ColLast }; /* color */
47 47
48 typedef enum { 48 typedef enum {
49 TopLeft, TopRight, BotLeft, BotRight 49 TopLeft, TopRight, BotLeft, BotRight
50 } Corner; /* window corners */ 50 } Corner; /* window corners */
51 51
64 64
65 typedef struct { 65 typedef struct {
66 int x, y, w, h; 66 int x, y, w, h;
67 unsigned long norm[ColLast]; 67 unsigned long norm[ColLast];
68 unsigned long sel[ColLast]; 68 unsigned long sel[ColLast];
69 unsigned long status[ColLast];
70 Drawable drawable; 69 Drawable drawable;
71 Fnt font; 70 Fnt font;
72 GC gc; 71 GC gc;
73 } DC; /* draw context */ 72 } DC; /* draw context */
74 73