This file is indexed.

/usr/lib/hugs/packages/X11/Graphics/X11/Xlib/Screen.hs is in libhugs-x11-bundled 98.200609.21-5.3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
-----------------------------------------------------------------------------
-- |
-- Module      :  Graphics.X11.Xlib.Screen
-- Copyright   :  (c) Alastair Reid, 1999-2003
-- License     :  BSD-style (see the file libraries/base/LICENSE)
--
-- Maintainer  :  libraries@haskell.org
-- Stability   :  provisional
-- Portability :  portable
--
-- A collection of FFI declarations for interfacing with Xlib Screens.
--
-----------------------------------------------------------------------------

module Graphics.X11.Xlib.Screen(

        blackPixelOfScreen,
        whitePixelOfScreen,
        cellsOfScreen,
        defaultColormapOfScreen,
        defaultDepthOfScreen,
        defaultGCOfScreen,
        defaultVisualOfScreen,
        doesBackingStore,
        doesSaveUnders,
        displayOfScreen,
        eventMaskOfScreen,
        minCmapsOfScreen,
        maxCmapsOfScreen,
        rootWindowOfScreen,
        widthOfScreen,
        widthMMOfScreen,
        heightOfScreen,
        heightMMOfScreen,
        planesOfScreen,
        screenNumberOfScreen,

        ) where

import Graphics.X11.Types
import Graphics.X11.Xlib.Types

----------------------------------------------------------------
-- Screen
----------------------------------------------------------------

-- Many flags assumed to be PURE.

-- | interface to the X11 library function @XBlackPixelOfScreen()@.
foreign import ccall unsafe "HsXlib.h XBlackPixelOfScreen"
	blackPixelOfScreen      :: Screen -> Pixel

-- | interface to the X11 library function @XWhitePixelOfScreen()@.
foreign import ccall unsafe "HsXlib.h XWhitePixelOfScreen"
	whitePixelOfScreen      :: Screen -> Pixel

-- | interface to the X11 library function @XCellsOfScreen()@.
foreign import ccall unsafe "HsXlib.h XCellsOfScreen"
	cellsOfScreen           :: Screen -> Int

-- | interface to the X11 library function @XDefaultColormapOfScreen()@.
foreign import ccall unsafe "HsXlib.h XDefaultColormapOfScreen"
	defaultColormapOfScreen :: Screen -> Colormap

-- | interface to the X11 library function @XDefaultDepthOfScreen()@.
foreign import ccall unsafe "HsXlib.h XDefaultDepthOfScreen"
	defaultDepthOfScreen    :: Screen -> Int

-- | interface to the X11 library function @XDefaultGCOfScreen()@.
foreign import ccall unsafe "HsXlib.h XDefaultGCOfScreen"
	defaultGCOfScreen       :: Screen -> GC

-- | interface to the X11 library function @XDefaultVisualOfScreen()@.
foreign import ccall unsafe "HsXlib.h XDefaultVisualOfScreen"
	defaultVisualOfScreen   :: Screen -> Visual

-- | interface to the X11 library function @XDoesBackingStore()@.
foreign import ccall unsafe "HsXlib.h XDoesBackingStore"
	doesBackingStore        :: Screen -> Bool

-- | interface to the X11 library function @XDoesSaveUnders()@.
foreign import ccall unsafe "HsXlib.h XDoesSaveUnders"
	doesSaveUnders          :: Screen -> Bool

-- | interface to the X11 library function @XDisplayOfScreen()@.
foreign import ccall unsafe "HsXlib.h XDisplayOfScreen"
	displayOfScreen         :: Screen -> Display

-- | interface to the X11 library function @XEventMaskOfScreen()@.
-- Event mask at connection setup time - not current event mask!
foreign import ccall unsafe "HsXlib.h XEventMaskOfScreen"
	eventMaskOfScreen       :: Screen -> EventMask

-- | interface to the X11 library function @XMinCmapsOfScreen()@.
foreign import ccall unsafe "HsXlib.h XMinCmapsOfScreen"
	minCmapsOfScreen        :: Screen -> Int

-- | interface to the X11 library function @XMaxCmapsOfScreen()@.
foreign import ccall unsafe "HsXlib.h XMaxCmapsOfScreen"
	maxCmapsOfScreen        :: Screen -> Int

-- | interface to the X11 library function @XRootWindowOfScreen()@.
foreign import ccall unsafe "HsXlib.h XRootWindowOfScreen"
	rootWindowOfScreen      :: Screen -> Window

-- | interface to the X11 library function @XWidthOfScreen()@.
foreign import ccall unsafe "HsXlib.h XWidthOfScreen"
	widthOfScreen           :: Screen -> Dimension

-- | interface to the X11 library function @XWidthMMOfScreen()@.
foreign import ccall unsafe "HsXlib.h XWidthMMOfScreen"
	widthMMOfScreen         :: Screen -> Dimension

-- | interface to the X11 library function @XHeightOfScreen()@.
foreign import ccall unsafe "HsXlib.h XHeightOfScreen"
	heightOfScreen          :: Screen -> Dimension

-- | interface to the X11 library function @XHeightMMOfScreen()@.
foreign import ccall unsafe "HsXlib.h XHeightMMOfScreen"
	heightMMOfScreen        :: Screen -> Dimension

-- | interface to the X11 library function @XPlanesOfScreen()@.
foreign import ccall unsafe "HsXlib.h XPlanesOfScreen"
	planesOfScreen          :: Screen -> Int

-- | interface to the X11 library function @XScreenNumberOfScreen()@.
foreign import ccall unsafe "HsXlib.h XScreenNumberOfScreen"
	screenNumberOfScreen    :: Screen -> ScreenNumber

----------------------------------------------------------------
-- End
----------------------------------------------------------------