Portability | portable |
---|---|
Stability | provisional |
Maintainer | libraries@haskell.org |
A collection of type declarations for interfacing with Xlib.
- newtype Display = Display (Ptr Display)
- newtype Screen = Screen (Ptr Screen)
- data Visual
- data GC
- data GCValues
- data SetWindowAttributes
- newtype Image = Image (Ptr Image)
- data Point = Point {}
- data Rectangle = Rectangle {
- rect_x :: !Position
- rect_y :: !Position
- rect_width :: !Dimension
- rect_height :: !Dimension
- data Arc = Arc {
- arc_x :: Position
- arc_y :: Position
- arc_width :: Dimension
- arc_height :: Dimension
- arc_angle1 :: Angle
- arc_angle2 :: Angle
- data Segment = Segment {}
- data Color = Color {
- color_pixel :: Pixel
- color_red :: Word16
- color_green :: Word16
- color_blue :: Word16
- color_flags :: Word8
- type Pixel = Word32
- type Position = Int32
- type Dimension = Word32
- type Angle = CInt
- type ScreenNumber = Word32
- type Buffer = CInt
Documentation
pointer to an X11 Display
structure
pointer to an X11 Screen
structure
pointer to an X11 Visual
structure
pointer to an X11 XGCValues
structure
data SetWindowAttributes Source
pointer to an X11 XSetWindowAttributes
structure
pointer to an X11 XImage
structure
counterpart of an X11 XPoint
structure
counterpart of an X11 XRectangle
structure
Rectangle | |
|
counterpart of an X11 XArc
structure
Arc | |
|
counterpart of an X11 XSegment
structure
counterpart of an X11 XColor
structure
Color | |
|
type ScreenNumber = Word32Source