1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-09-16 19:04:45 +00:00
QB64-PE/internal/c/User Mods/Steve Stuff/screeninfo.cpp
SMcNeill 33f652e0cc Changed QB64.bas to use BINARY for LINE INPUT files fot the performance increase.
Added new _SCREENEXISTS command to see if a screen has been made yet for the user.
Fixed the string < comparison bug.
2014-07-28 08:34:00 -04:00

19 lines
No EOL
375 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;
}