1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-09-20 09:04:44 +00:00
qb64/internal/c/User Mods/Steve Stuff/screeninfo.cpp
SMcNeill 6e01fc8dce Altered string compare routines (<,<=,>,>=) so they don't give false results with CHR$(0).
Added new _STRCMP and _STRICMP commands for quick string comparisons.
Cleaned up QB64 to finish removing the QUI (quick user insert) code and folders.
Altered UCASE and LCASE routines to be faster in some situations for us.
2014-09-22 08:19:03 -04:00

23 lines
No EOL
445 B
C++

int32 func_screenwidth () {
while (!window_exists){Sleep(100);}
return glutGet(GLUT_SCREEN_WIDTH);
}
int32 func_screenheight () {
while (!window_exists){Sleep(100);}
return glutGet(GLUT_SCREEN_HEIGHT);
}
void sub_screenicon () {
while (!window_exists){Sleep(100);}
glutIconifyWindow;
return;
}
int32 func_windowexists () {
return -window_exists;
}
int32 func__controlchr () {
return -no_control_characters2;
}