diff options
author | pixel <pixel> | 2003-03-14 13:36:40 +0000 |
---|---|---|
committer | pixel <pixel> | 2003-03-14 13:36:40 +0000 |
commit | 2ef9753588b02155faf8bc5a176e4fcf7489dae2 (patch) | |
tree | eaa482c393ca29af35350fd033570989f1fcaff8 /include/glfont.h | |
parent | 700cd603a7ceced2fe8b6a064330d6f88d278dce (diff) |
glcolor, first episode
Diffstat (limited to 'include/glfont.h')
-rw-r--r-- | include/glfont.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/glfont.h b/include/glfont.h index 4ace74a..991024e 100644 --- a/include/glfont.h +++ b/include/glfont.h @@ -4,24 +4,24 @@ #include <SDL.h> #include <stdarg.h> #include <BString.h> -#include <Color.h> #include <Handle.h> -#include "gltexture.h" +#include <gltexture.h> +#include <glcolor.h> namespace mogltk { class font : public Base { public: font(Handle *); virtual ~font(); - void drawentry(Uint16, int, int, Color = Color(255, 255, 255, 255)); + void drawentry(Uint16, int, int, ColorP = WHITE); void putcursor(int, int); - void putentry(Uint16, Color = Color(255, 255, 255, 255)); - void putchar(char, Color = Color(255, 255, 255, 255)); + void putentry(Uint16, ColorP = WHITE); + void putchar(char, ColorP = WHITE); void newline(void); int printf(const ugly_string &, ...); int printf(const char *, ...); int printf(const ugly_string &, va_list); - void setcolor(Color); + void setcolor(ColorP); void setshadow(int); int getchar(char) const; int singletextsize(const String &) const; @@ -34,7 +34,7 @@ namespace mogltk { Uint16 * corresp; void Bind(int); int cx, cy, ox; - Color textcolor; + ColorP textcolor; int shadow; }; extern font * SystemFont; |