version 1.2 | | version 1.3 |
---|
| | |
* Definitions for graphics lib. | | * Definitions for graphics lib. |
* | | * |
* $Log$ | | * $Log$ |
| | * Revision 1.3 1999/09/16 03:34:15 donut |
| | * cleaned up fullscreen toggle code to make it easy to add support to other targets later, and added -nosdlvidmodecheck |
| | * |
* Revision 1.2 1999/08/05 22:53:41 sekmu | | * Revision 1.2 1999/08/05 22:53:41 sekmu |
* | | * |
* D3D patch(es) from ADB | | * D3D patch(es) from ADB |
| | |
//end addition -MM | | //end addition -MM |
| | |
#endif //!_GR_H | | #endif //!_GR_H |
| | |
| | //currently SDL is the only thing that supports toggling fullscreen. otherwise add other checks to the #if -MPM |
| | #if (defined(SDL_VIDEO)) |
| | #define GR_SUPPORTS_FULLSCREEN_TOGGLE |
| | int gr_check_fullscreen(void);//must return 0 if windowed, 1 if fullscreen |
| | int gr_toggle_fullscreen(void);//returns state after toggling (ie, same as if you had called check_fullscreen immediatly after) |
| | #endif |