Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
SFML.Window.VideoMode
- data VideoMode = VideoMode {
- windowWidth :: Int
- windowHeight :: Int
- windowBPP :: Int
- getDesktopMode :: IO VideoMode
- getFullscreenModes :: IO [VideoMode]
- isValid :: VideoMode -> IO Bool
Documentation
data VideoMode
Constructors
VideoMode | |
Fields
|
getDesktopMode :: IO VideoMode
Get the current desktop video mode
getFullscreenModes :: IO [VideoMode]
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.