summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libgui.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-04-01 01:00:14 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-04-01 01:00:14 +0200
commit452ff385766f7f82e4ff92f319dd3a284795fd2e (patch)
tree35f3bfd02c4d16d05cda2126aaf82dd945690686 /crawl-ref/source/libgui.h
parent778a975c1cf474d6c585d2177956daff30cffc24 (diff)
parent5485922b1f7b6c4e369d0b885ccfbff0e6e0d850 (diff)
downloadcrawl-ref-452ff385766f7f82e4ff92f319dd3a284795fd2e.tar.gz
crawl-ref-452ff385766f7f82e4ff92f319dd3a284795fd2e.zip
Merge branch 'unicode'.
There are some issues left, like incorrect wrapping in some cases, but we can fix them later.
Diffstat (limited to 'crawl-ref/source/libgui.h')
-rw-r--r--crawl-ref/source/libgui.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/crawl-ref/source/libgui.h b/crawl-ref/source/libgui.h
index f5612fab00..adf5878574 100644
--- a/crawl-ref/source/libgui.h
+++ b/crawl-ref/source/libgui.h
@@ -13,8 +13,6 @@
#include "defines.h"
-typedef unsigned int screen_buffer_t;
-
void set_mouse_enabled(bool enabled);
struct coord_def;
@@ -38,10 +36,8 @@ int get_number_of_cols(void);
void _setcursortype(int curstype);
void textbackground(int bg);
void textcolor(int col);
-int putch(unsigned char chr);
-int putwch(unsigned chr);
-void put_colour_ch(int colour, unsigned ch);
-void writeWChar(unsigned char *ch);
+int putwch(ucs_t chr);
+void put_colour_ch(int colour, ucs_t ch);
#define textattr(x) textcolor(x)
void set_cursor_enabled(bool enabled);
@@ -50,9 +46,7 @@ inline void enable_smart_cursor(bool) { }
inline bool is_smart_cursor_enabled() { return false; }
-int window(int x1, int y1, int x2, int y2);
-
-extern "C" int getch();
+extern "C" int getchk();
int getch_ck();
int clrscr();
void cgotoxy(int x, int y, GotoRegion region = GOTO_CRT);