This is a purely internal module with miscellaneous types which don't really have a good place elsewhere.
- newtype Window = Window CInt
- data Relation
- relationToString :: Relation -> String
- data MouseButton
- marshalMouseButton :: MouseButton -> CInt
- unmarshalMouseButton :: CInt -> MouseButton
An opaque identifier for a top-level window or a subwindow.
A relation between a
and a numeric value.
Less than and preferring larger difference (the least is best).
Less than or equal and preferring larger difference (the least is best).
Greater than and preferring larger differences (the most is best).
Greater than or equal and preferring more instead of
less. This relation is useful for allocating
resources like color precision or depth buffer
precision where the maximum precision is generally
preferred. Contrast with
Greater than or equal but preferring less instead of more. This relation is useful for allocating resources such as stencil bits or auxillary color buffers where you would rather not over-allocate.
Mouse buttons, including a wheel