summaryrefslogtreecommitdiff
path: root/src/gui/chat.h
diff options
context:
space:
mode:
authorAlexander Baldeck <alexander@archlinux.org>2004-12-19 17:21:34 +0000
committerAlexander Baldeck <alexander@archlinux.org>2004-12-19 17:21:34 +0000
commita432321fb91bc0afbe802878fcd45adcee946a5b (patch)
tree6222ae0392064cc0250d41bc89bfc14b38892395 /src/gui/chat.h
parentdd06564ec071884d1980d74c96dc136fc6205e19 (diff)
downloadMana-a432321fb91bc0afbe802878fcd45adcee946a5b.tar.gz
Mana-a432321fb91bc0afbe802878fcd45adcee946a5b.tar.bz2
Mana-a432321fb91bc0afbe802878fcd45adcee946a5b.tar.xz
Mana-a432321fb91bc0afbe802878fcd45adcee946a5b.zip
killed a few warnings about depcrated functions. mostly textprintf
Diffstat (limited to 'src/gui/chat.h')
-rw-r--r--src/gui/chat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/chat.h b/src/gui/chat.h
index 2321eb09..ea482aa1 100644
--- a/src/gui/chat.h
+++ b/src/gui/chat.h
@@ -58,6 +58,7 @@
/** calculate text-width in pixel */
#define TEXT_GETWIDTH(str) (text_length(font, str))
+#define TEXT_OUT(bmp, col, str) (textprintf_ex(bmp, font, 1, y, col, str, 1))
/** job dependend identifiers (?) */
#define SKILL_BASIC 0x0001