diff options
author | pixel <pixel> | 2005-12-01 13:48:12 +0000 |
---|---|---|
committer | pixel <pixel> | 2005-12-01 13:48:12 +0000 |
commit | 6f594ad00a07365eec68e16d338151dde23bb648 (patch) | |
tree | 07771966502e5b02c26f0f8414467d1dd78cd70b /include/font.h | |
parent | c492bb95a2bb8f739b7c0a061090b9ad4549c975 (diff) |
Lots of fixes and adds in mogltk:
-) fixed a compilation bug in the engine.h file (widget cyclic dependancy)
-) fixed font system so to have unsigned chars instead of chars
-) updated the shaper system so to have different fonts to print
-) updated the widgets with:
-) new methods: center, set_viewport, delete_me
-) Label now has a font
-) MsgBox now has a font
-) InputText widget added
-) InputDialog message box added
-) fixed a bug in the engine causing unwanted mouse move events
-) fixed a bug in the various lists of widgets (.clear != .empty)
Diffstat (limited to 'include/font.h')
-rw-r--r-- | include/font.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/font.h b/include/font.h index 9530a37..6cf0e93 100644 --- a/include/font.h +++ b/include/font.h @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: font.h,v 1.10 2004-11-27 21:48:01 pixel Exp $ */ +/* $Id: font.h,v 1.11 2005-12-01 13:48:12 pixel Exp $ */ #ifndef __FONT_H__ #define __FONT_H__ @@ -40,8 +40,8 @@ namespace mogltk { void putcursor(int, int); void putentry(Uint16, ColorP = WHITE); void putentryontex(texture *, Uint16, ColorP = WHITE); - void drawchar(char, ColorP = WHITE); - void drawcharontex(texture *, char, ColorP = WHITE); + void drawchar(unsigned char, ColorP = WHITE); + void drawcharontex(texture *, unsigned char, ColorP = WHITE); void newline(void); int printf(const ugly_string &, ...); int printf(const char *, ...); @@ -58,7 +58,7 @@ namespace mogltk { void setcolor(ColorP); void setshadow(int); void setwspace(int); - int findchar(char) const; + int findchar(unsigned char) const; int singletextsize(const String &) const; protected: |