libw32c.h File Reference

#include <string>
#include <stdarg.h>
#include <stdio.h>

Include dependency graph for libw32c.h:

Go to the source code of this file.

Typedefs

typedef unsigned short screen_buffer_t

Functions

void init_libw32c (void)
void deinit_libw32c (void)
int get_number_of_lines ()
int get_number_of_cols ()
void set_cursor_enabled (bool enabled)
bool is_cursor_enabled ()
void clrscr (void)
void clear_to_end_of_line ()
void gotoxy_sys (int x, int y)
void textcolor (int c)
void textattr (int c)
void cprintf (const char *format,...)
void set_string_input (bool value)
bool set_buffering (bool value)
int get_console_string (char *buf, int maxlen)
void print_timings (void)
void window (int x, int y, int lx, int ly)
int wherex (void)
int wherey (void)
void putch (char c)
void putwch (unsigned c)
int getch (void)
int getch_ck (void)
int kbhit (void)
void delay (int ms)
void textbackground (int c)
void puttext (int x, int y, const crawl_view_buffer &vbuf)
void update_screen ()
void enable_smart_cursor (bool cursor)
bool is_smart_cursor_enabled ()
void set_mouse_enabled (bool enabled)
void put_colour_ch (int colour, unsigned ch)


Typedef Documentation

typedef unsigned short screen_buffer_t


Function Documentation

void clear_to_end_of_line (  ) 

Here is the call graph for this function:

void clrscr ( void   ) 

Here is the call graph for this function:

void cprintf ( const char *  format,
  ... 
)

void deinit_libw32c ( void   ) 

void delay ( int  ms  ) 

void enable_smart_cursor ( bool  cursor  )  [inline]

int get_console_string ( char *  buf,
int  maxlen 
)

int get_number_of_cols (  ) 

int get_number_of_lines (  ) 

int getch ( void   ) 

int getch_ck ( void   ) 

Here is the call graph for this function:

void gotoxy_sys ( int  x,
int  y 
) [inline]

void init_libw32c ( void   ) 

bool is_cursor_enabled (  ) 

bool is_smart_cursor_enabled (  )  [inline]

int kbhit ( void   ) 

void print_timings ( void   ) 

void put_colour_ch ( int  colour,
unsigned  ch 
) [inline]

Here is the call graph for this function:

void putch ( char  c  ) 

void puttext ( int  x,
int  y,
const crawl_view_buffer vbuf 
)

Here is the call graph for this function:

void putwch ( unsigned  c  ) 

Here is the call graph for this function:

bool set_buffering ( bool  value  ) 

void set_cursor_enabled ( bool  enabled  ) 

void set_mouse_enabled ( bool  enabled  ) 

void set_string_input ( bool  value  ) 

void textattr ( int  c  ) 

Here is the call graph for this function:

void textbackground ( int  c  ) 

void textcolor ( int  c  ) 

void update_screen (  )  [inline]

int wherex ( void   ) 

int wherey ( void   ) 

void window ( int  x,
int  y,
int  lx,
int  ly 
)


Generated on Thu Jan 13 13:08:46 2011 by  doxygen 1.5.6