X11-1.6.1.1: A binding to the X11 graphics library

Portabilityportable
Stabilityprovisional
MaintainerBen Boeckel <mathstuf@gmail.com> , Jochen Keil <jochen dot keil at gmail dot com>
Safe HaskellNone

Graphics.X11.Xrandr

Description

 

Synopsis

Documentation

data XRRScreenSize

Representation of the XRRScreenSize struct

Constructors

XRRScreenSize 

Fields

xrr_ss_width :: !CInt
 
xrr_ss_height :: !CInt
 
xrr_ss_mwidth :: !CInt
 
xrr_ss_mheight :: !CInt
 

Instances

Show XRRScreenSize 
Storable XRRScreenSize 

data XRRModeInfo

Representation of the XRRModeInfo struct

Constructors

XRRModeInfo 

Fields

xrr_mi_id :: !RRMode
 
xrr_mi_width :: !CUInt
 
xrr_mi_height :: !CUInt
 
xrr_mi_dotClock :: !CUInt
 
xrr_mi_hSyncStart :: !CUInt
 
xrr_mi_hSyncEnd :: !CUInt
 
xrr_mi_hTotal :: !CUInt
 
xrr_mi_hSkew :: !CUInt
 
xrr_mi_vSyncStart :: !CUInt
 
xrr_mi_vSyncEnd :: !CUInt
 
xrr_mi_vTotal :: !CUInt
 
xrr_mi_name :: !String
 
xrr_mi_modeFlags :: !XRRModeFlags
 

Instances

Eq XRRModeInfo 
Show XRRModeInfo 
Storable XRRModeInfo 

data XRRScreenResources

Representation of the XRRScreenResources struct

data XRROutputInfo

Representation of the XRROutputInfo struct

Instances

data XRRCrtcInfo

Representation of the XRRCrtcInfo struct

Instances

Eq XRRCrtcInfo 
Show XRRCrtcInfo 
Storable XRRCrtcInfo 

type Rotation = Word16

type Reflection = Word16

type SizeID = Word16

xrrQueryExtension :: Display -> IO (Maybe (CInt, CInt))

xrrQueryVersion :: Display -> IO (Maybe (CInt, CInt))

xrrConfigRates :: XRRScreenConfiguration -> CInt -> IO (Maybe [CShort])

xrrRootToScreen :: Display -> Window -> IO CInt

xrrSizes :: Display -> CInt -> IO (Maybe [XRRScreenSize])

xrrRates :: Display -> CInt -> CInt -> IO (Maybe [CShort])

xrrTimes :: Display -> CInt -> IO (Time, Time)