| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
HTk.Devices.Screen
Description
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
- getScreenVisual :: Window a => Screen a -> IO VisualClass
Documentation
Gets the height of the screen.
Gets the width of the screen.
Arguments
| :: 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).
Constructors
| DirectColour | |
| GrayScale | |
| PseudoColour | |
| StaticColour | |
| StaticGray | |
| TrueColour |
Instances
| Enum VisualClass Source # | |
| Eq VisualClass Source # | |
| Ord VisualClass Source # | |
| Read VisualClass Source # | Internal. |
| Show VisualClass Source # | Internal. |
| GUIValue VisualClass Source # | Internal. |
Arguments
| :: Window a | |
| => Screen a | the concerned screen. |
| -> IO VisualClass | The visual properties. |
Gets the visual properties of the screen.