diff options
author | Alexander Baldeck <alexander@archlinux.org> | 2004-12-19 17:07:33 +0000 |
---|---|---|
committer | Alexander Baldeck <alexander@archlinux.org> | 2004-12-19 17:07:33 +0000 |
commit | cbdcd71c294fba40cc172b9bc55f528a34e0528f (patch) | |
tree | b7d6d8dc08925f618d19ed203610da9cbf399bde /src/gui/chat.h | |
parent | b5eb7cc46994a62932c608f8cc7cda02ccf46718 (diff) | |
download | mana-cbdcd71c294fba40cc172b9bc55f528a34e0528f.tar.gz mana-cbdcd71c294fba40cc172b9bc55f528a34e0528f.tar.bz2 mana-cbdcd71c294fba40cc172b9bc55f528a34e0528f.tar.xz mana-cbdcd71c294fba40cc172b9bc55f528a34e0528f.zip |
removed alfont usage (obsolete dependency now)
Diffstat (limited to 'src/gui/chat.h')
-rw-r--r-- | src/gui/chat.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/chat.h b/src/gui/chat.h index 109bc981..2321eb09 100644 --- a/src/gui/chat.h +++ b/src/gui/chat.h @@ -57,7 +57,7 @@ #define COLOR_LIGHTBLUE (makecol( 83,223,246)) // bright blue /** calculate text-width in pixel */ -#define TEXT_GETWIDTH(str) (alfont_text_length(font, str)) +#define TEXT_GETWIDTH(str) (text_length(font, str)) /** job dependend identifiers (?) */ #define SKILL_BASIC 0x0001 @@ -112,10 +112,10 @@ class Chat { Chat(const char *, int); void chat_dlgrsize(int); - void chat_log(std::string, int, ALFONT_FONT *); - void chat_log(CHATSKILL, ALFONT_FONT *); + void chat_log(std::string, int, FONT *); + void chat_log(CHATSKILL, FONT *); - void chat_draw(BITMAP *, int, ALFONT_FONT *); + void chat_draw(BITMAP *, int, FONT *); char * chat_send(std::string, std::string); ~Chat(); private : |