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

23 lines
445 B
C++
Raw Normal View History

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;
}