Copyright | (c) Alastair Reid 1999-2003 |
---|---|
License | BSD-style (see the file libraries/base/LICENSE) |
Maintainer | libraries@haskell.org |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell98 |
A collection of type declarations for interfacing with Xlib.
- newtype Display = Display (Ptr Display)
- newtype Screen = Screen (Ptr Screen)
- newtype Visual = Visual (Ptr Visual)
- newtype GC = GC (Ptr GC)
- data GCValues
- data SetWindowAttributes
- data VisualInfo = VisualInfo {}
- 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 = Word64
- 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 GC
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 = Word32 Source #