X11-1.10.2.9: A binding to the X11 graphics library
Copyright(c) Haskell.org 2012
(c) Jochen Keil 2012
LicenseBSD3
MaintainerBen Boeckel <mathstuf@gmail.com> , Jochen Keil <jochen dot keil at gmail dot com>
Stabilityprovisional
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell98

Graphics.X11.Xrandr

Description

 
Synopsis

Documentation

data XRRScreenSize Source #

Representation of the XRRScreenSize struct

Constructors

XRRScreenSize 

Fields

Instances

Instances details
Storable XRRScreenSize Source # 
Instance details

Defined in Graphics.X11.Xrandr

Methods

sizeOf :: XRRScreenSize -> Int

alignment :: XRRScreenSize -> Int

peekElemOff :: Ptr XRRScreenSize -> Int -> IO XRRScreenSize

pokeElemOff :: Ptr XRRScreenSize -> Int -> XRRScreenSize -> IO ()

peekByteOff :: Ptr b -> Int -> IO XRRScreenSize

pokeByteOff :: Ptr b -> Int -> XRRScreenSize -> IO ()

peek :: Ptr XRRScreenSize -> IO XRRScreenSize

poke :: Ptr XRRScreenSize -> XRRScreenSize -> IO ()

Show XRRScreenSize Source # 
Instance details

Defined in Graphics.X11.Xrandr

Methods

showsPrec :: Int -> XRRScreenSize -> ShowS

show :: XRRScreenSize -> String

showList :: [XRRScreenSize] -> ShowS

data XRRModeInfo Source #

Representation of the XRRModeInfo struct

Constructors

XRRModeInfo 

Fields

Instances

Instances details
Storable XRRModeInfo Source # 
Instance details

Defined in Graphics.X11.Xrandr

Methods

sizeOf :: XRRModeInfo -> Int

alignment :: XRRModeInfo -> Int

peekElemOff :: Ptr XRRModeInfo -> Int -> IO XRRModeInfo

pokeElemOff :: Ptr XRRModeInfo -> Int -> XRRModeInfo -> IO ()

peekByteOff :: Ptr b -> Int -> IO XRRModeInfo

pokeByteOff :: Ptr b -> Int -> XRRModeInfo -> IO ()

peek :: Ptr XRRModeInfo -> IO XRRModeInfo

poke :: Ptr XRRModeInfo -> XRRModeInfo -> IO ()

Show XRRModeInfo Source # 
Instance details

Defined in Graphics.X11.Xrandr

Methods

showsPrec :: Int -> XRRModeInfo -> ShowS

show :: XRRModeInfo -> String

showList :: [XRRModeInfo] -> ShowS

Eq XRRModeInfo Source # 
Instance details

Defined in Graphics.X11.Xrandr

Methods

(==) :: XRRModeInfo -> XRRModeInfo -> Bool

(/=) :: XRRModeInfo -> XRRModeInfo -> Bool

data XRRScreenResources Source #

Representation of the XRRScreenResources struct

Instances

Instances details
Storable XRRScreenResources Source # 
Instance details

Defined in Graphics.X11.Xrandr

Show XRRScreenResources Source # 
Instance details

Defined in Graphics.X11.Xrandr

Methods

showsPrec :: Int -> XRRScreenResources -> ShowS

show :: XRRScreenResources -> String

showList :: [XRRScreenResources] -> ShowS

Eq XRRScreenResources Source # 
Instance details

Defined in Graphics.X11.Xrandr

data XRROutputInfo Source #

Representation of the XRROutputInfo struct

Instances

Instances details
Storable XRROutputInfo Source # 
Instance details

Defined in Graphics.X11.Xrandr

Methods

sizeOf :: XRROutputInfo -> Int

alignment :: XRROutputInfo -> Int

peekElemOff :: Ptr XRROutputInfo -> Int -> IO XRROutputInfo

pokeElemOff :: Ptr XRROutputInfo -> Int -> XRROutputInfo -> IO ()

peekByteOff :: Ptr b -> Int -> IO XRROutputInfo

pokeByteOff :: Ptr b -> Int -> XRROutputInfo -> IO ()

peek :: Ptr XRROutputInfo -> IO XRROutputInfo

poke :: Ptr XRROutputInfo -> XRROutputInfo -> IO ()

Show XRROutputInfo Source # 
Instance details

Defined in Graphics.X11.Xrandr

Methods

showsPrec :: Int -> XRROutputInfo -> ShowS

show :: XRROutputInfo -> String

showList :: [XRROutputInfo] -> ShowS

Eq XRROutputInfo Source # 
Instance details

Defined in Graphics.X11.Xrandr

data XRRCrtcInfo Source #

Representation of the XRRCrtcInfo struct

Instances

Instances details
Storable XRRCrtcInfo Source # 
Instance details

Defined in Graphics.X11.Xrandr

Methods

sizeOf :: XRRCrtcInfo -> Int

alignment :: XRRCrtcInfo -> Int

peekElemOff :: Ptr XRRCrtcInfo -> Int -> IO XRRCrtcInfo

pokeElemOff :: Ptr XRRCrtcInfo -> Int -> XRRCrtcInfo -> IO ()

peekByteOff :: Ptr b -> Int -> IO XRRCrtcInfo

pokeByteOff :: Ptr b -> Int -> XRRCrtcInfo -> IO ()

peek :: Ptr XRRCrtcInfo -> IO XRRCrtcInfo

poke :: Ptr XRRCrtcInfo -> XRRCrtcInfo -> IO ()

Show XRRCrtcInfo Source # 
Instance details

Defined in Graphics.X11.Xrandr

Methods

showsPrec :: Int -> XRRCrtcInfo -> ShowS

show :: XRRCrtcInfo -> String

showList :: [XRRCrtcInfo] -> ShowS

Eq XRRCrtcInfo Source # 
Instance details

Defined in Graphics.X11.Xrandr

Methods

(==) :: XRRCrtcInfo -> XRRCrtcInfo -> Bool

(/=) :: XRRCrtcInfo -> XRRCrtcInfo -> Bool

data XRRPropertyInfo Source #

Representation of the XRRPropertyInfo struct

Constructors

XRRPropertyInfo 

Fields

Instances

Instances details
Storable XRRPropertyInfo Source # 
Instance details

Defined in Graphics.X11.Xrandr

Methods

sizeOf :: XRRPropertyInfo -> Int

alignment :: XRRPropertyInfo -> Int

peekElemOff :: Ptr XRRPropertyInfo -> Int -> IO XRRPropertyInfo

pokeElemOff :: Ptr XRRPropertyInfo -> Int -> XRRPropertyInfo -> IO ()

peekByteOff :: Ptr b -> Int -> IO XRRPropertyInfo

pokeByteOff :: Ptr b -> Int -> XRRPropertyInfo -> IO ()

peek :: Ptr XRRPropertyInfo -> IO XRRPropertyInfo

poke :: Ptr XRRPropertyInfo -> XRRPropertyInfo -> IO ()

Show XRRPropertyInfo Source # 
Instance details

Defined in Graphics.X11.Xrandr

Methods

showsPrec :: Int -> XRRPropertyInfo -> ShowS

show :: XRRPropertyInfo -> String

showList :: [XRRPropertyInfo] -> ShowS

Eq XRRPropertyInfo Source # 
Instance details

Defined in Graphics.X11.Xrandr

data XRRMonitorInfo Source #

Representation of the XRRMonitorInfo struct

Instances

Instances details
Storable XRRMonitorInfo Source # 
Instance details

Defined in Graphics.X11.Xrandr

Methods

sizeOf :: XRRMonitorInfo -> Int

alignment :: XRRMonitorInfo -> Int

peekElemOff :: Ptr XRRMonitorInfo -> Int -> IO XRRMonitorInfo

pokeElemOff :: Ptr XRRMonitorInfo -> Int -> XRRMonitorInfo -> IO ()

peekByteOff :: Ptr b -> Int -> IO XRRMonitorInfo

pokeByteOff :: Ptr b -> Int -> XRRMonitorInfo -> IO ()

peek :: Ptr XRRMonitorInfo -> IO XRRMonitorInfo

poke :: Ptr XRRMonitorInfo -> XRRMonitorInfo -> IO ()

Show XRRMonitorInfo Source # 
Instance details

Defined in Graphics.X11.Xrandr

Methods

showsPrec :: Int -> XRRMonitorInfo -> ShowS

show :: XRRMonitorInfo -> String

showList :: [XRRMonitorInfo] -> ShowS

Eq XRRMonitorInfo Source # 
Instance details

Defined in Graphics.X11.Xrandr

type Rotation = Word16 Source #

type Reflection = Word16 Source #

type SizeID = Word16 Source #

data XRRScreenConfiguration Source #

Instances

Instances details
Data XRRScreenConfiguration Source # 
Instance details

Defined in Graphics.X11.Xrandr

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> XRRScreenConfiguration -> c XRRScreenConfiguration

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c XRRScreenConfiguration

toConstr :: XRRScreenConfiguration -> Constr

dataTypeOf :: XRRScreenConfiguration -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c XRRScreenConfiguration)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c XRRScreenConfiguration)

gmapT :: (forall b. Data b => b -> b) -> XRRScreenConfiguration -> XRRScreenConfiguration

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> XRRScreenConfiguration -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> XRRScreenConfiguration -> r

gmapQ :: (forall d. Data d => d -> u) -> XRRScreenConfiguration -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> XRRScreenConfiguration -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> XRRScreenConfiguration -> m XRRScreenConfiguration

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> XRRScreenConfiguration -> m XRRScreenConfiguration

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> XRRScreenConfiguration -> m XRRScreenConfiguration

Show XRRScreenConfiguration Source # 
Instance details

Defined in Graphics.X11.Xrandr

Eq XRRScreenConfiguration Source # 
Instance details

Defined in Graphics.X11.Xrandr

Ord XRRScreenConfiguration Source # 
Instance details

Defined in Graphics.X11.Xrandr

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

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

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

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

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

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

xrrConfigureOutputProperty :: Display -> RROutput -> Atom -> Bool -> Bool -> [CLong] -> IO () Source #

xrrChangeOutputProperty :: Display -> RROutput -> Atom -> Atom -> CInt -> CInt -> [Word32] -> IO () Source #

xrrGetOutputProperty :: Display -> RROutput -> Atom -> CLong -> CLong -> Bool -> Bool -> Atom -> IO (Maybe (Atom, Int, CULong, [Word32])) Source #

xrrGetOutputProperty display output property offset length delete pending propertyType | returns Maybe (actualType, format, bytesAfter, data).

xrrGetMonitors :: Display -> Drawable -> Bool -> IO (Maybe [XRRMonitorInfo]) Source #