From d265a7fde35d0b5040f79d490d137deaff57f0b7 Mon Sep 17 00:00:00 2001 From: pixel Date: Sat, 12 Jul 2003 03:12:36 +0000 Subject: Fixed some win32 things --- include/font.h | 4 ++-- include/gettext.h | 10 ---------- 2 files changed, 2 insertions(+), 12 deletions(-) (limited to 'include') diff --git a/include/font.h b/include/font.h index 3a1d1c7..a557f6e 100644 --- a/include/font.h +++ b/include/font.h @@ -16,7 +16,7 @@ namespace mogltk { virtual void drawentry(Uint16, int, int, ColorP = WHITE); void putcursor(int, int); void putentry(Uint16, ColorP = WHITE); - void putchar(char, ColorP = WHITE); + void drawchar(char, ColorP = WHITE); void newline(void); int printf(const ugly_string &, ...); int printf(const char *, ...); @@ -24,7 +24,7 @@ namespace mogltk { void setcolor(ColorP); void setshadow(int); void setwspace(int); - int getchar(char) const; + int findchar(char) const; int singletextsize(const String &) const; protected: diff --git a/include/gettext.h b/include/gettext.h index 662a424..b530d9c 100644 --- a/include/gettext.h +++ b/include/gettext.h @@ -27,16 +27,6 @@ #else -/* Solaris /usr/include/locale.h includes /usr/include/libintl.h, which - chokes if dcgettext is defined as a macro. So include it now, to make - later inclusions of a NOP. We don't include - as well because people using "gettext.h" will not include , - and also including would fail on SunOS 4, whereas - is OK. */ -#if defined(__sun) -# include -#endif - /* Disabled NLS. The casts to 'const char *' serve the purpose of producing warnings for invalid uses of the value returned from these functions. -- cgit v1.2.3