aboutsummaryrefslogtreecommitdiff
path: root/include/draw.h
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-03-26 01:59:35 +0000
committerrsc <devnull@localhost>2004-03-26 01:59:35 +0000
commitbe22ae2d0729f68672e3202c91cfe13c9e74cccc (patch)
treeb7bc9f9c1e8d3b221adc82f055f8be19ef25d0e6 /include/draw.h
parent4e3a2cc1f96f4479f951958f9ca1860f57a0771b (diff)
downloadplan9port-be22ae2d0729f68672e3202c91cfe13c9e74cccc.tar.gz
plan9port-be22ae2d0729f68672e3202c91cfe13c9e74cccc.tar.bz2
plan9port-be22ae2d0729f68672e3202c91cfe13c9e74cccc.zip
SunOS can rot in hell.
Diffstat (limited to 'include/draw.h')
-rw-r--r--include/draw.h62
1 files changed, 29 insertions, 33 deletions
diff --git a/include/draw.h b/include/draw.h
index 54a566ac..4b579346 100644
--- a/include/draw.h
+++ b/include/draw.h
@@ -21,39 +21,35 @@ typedef struct Subfont Subfont;
extern int Rfmt(Fmt*);
extern int Pfmt(Fmt*);
-enum
-{
- DOpaque = 0xFFFFFFFF,
- DTransparent = 0x00000000, /* only useful for allocimage, memfillcolor */
- DBlack = 0x000000FF,
- DWhite = 0xFFFFFFFF,
- DRed = 0xFF0000FF,
- DGreen = 0x00FF00FF,
- DBlue = 0x0000FFFF,
- DCyan = 0x00FFFFFF,
- DMagenta = 0xFF00FFFF,
- DYellow = 0xFFFF00FF,
- DPaleyellow = 0xFFFFAAFF,
- DDarkyellow = 0xEEEE9EFF,
- DDarkgreen = 0x448844FF,
- DPalegreen = 0xAAFFAAFF,
- DMedgreen = 0x88CC88FF,
- DDarkblue = 0x000055FF,
- DPalebluegreen= 0xAAFFFFFF,
- DPaleblue = 0x0000BBFF,
- DBluegreen = 0x008888FF,
- DGreygreen = 0x55AAAAFF,
- DPalegreygreen = 0x9EEEEEFF,
- DYellowgreen = 0x99994CFF,
- DMedblue = 0x000099FF,
- DGreyblue = 0x005DBBFF,
- DPalegreyblue = 0x4993DDFF,
- DPurpleblue = 0x8888CCFF,
-
- DNotacolor = 0xFFFFFF00,
- DNofill = DNotacolor,
-
-};
+#define DOpaque 0xFFFFFFFF
+#define DTransparent 0x00000000 /* only useful for allocimage memfillcolor */
+#define DBlack 0x000000FF
+#define DWhite 0xFFFFFFFF
+#define DRed 0xFF0000FF
+#define DGreen 0x00FF00FF
+#define DBlue 0x0000FFFF
+#define DCyan 0x00FFFFFF
+#define DMagenta 0xFF00FFFF
+#define DYellow 0xFFFF00FF
+#define DPaleyellow 0xFFFFAAFF
+#define DDarkyellow 0xEEEE9EFF
+#define DDarkgreen 0x448844FF
+#define DPalegreen 0xAAFFAAFF
+#define DMedgreen 0x88CC88FF
+#define DDarkblue 0x000055FF
+#define DPalebluegreen 0xAAFFFFFF
+#define DPaleblue 0x0000BBFF
+#define DBluegreen 0x008888FF
+#define DGreygreen 0x55AAAAFF
+#define DPalegreygreen 0x9EEEEEFF
+#define DYellowgreen 0x99994CFF
+#define DMedblue 0x000099FF
+#define DGreyblue 0x005DBBFF
+#define DPalegreyblue 0x4993DDFF
+#define DPurpleblue 0x8888CCFF
+
+#define DNotacolor 0xFFFFFF00
+#define DNofill DNotacolor
enum
{