Go to the source code of this file.
|
static __inline__ void | hReadConsoleRect (SMALL_RECT *pRect, int GetRealWindow) |
|
FBCALL void | fb_hUpdateConsoleWindow (void) |
| Remembers the current console window coordinates. More...
|
|
void | fb_InitConsoleWindow (void) |
|
FBCALL void | fb_hRestoreConsoleWindow (void) |
|
void | fb_ConsoleGetMaxWindowSize (int *cols, int *rows) |
|
FBCALL void | fb_hConvertToConsole (int *left, int *top, int *right, int *bottom) |
|
FBCALL void | fb_hConvertFromConsole (int *left, int *top, int *right, int *bottom) |
|
void | fb_hConsoleGetWindow (int *left, int *top, int *cols, int *rows) |
|
void fb_ConsoleGetMaxWindowSize |
( |
int * |
cols, |
|
|
int * |
rows |
|
) |
| |
void fb_hConsoleGetWindow |
( |
int * |
left, |
|
|
int * |
top, |
|
|
int * |
cols, |
|
|
int * |
rows |
|
) |
| |
FBCALL void fb_hConvertFromConsole |
( |
int * |
left, |
|
|
int * |
top, |
|
|
int * |
right, |
|
|
int * |
bottom |
|
) |
| |
FBCALL void fb_hConvertToConsole |
( |
int * |
left, |
|
|
int * |
top, |
|
|
int * |
right, |
|
|
int * |
bottom |
|
) |
| |
FBCALL void fb_hRestoreConsoleWindow |
( |
void |
) | |
|
FBCALL void fb_hUpdateConsoleWindow |
( |
void |
) | |
|
Remembers the current console window coordinates.
This function remembers the current console window coordinates. This is required because some applications showing using a SAA interface doesn't use WIDTH first to reduce the console screen buffer size which means that the scroll bar of the console window is always visible/accessible which also implies that the user might scroll up and down while the application is running.
When this library would always use the current console window coordinates, the application might show trash when the user scrolled up or down the buffer. But this is not what we want so we're only updating the console window coordinates under the following conditions:
- Initialization
- After screen buffer size change (using WIDTH)
- After printing text
Definition at line 44 of file io_window.c.
void fb_InitConsoleWindow |
( |
void |
) | |
|
static __inline__ void hReadConsoleRect |
( |
SMALL_RECT * |
pRect, |
|
|
int |
GetRealWindow |
|
) |
| |
|
static |
SMALL_RECT srRealConsoleWindow |
|
static |