Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
- data VideoMode = VideoMode {
- windowWidth :: Int
- windowHeight :: Int
- windowBPP :: Int
- getDesktopMode :: IO VideoMode
- getFullscreenModes :: IO [VideoMode]
- isValid :: VideoMode -> IO Bool
Documentation
VideoMode | |
|
getDesktopMode :: IO VideoMode Source
Get the current desktop video mode
getFullscreenModes :: IO [VideoMode] Source
Retrieve all the video modes supported in fullscreen mode
When creating a fullscreen window, the video mode is restricted to be compatible with what the graphics driver and monitor support.