libunix.h File Reference

#include <stdio.h>

Include dependency graph for libunix.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define O_BINARY   0

Typedefs

typedef unsigned short screen_buffer_t

Functions

int get_number_of_lines ()
int get_number_of_cols ()
int getch_ck (void)
int clrscr (void)
int cprintf (const char *format,...)
int gotoxy_sys (int x, int y)
void fakecursorxy (int x, int y)
char * itoa (int value, char *strptr, int radix)
int kbhit (void)
int putch (unsigned char chr)
int putwch (unsigned chr)
void put_colour_ch (int colour, unsigned ch)
int translate_keypad (int keyin)
int wherex (void)
int wherey (void)
int window (int x1, int y1, int x2, int y2)
void puttext (int x, int y, const crawl_view_buffer &vbuf)
void update_screen (void)
void clear_to_end_of_line (void)
void clear_to_end_of_screen (void)
void delay (unsigned long time)
void unixcurses_shutdown (void)
void unixcurses_startup (void)
void textbackground (int bg)
void textcolor (int col)
void textattr (int col)
void set_cursor_enabled (bool enabled)
bool is_cursor_enabled ()
void enable_smart_cursor (bool)
bool is_smart_cursor_enabled ()
void set_mouse_enabled (bool enabled)
int getstr (char *)
int getch (void)
int noecho (void)
int echo (void)
char * strlwr (char *str)


Define Documentation

#define O_BINARY   0


Typedef Documentation

typedef unsigned short screen_buffer_t


Function Documentation

void clear_to_end_of_line ( void   ) 

void clear_to_end_of_screen ( void   ) 

Here is the call graph for this function:

int clrscr ( void   ) 

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

void delay ( unsigned long  time  ) 

int echo ( void   ) 

void enable_smart_cursor ( bool   )  [inline]

void fakecursorxy ( int  x,
int  y 
)

int get_number_of_cols (  ) 

int get_number_of_lines (  ) 

int getch ( void   ) 

int getch_ck ( void   ) 

int getstr ( char *   ) 

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

bool is_cursor_enabled (  ) 

bool is_smart_cursor_enabled (  )  [inline]

char* itoa ( int  value,
char *  strptr,
int  radix 
)

int kbhit ( void   ) 

int noecho ( void   ) 

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

Here is the call graph for this function:

int putch ( unsigned char  chr  ) 

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

int putwch ( unsigned  chr  ) 

void set_cursor_enabled ( bool  enabled  ) 

void set_mouse_enabled ( bool  enabled  ) 

char* strlwr ( char *  str  ) 

void textattr ( int  col  ) 

void textbackground ( int  bg  ) 

void textcolor ( int  col  ) 

int translate_keypad ( int  keyin  ) 

void unixcurses_shutdown ( void   ) 

void unixcurses_startup ( void   ) 

void update_screen ( void   )  [inline]

int wherex ( void   ) 

int wherey ( void   ) 

int window ( int  x1,
int  y1,
int  x2,
int  y2 
)


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