The module Screen
exports general functionality on the
screen's properties.
- newtype Screen w = Screen w
- getScreenHeight :: Window a => Screen a -> IO Distance
- getScreenWidth :: Window a => Screen a -> IO Distance
- getScreenManager :: Window a => Screen a -> IO String
- data VisualClass
- = DirectColour
- | GrayScale
- | PseudoColour
- | StaticColour
- | StaticGray
- | TrueColour
- getScreenVisual :: Window a => Screen a -> IO VisualClass
Documentation
Gets the height of the screen.
Gets the width of the screen.
:: Window a | |
=> Screen a | the concerned screen. |
-> IO String | A textual representation of the screen manager. |
Gets the screen manager from a screen.
data VisualClass Source
The VisualClass
datatype (see
Screen.getScreenVisual
).
Enum VisualClass | |
Eq VisualClass | |
Ord VisualClass | |
Read VisualClass | Internal. |
Show VisualClass | Internal. |
GUIValue VisualClass | Internal. |
:: Window a | |
=> Screen a | the concerned screen. |
-> IO VisualClass | The visual properties. |
Gets the visual properties of the screen.