diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-11-22 08:41:20 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-11-22 08:41:20 +0000 |
commit | 1d0f57cbceb778139ca215cc4fcfd1584951f6dd (patch) | |
tree | cafd60c944c51fcce778aa5d6912bc548c518339 /crawl-ref/source/libunix.h | |
parent | 6f5e187a9e5cd348296dba2fd89d2e206e775a01 (diff) | |
download | crawl-ref-1d0f57cbceb778139ca215cc4fcfd1584951f6dd.tar.gz crawl-ref-1d0f57cbceb778139ca215cc4fcfd1584951f6dd.zip |
Merged stone_soup r15:451 into trunk.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@452 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/libunix.h')
-rw-r--r-- | crawl-ref/source/libunix.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/crawl-ref/source/libunix.h b/crawl-ref/source/libunix.h index c416733666..d42454dadc 100644 --- a/crawl-ref/source/libunix.h +++ b/crawl-ref/source/libunix.h @@ -17,7 +17,6 @@ int cprintf(const char *format,...); int gotoxy(int x, int y); int itoa(int value, char *strptr, int radix); int kbhit(void); -int key_to_command(int); int putch(unsigned char chr); int stricmp(const char *str1, const char *str2); int translate_keypad(int keyin); @@ -28,15 +27,19 @@ void update_screen(void); void clear_to_end_of_line(void); void clear_to_end_of_screen(void); int get_number_of_lines_from_curses(void); +int get_number_of_cols_from_curses(void); void get_input_line_from_curses( char *const buff, int len ); void _setcursortype(int curstype); void delay(unsigned long time); -void init_key_to_command(); void unixcurses_shutdown(void); void unixcurses_startup(void); void textbackground(int bg); void textcolor(int col); +void textattr(int col); + +void set_altcharset(bool alt_on); +bool get_altcharset(); #ifndef _LIBUNIX_IMPLEMENTATION /* Some stuff from curses, to remove compiling warnings.. */ |