mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 11:25:08 +00:00
Window's CONSOLE support has been extended so that: CSRLIN support added. POS(0) support added. LOCATE support added. (Works with optional parameters.) COLOR support added. SCREEN support added to get both character and color information of any point on the console. tab() glitch fixed. (Which could cause an endless loop when printing with comma spaced text/numbers.) _WIDTH support added. _HEIGHT support added. WIDTH support added, with 2 new parameters added so we can set the buffer width and buffer height also. CLS support semi-added. (Doesn't accept colored backgrounds; it clears the screen black. I'm getting tired of working up console stuff which I probably won't ever use myself...) SLEEP support added. END support added so we now end with any keypress and not just enter. _CONSOLEINPUT added, so we can tell the difference in mouse and keyboard input. _CINP(toggle) support added, which allows us to get single character keystrokes from the console. _CONSOLEFONT FontName, FontSize support added, which allows us to change the font and font size we use for the console. _CONSOLECURSOR _SHOW|_HIDE, cursorsize support added, which allows us to show or hide the cursor in the console, and to change its size (from 0 to 100), as desired. New keyboard commands added: _CAPSLOCK -- returns 1 if caps lock is on, 0 if it isn't. _NUMLOCK -- as above, but for num lock _SCROLLOCK -- as above, but for scroll lock _TOGGLE_CAPSLOCK -- toggles the caps lock state for us. _TOGGLE_NUMLOCK -- same, but for num lock _TOGGLE_SCROLLOCK -- same, but for scroll lock
26 lines
802 B
Text
26 lines
802 B
Text
int32 *_SUB_IDEBOXSHADOW_LONG_Y2=NULL;
|
|
if(_SUB_IDEBOXSHADOW_LONG_Y2==NULL){
|
|
_SUB_IDEBOXSHADOW_LONG_Y2=(int32*)mem_static_malloc(4);
|
|
*_SUB_IDEBOXSHADOW_LONG_Y2=0;
|
|
}
|
|
int64 fornext_value4397;
|
|
int64 fornext_finalvalue4397;
|
|
int64 fornext_step4397;
|
|
uint8 fornext_step_negative4397;
|
|
int64 fornext_value4401;
|
|
int64 fornext_finalvalue4401;
|
|
int64 fornext_step4401;
|
|
uint8 fornext_step_negative4401;
|
|
int32 *_SUB_IDEBOXSHADOW_LONG_X2=NULL;
|
|
if(_SUB_IDEBOXSHADOW_LONG_X2==NULL){
|
|
_SUB_IDEBOXSHADOW_LONG_X2=(int32*)mem_static_malloc(4);
|
|
*_SUB_IDEBOXSHADOW_LONG_X2=0;
|
|
}
|
|
int64 fornext_value4403;
|
|
int64 fornext_finalvalue4403;
|
|
int64 fornext_step4403;
|
|
uint8 fornext_step_negative4403;
|
|
int64 fornext_value4406;
|
|
int64 fornext_finalvalue4406;
|
|
int64 fornext_step4406;
|
|
uint8 fornext_step_negative4406;
|