Copyright | (c) Haskell.org 2007 |
---|---|
License | BSD3 |
Maintainer | Don Stewart <dons@galois.com> |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell98 |
Synopsis
- data XineramaScreenInfo = XineramaScreenInfo {
- xsi_screen_number :: !CInt
- xsi_x_org :: !CShort
- xsi_y_org :: !CShort
- xsi_width :: !CShort
- xsi_height :: !CShort
- xineramaIsActive :: Display -> IO Bool
- xineramaQueryExtension :: Display -> IO (Maybe (CInt, CInt))
- xineramaQueryVersion :: Display -> IO (Maybe (CInt, CInt))
- xineramaQueryScreens :: Display -> IO (Maybe [XineramaScreenInfo])
- compiledWithXinerama :: Bool
- getScreenInfo :: Display -> IO [Rectangle]
Documentation
data XineramaScreenInfo Source #
Representation of the XineramaScreenInfo struct
XineramaScreenInfo | |
|
Instances
Storable XineramaScreenInfo Source # | |
Defined in Graphics.X11.Xinerama sizeOf :: XineramaScreenInfo -> Int # alignment :: XineramaScreenInfo -> Int # peekElemOff :: Ptr XineramaScreenInfo -> Int -> IO XineramaScreenInfo # pokeElemOff :: Ptr XineramaScreenInfo -> Int -> XineramaScreenInfo -> IO () # peekByteOff :: Ptr b -> Int -> IO XineramaScreenInfo # pokeByteOff :: Ptr b -> Int -> XineramaScreenInfo -> IO () # peek :: Ptr XineramaScreenInfo -> IO XineramaScreenInfo # poke :: Ptr XineramaScreenInfo -> XineramaScreenInfo -> IO () # | |
Show XineramaScreenInfo Source # | |
Defined in Graphics.X11.Xinerama showsPrec :: Int -> XineramaScreenInfo -> ShowS # show :: XineramaScreenInfo -> String # showList :: [XineramaScreenInfo] -> ShowS # |
xineramaQueryScreens :: Display -> IO (Maybe [XineramaScreenInfo]) Source #