|
|
@@ -32,6 +32,15 @@
|
|
|
|
|
|
#define TAB_SIZE 8
|
|
|
|
|
|
+#define rgb(r, g, b) ((b) + ((g) << 8) + ((r) << 16))
|
|
|
+
|
|
|
+#define black 0x00000000
|
|
|
+#define red rgb(255, 0, 0)
|
|
|
+#define success rgb(114, 176, 161)
|
|
|
+#define error rgb(244, 130, 100)
|
|
|
+#define yellow rgb(0, 255, 255)
|
|
|
+#define green rgb(0, 255, 0)
|
|
|
+#define white rgb(255, 255, 255)
|
|
|
|
|
|
void putblock(__uint32_t, int, int, int, int);
|
|
|
void putc(char, __uint32_t, __uint32_t);
|
|
|
@@ -41,7 +50,7 @@ void syslog(const char *);
|
|
|
|
|
|
|
|
|
/*
|
|
|
- * we supports PSF format in XNIX.
|
|
|
+ * we support PSF format in XNIX.
|
|
|
* in linux, PSF fonts are in /usr/share/kbd/consolefonts, and they are always compressed.
|
|
|
* */
|
|
|
|