FreeBASIC  0.91.0
fb_hook.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  FB_HOOKSTB
 

Typedefs

typedef FBSTRING *(* FB_INKEYPROC )(void)
 
typedef int(* FB_GETKEYPROC )(void)
 
typedef int(* FB_KEYHITPROC )(void)
 
typedef void(* FB_CLSPROC )(int mode)
 
typedef int(* FB_COLORPROC )(int fc, int bc, int flags)
 
typedef int(* FB_LOCATEPROC )(int row, int col, int cursor)
 
typedef void(* FB_VIEWUPDATEPROC )(void)
 
typedef int(* FB_WIDTHPROC )(int cols, int rows)
 
typedef int(* FB_GETXPROC )(void)
 
typedef int(* FB_GETYPROC )(void)
 
typedef void(* FB_GETXYPROC )(int *col, int *row)
 
typedef void(* FB_GETSIZEPROC )(int *cols, int *rows)
 
typedef unsigned int(* FB_READXYPROC )(int col, int row, int colorflag)
 
typedef void(* FB_PRINTBUFFPROC )(const void *buffer, size_t len, int mask)
 
typedef void(* FB_PRINTBUFFWPROC )(const FB_WCHAR *buffer, size_t len, int mask)
 
typedef char *(* FB_READSTRPROC )(char *buffer, ssize_t len)
 
typedef int(* FB_LINEINPUTPROC )(FBSTRING *text, void *dst, ssize_t dst_len, int fillrem, int addquestion, int addnewline)
 
typedef int(* FB_LINEINPUTWPROC )(const FB_WCHAR *text, FB_WCHAR *dst, ssize_t max_chars, int addquestion, int addnewline)
 
typedef int(* FB_MULTIKEYPROC )(int scancode)
 
typedef int(* FB_GETMOUSEPROC )(int *x, int *y, int *z, int *buttons_, int *clip)
 
typedef int(* FB_SETMOUSEPROC )(int x, int y, int cursor, int clip)
 
typedef int(* FB_INPROC )(unsigned short port)
 
typedef int(* FB_OUTPROC )(unsigned short port, unsigned char value)
 
typedef void(* FB_SLEEPPROC )(int msecs)
 
typedef int(* FB_ISREDIRPROC )(int is_input)
 
typedef int(* FB_PAGECOPYPROC )(int src, int dst)
 
typedef int(* FB_PAGESETPROC )(int active, int visible)
 
typedef struct FB_HOOKSTB FB_HOOKSTB
 

Functions

FBCALL FBSTRINGfb_Inkey (void)
 
FBCALL FBSTRINGfb_InkeyQB (void)
 
FBCALL int fb_Getkey (void)
 
FBCALL int fb_KeyHit (void)
 
FBCALL void fb_Cls (int mode)
 
FBCALL int fb_Color (int fc, int bc, int flags)
 
FBCALL int fb_LocateEx (int row, int col, int cursor, int *current_pos)
 
FBCALL int fb_Locate (int row, int col, int cursor, int start, int stop)
 
FBCALL int fb_LocateSub (int row, int col, int cursor)
 
FBCALL void fb_ViewUpdate (void)
 
FBCALL int fb_Width (int cols, int rows)
 
FBCALL int fb_WidthDev (FBSTRING *dev, int width)
 
FBCALL int fb_WidthFile (int fnum, int width)
 
FBCALL int fb_Pos (int dummy)
 
FBCALL int fb_GetX (void)
 
FBCALL int fb_GetY (void)
 
FBCALL void fb_GetXY (int *col, int *row)
 
FBCALL void fb_GetSize (int *cols, int *rows)
 
FBCALL unsigned int fb_ReadXY (int col, int row, int colorflag)
 
char * fb_ReadString (char *buffer, ssize_t len, FILE *f)
 
FBCALL int fb_LineInput (FBSTRING *text, void *dst, ssize_t dst_len, int fillrem, int addquestion, int addnewline)
 
FBCALL int fb_LineInputWstr (const FB_WCHAR *text, FB_WCHAR *dst, ssize_t max_chars, int addquestion, int addnewline)
 
FBCALL int fb_Multikey (int scancode)
 
FBCALL int fb_GetMouse (int *x, int *y, int *z, int *buttons_, int *clip)
 
FBCALL int fb_GetMouse64 (long long *x, long long *y, long long *z, long long *buttons_, long long *clip)
 
FBCALL int fb_SetMouse (int x, int y, int cursor, int clip)
 
FBCALL int fb_In (unsigned short port)
 
FBCALL int fb_Out (unsigned short port, unsigned char value)
 
FBCALL void fb_Sleep (int msecs)
 
FBCALL void fb_SleepQB (int secs)
 
FBCALL void fb_Delay (int msecs)
 
FBCALL int fb_SleepEx (int msecs, int kind)
 
FBCALL int fb_IsRedirected (int is_input)
 
FBCALL int fb_PageCopy (int src, int dst)
 
FBCALL int fb_PageSet (int active, int visible)
 

Typedef Documentation

typedef void(* FB_CLSPROC)(int mode)

Definition at line 10 of file fb_hook.h.

typedef int(* FB_COLORPROC)(int fc, int bc, int flags)

Definition at line 14 of file fb_hook.h.

typedef int(* FB_GETKEYPROC)(void)

Definition at line 2 of file fb_hook.h.

typedef int(* FB_GETMOUSEPROC)(int *x, int *y, int *z, int *buttons_, int *clip)

Definition at line 68 of file fb_hook.h.

typedef void(* FB_GETSIZEPROC)(int *cols, int *rows)

Definition at line 37 of file fb_hook.h.

typedef int(* FB_GETXPROC)(void)

Definition at line 34 of file fb_hook.h.

typedef void(* FB_GETXYPROC)(int *col, int *row)

Definition at line 36 of file fb_hook.h.

typedef int(* FB_GETYPROC)(void)

Definition at line 35 of file fb_hook.h.

typedef struct FB_HOOKSTB FB_HOOKSTB
typedef FBSTRING*(* FB_INKEYPROC)(void)

Definition at line 1 of file fb_hook.h.

typedef int(* FB_INPROC)(unsigned short port)

Definition at line 73 of file fb_hook.h.

typedef int(* FB_ISREDIRPROC)(int is_input)

Definition at line 83 of file fb_hook.h.

typedef int(* FB_KEYHITPROC)(void)

Definition at line 3 of file fb_hook.h.

typedef int(* FB_LINEINPUTPROC)(FBSTRING *text, void *dst, ssize_t dst_len, int fillrem, int addquestion, int addnewline)

Definition at line 54 of file fb_hook.h.

typedef int(* FB_LINEINPUTWPROC)(const FB_WCHAR *text, FB_WCHAR *dst, ssize_t max_chars, int addquestion, int addnewline)

Definition at line 56 of file fb_hook.h.

typedef int(* FB_LOCATEPROC)(int row, int col, int cursor)

Definition at line 18 of file fb_hook.h.

typedef int(* FB_MULTIKEYPROC)(int scancode)

Definition at line 67 of file fb_hook.h.

typedef int(* FB_OUTPROC)(unsigned short port, unsigned char value)

Definition at line 74 of file fb_hook.h.

typedef int(* FB_PAGECOPYPROC)(int src, int dst)

Definition at line 86 of file fb_hook.h.

typedef int(* FB_PAGESETPROC)(int active, int visible)

Definition at line 89 of file fb_hook.h.

typedef void(* FB_PRINTBUFFPROC)(const void *buffer, size_t len, int mask)

Definition at line 48 of file fb_hook.h.

typedef void(* FB_PRINTBUFFWPROC)(const FB_WCHAR *buffer, size_t len, int mask)

Definition at line 49 of file fb_hook.h.

typedef char*(* FB_READSTRPROC)(char *buffer, ssize_t len)

Definition at line 51 of file fb_hook.h.

typedef unsigned int(* FB_READXYPROC)(int col, int row, int colorflag)

Definition at line 45 of file fb_hook.h.

typedef int(* FB_SETMOUSEPROC)(int x, int y, int cursor, int clip)

Definition at line 69 of file fb_hook.h.

typedef void(* FB_SLEEPPROC)(int msecs)

Definition at line 80 of file fb_hook.h.

typedef void(* FB_VIEWUPDATEPROC)(void)

Definition at line 24 of file fb_hook.h.

typedef int(* FB_WIDTHPROC)(int cols, int rows)

Definition at line 28 of file fb_hook.h.

Function Documentation

FBCALL void fb_Cls ( int  mode)

Definition at line 6 of file hook_cls.c.

Here is the call graph for this function:

Here is the caller graph for this function:

FBCALL int fb_Color ( int  fc,
int  bc,
int  flags 
)

Definition at line 6 of file hook_color.c.

Here is the call graph for this function:

FBCALL void fb_Delay ( int  msecs)

Definition at line 4 of file sys_delay.c.

Here is the caller graph for this function:

FBCALL int fb_Getkey ( void  )

Definition at line 23 of file hook_inkey.c.

Here is the call graph for this function:

Here is the caller graph for this function:

FBCALL int fb_GetMouse ( int *  x,
int *  y,
int *  z,
int *  buttons_,
int *  clip 
)

Definition at line 3 of file hook_getmouse.c.

Here is the call graph for this function:

Here is the caller graph for this function:

FBCALL int fb_GetMouse64 ( long long *  x,
long long *  y,
long long *  z,
long long *  buttons_,
long long *  clip 
)

Definition at line 3 of file hook_getmouse64.c.

Here is the call graph for this function:

FBCALL void fb_GetSize ( int *  cols,
int *  rows 
)

Definition at line 6 of file hook_getsize.c.

Here is the call graph for this function:

Here is the caller graph for this function:

FBCALL int fb_GetX ( void  )

Definition at line 6 of file hook_getx.c.

Here is the call graph for this function:

Here is the caller graph for this function:

FBCALL void fb_GetXY ( int *  col,
int *  row 
)

Definition at line 6 of file hook_getxy.c.

Here is the call graph for this function:

Here is the caller graph for this function:

FBCALL int fb_GetY ( void  )

Definition at line 6 of file hook_gety.c.

Here is the call graph for this function:

FBCALL int fb_In ( unsigned short  port)

Definition at line 6 of file hook_ports.c.

Here is the call graph for this function:

Here is the caller graph for this function:

FBCALL FBSTRING* fb_Inkey ( void  )

Definition at line 6 of file hook_inkey.c.

Here is the call graph for this function:

Here is the caller graph for this function:

FBCALL FBSTRING* fb_InkeyQB ( void  )

Definition at line 6 of file qb_inkey.c.

Here is the call graph for this function:

FBCALL int fb_IsRedirected ( int  is_input)

Definition at line 6 of file hook_isredir.c.

Here is the call graph for this function:

Here is the caller graph for this function:

FBCALL int fb_KeyHit ( void  )

Definition at line 40 of file hook_inkey.c.

Here is the call graph for this function:

Here is the caller graph for this function:

FBCALL int fb_LineInput ( FBSTRING text,
void *  dst,
ssize_t  dst_len,
int  fillrem,
int  addquestion,
int  addnewline 
)

Definition at line 6 of file hook_lineinp.c.

Here is the call graph for this function:

Here is the caller graph for this function:

FBCALL int fb_LineInputWstr ( const FB_WCHAR text,
FB_WCHAR dst,
ssize_t  max_chars,
int  addquestion,
int  addnewline 
)

Definition at line 6 of file hook_lineinp_wstr.c.

Here is the call graph for this function:

FBCALL int fb_Locate ( int  row,
int  col,
int  cursor,
int  start,
int  stop 
)

Definition at line 6 of file con_locate.c.

Here is the call graph for this function:

Here is the caller graph for this function:

FBCALL int fb_LocateEx ( int  row,
int  col,
int  cursor,
int *  current_pos 
)

Definition at line 6 of file hook_locate_ex.c.

Here is the call graph for this function:

Here is the caller graph for this function:

FBCALL int fb_LocateSub ( int  row,
int  col,
int  cursor 
)
FBCALL int fb_Multikey ( int  scancode)

Definition at line 6 of file hook_multikey.c.

Here is the call graph for this function:

FBCALL int fb_Out ( unsigned short  port,
unsigned char  value 
)

Definition at line 23 of file hook_ports.c.

Here is the call graph for this function:

FBCALL int fb_PageCopy ( int  src,
int  dst 
)

Definition at line 5 of file hook_pcopy.c.

Here is the call graph for this function:

FBCALL int fb_PageSet ( int  active,
int  visible 
)

Definition at line 5 of file hook_pageset.c.

Here is the call graph for this function:

Here is the caller graph for this function:

FBCALL int fb_Pos ( int  dummy)

Definition at line 6 of file con_pos.c.

Here is the call graph for this function:

char* fb_ReadString ( char *  buffer,
ssize_t  len,
FILE *  f 
)

Definition at line 5 of file hook_readstr.c.

Here is the call graph for this function:

Here is the caller graph for this function:

FBCALL unsigned int fb_ReadXY ( int  col,
int  row,
int  colorflag 
)

Definition at line 6 of file hook_readxy.c.

Here is the call graph for this function:

FBCALL int fb_SetMouse ( int  x,
int  y,
int  cursor,
int  clip 
)

Definition at line 3 of file hook_setmouse.c.

Here is the call graph for this function:

FBCALL void fb_Sleep ( int  msecs)

Definition at line 6 of file hook_sleep.c.

Here is the call graph for this function:

Here is the caller graph for this function:

FBCALL int fb_SleepEx ( int  msecs,
int  kind 
)

Definition at line 6 of file time_sleepex.c.

Here is the call graph for this function:

FBCALL void fb_SleepQB ( int  secs)

Definition at line 6 of file qb_sleep.c.

Here is the call graph for this function:

FBCALL void fb_ViewUpdate ( void  )

Definition at line 6 of file hook_view_update.c.

Here is the call graph for this function:

Here is the caller graph for this function:

FBCALL int fb_Width ( int  cols,
int  rows 
)

Definition at line 6 of file hook_width.c.

Here is the call graph for this function:

Here is the caller graph for this function:

FBCALL int fb_WidthDev ( FBSTRING dev,
int  width 
)

Definition at line 48 of file io_widthdev.c.

Here is the call graph for this function:

FBCALL int fb_WidthFile ( int  fnum,
int  width 
)

Definition at line 6 of file io_widthfile.c.

Here is the call graph for this function: