Portability | portable |
---|---|
Stability | provisional |
Maintainer | libraries@haskell.org |
Safe Haskell | Safe-Inferred |
Graphics.X11.Xlib.Types
Description
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 = Word32
- type Position = Int32
- type Dimension = Word32
- type Angle = CInt
- type ScreenNumber = Word32
- type Buffer = CInt
Documentation
newtype Display
pointer to an X11 Display
structure
newtype Screen
pointer to an X11 Screen
structure
newtype Visual
pointer to an X11 Visual
structure
newtype GC
pointer to an X11 GC
structure
data GCValues
pointer to an X11 XGCValues
structure
data SetWindowAttributes
pointer to an X11 XSetWindowAttributes
structure
newtype Image
pointer to an X11 XImage
structure
data Point
counterpart of an X11 XPoint
structure
data Rectangle
counterpart of an X11 XRectangle
structure
Constructors
Rectangle | |
Fields
|
data Arc
counterpart of an X11 XArc
structure
Constructors
Arc | |
Fields
|
data Color
counterpart of an X11 XColor
structure
Constructors
Color | |
Fields
|
type ScreenNumber = Word32