FreeBASIC  0.91.0
gfx_inkey.c File Reference
#include "fb_gfx.h"
Include dependency graph for gfx_inkey.c:

Go to the source code of this file.

Macros

#define KEY_BUFFER_LEN   16
 

Functions

int fb_hGfxInputBufferChanged (void)
 
void fb_hPostKey (int key)
 
static int get_key (void)
 
int fb_GfxGetkey (void)
 
int fb_GfxKeyHit (void)
 
FBSTRINGfb_GfxInkey (void)
 
int fb_GfxIsRedir (int is_input)
 

Variables

static int key_buffer [KEY_BUFFER_LEN]
 
static int key_head = 0
 
static int key_tail = 0
 
static int key_buffer_changed = FALSE
 

Macro Definition Documentation

#define KEY_BUFFER_LEN   16

Definition at line 5 of file gfx_inkey.c.

Function Documentation

int fb_GfxGetkey ( void  )

Definition at line 60 of file gfx_inkey.c.

Here is the call graph for this function:

Here is the caller graph for this function:

FBSTRING* fb_GfxInkey ( void  )

Definition at line 87 of file gfx_inkey.c.

Here is the call graph for this function:

Here is the caller graph for this function:

int fb_GfxIsRedir ( int  is_input)

Definition at line 101 of file gfx_inkey.c.

Here is the caller graph for this function:

int fb_GfxKeyHit ( void  )

Definition at line 74 of file gfx_inkey.c.

Here is the caller graph for this function:

int fb_hGfxInputBufferChanged ( void  )

Definition at line 10 of file gfx_inkey.c.

Here is the caller graph for this function:

void fb_hPostKey ( int  key)

Definition at line 24 of file gfx_inkey.c.

Here is the caller graph for this function:

static int get_key ( void  )
static

Definition at line 40 of file gfx_inkey.c.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

int key_buffer[KEY_BUFFER_LEN]
static

Definition at line 7 of file gfx_inkey.c.

int key_buffer_changed = FALSE
static

Definition at line 8 of file gfx_inkey.c.

int key_head = 0
static

Definition at line 7 of file gfx_inkey.c.

int key_tail = 0
static

Definition at line 7 of file gfx_inkey.c.