Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 1c54a99948cf54d4f14424bc76b2b75d > files > 68

ghc-GLUT-devel-2.1.2.1-9.fc15.i686.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Graphics.UI.GLUT.State</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Graphics-UI-GLUT-State.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-UI-GLUT-State.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">GLUT-2.1.2.1: A binding for the OpenGL Utility Toolkit</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>portable</td></tr><tr><th>Stability</th><td>stable</td></tr><tr><th>Maintainer</th><td>sven.panne@aedion.de</td></tr></table><p class="caption">Graphics.UI.GLUT.State</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">State of all windows
</a></li><li><a href="#g:2">State of the <em>current window</em>
</a></li><li><a href="#g:3">GLUT state pertaining to the layers of the <em>current window</em>
</a></li><li><a href="#g:4">Timing
</a></li><li><a href="#g:5">Device information
</a></li><li><a href="#g:6">GLUT information
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>GLUT maintains a considerable amount of programmer visible state. Some (but
 not all) of this state may be directly retrieved.
</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:windowBorderWidth">windowBorderWidth</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:windowHeaderHeight">windowHeaderHeight</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:rgba">rgba</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:BufferDepth">BufferDepth</a> = <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:rgbaBufferDepths">rgbaBufferDepths</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> (<a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>, <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>, <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>, <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>)</li><li class="src short"><a href="#v:colorBufferDepth">colorBufferDepth</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a></li><li class="src short"><a href="#v:doubleBuffered">doubleBuffered</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:stereo">stereo</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:accumBufferDepths">accumBufferDepths</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> (<a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>, <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>, <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>, <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>)</li><li class="src short"><a href="#v:depthBufferDepth">depthBufferDepth</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a></li><li class="src short"><a href="#v:stencilBufferDepth">stencilBufferDepth</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:SampleCount">SampleCount</a> = <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:sampleCount">sampleCount</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="Graphics-UI-GLUT-State.html#t:SampleCount">SampleCount</a></li><li class="src short"><a href="#v:formatID">formatID</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:fullScreenMode">fullScreenMode</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:StateVar">StateVar</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:damaged">damaged</a> :: <a href="Graphics-UI-GLUT-Overlay.html#t:Layer">Layer</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:elapsedTime">elapsedTime</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:screenSize">screenSize</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-CoordTrans.html#t:Size">Size</a></li><li class="src short"><a href="#v:screenSizeMM">screenSizeMM</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-CoordTrans.html#t:Size">Size</a></li><li class="src short"><a href="#v:hasKeyboard">hasKeyboard</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:ButtonCount">ButtonCount</a> = <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:numMouseButtons">numMouseButtons</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-GLUT-State.html#t:ButtonCount">ButtonCount</a>)</li><li class="src short"><a href="#v:numSpaceballButtons">numSpaceballButtons</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-GLUT-State.html#t:ButtonCount">ButtonCount</a>)</li><li class="src short"><span class="keyword">type</span> <a href="#t:DialCount">DialCount</a> = <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:numDialsAndButtons">numDialsAndButtons</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Graphics-UI-GLUT-State.html#t:DialCount">DialCount</a>, <a href="Graphics-UI-GLUT-State.html#t:ButtonCount">ButtonCount</a>))</li><li class="src short"><a href="#v:numTabletButtons">numTabletButtons</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-GLUT-State.html#t:ButtonCount">ButtonCount</a>)</li><li class="src short"><span class="keyword">type</span> <a href="#t:AxisCount">AxisCount</a> = <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:PollRate">PollRate</a> = <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:joystickInfo">joystickInfo</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Graphics-UI-GLUT-State.html#t:ButtonCount">ButtonCount</a>, <a href="Graphics-UI-GLUT-State.html#t:PollRate">PollRate</a>, <a href="Graphics-UI-GLUT-State.html#t:AxisCount">AxisCount</a>))</li><li class="src short"><a href="#v:supportedNumAuxBuffers">supportedNumAuxBuffers</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> [<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a>]</li><li class="src short"><a href="#v:supportedSamplesPerPixel">supportedSamplesPerPixel</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> [<a href="Graphics-UI-GLUT-State.html#t:SampleCount">SampleCount</a>]</li><li class="src short"><a href="#v:glutVersion">glutVersion</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a></li><li class="src short"><a href="#v:initState">initState</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li></ul></div><div id="interface"><h1 id="g:1">State of all windows
</h1><div class="top"><p class="src"><a name="v:windowBorderWidth" class="def">windowBorderWidth</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a><a href="src/Graphics-UI-GLUT-State.html#windowBorderWidth" class="link">Source</a></p><div class="doc"><p>(<em>freeglut only</em>) Contains the thickness of the sizing border around the
 perimeter of a window that can be resized, in pixels.
</p></div></div><div class="top"><p class="src"><a name="v:windowHeaderHeight" class="def">windowHeaderHeight</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a><a href="src/Graphics-UI-GLUT-State.html#windowHeaderHeight" class="link">Source</a></p><div class="doc"><p>(<em>freeglut only</em>) Contains the height of the header/caption area of a
 window in pixels.
</p></div></div><h1 id="g:2">State of the <em>current window</em>
</h1><div class="top"><p class="src"><a name="v:rgba" class="def">rgba</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Graphics-UI-GLUT-State.html#rgba" class="link">Source</a></p><div class="doc"><p>Contains <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#v:True">True</a></code> when the current layer of the <em>current window</em> is in RGBA
 mode, <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#v:False">False</a></code> means color index mode.
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:BufferDepth" class="def">BufferDepth</a> = <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a><a href="src/Graphics-UI-GLUT-State.html#BufferDepth" class="link">Source</a></p><div class="doc"><p>Bit depth of a buffer
</p></div></div><div class="top"><p class="src"><a name="v:rgbaBufferDepths" class="def">rgbaBufferDepths</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> (<a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>, <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>, <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>, <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>)<a href="src/Graphics-UI-GLUT-State.html#rgbaBufferDepths" class="link">Source</a></p><div class="doc"><p>Contains the number of red, green, blue, and alpha bits in the color buffer
 of the <em>current window\'s</em> current layer (0 in color index mode).
</p></div></div><div class="top"><p class="src"><a name="v:colorBufferDepth" class="def">colorBufferDepth</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a><a href="src/Graphics-UI-GLUT-State.html#colorBufferDepth" class="link">Source</a></p><div class="doc"><p>Contains the total number of bits in the color buffer of the /current
 window's/ current layer. For an RGBA layer, this is the sum of the red,
 green, blue, and alpha bits. For an color index layer, this is the number
 of bits of the color indexes.
</p></div></div><div class="top"><p class="src"><a name="v:doubleBuffered" class="def">doubleBuffered</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Graphics-UI-GLUT-State.html#doubleBuffered" class="link">Source</a></p><div class="doc"><p>Contains <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#v:True">True</a></code> when the current layer of the <em>current window</em> is double
 buffered, <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#v:False">False</a></code> otherwise.
</p></div></div><div class="top"><p class="src"><a name="v:stereo" class="def">stereo</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Graphics-UI-GLUT-State.html#stereo" class="link">Source</a></p><div class="doc"><p>Contains <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#v:True">True</a></code> when the current layer of the <em>current window</em> is stereo,
 <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#v:False">False</a></code> otherwise.
</p></div></div><div class="top"><p class="src"><a name="v:accumBufferDepths" class="def">accumBufferDepths</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> (<a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>, <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>, <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>, <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>)<a href="src/Graphics-UI-GLUT-State.html#accumBufferDepths" class="link">Source</a></p><div class="doc"><p>Contains the number of red, green, blue, and alpha bits in the accumulation
 buffer of the <em>current window\'s</em> current layer (0 in color index mode).
</p></div></div><div class="top"><p class="src"><a name="v:depthBufferDepth" class="def">depthBufferDepth</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a><a href="src/Graphics-UI-GLUT-State.html#depthBufferDepth" class="link">Source</a></p><div class="doc"><p>Contains the number of bits in the depth buffer of the <em>current window\'s</em>
 current layer.
</p></div></div><div class="top"><p class="src"><a name="v:stencilBufferDepth" class="def">stencilBufferDepth</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a><a href="src/Graphics-UI-GLUT-State.html#stencilBufferDepth" class="link">Source</a></p><div class="doc"><p>Contains the number of bits in the stencil buffer of the /current
 window's/ current layer.
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:SampleCount" class="def">SampleCount</a> = <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a><a href="src/Graphics-UI-GLUT-State.html#SampleCount" class="link">Source</a></p><div class="doc"><p>Number of samples for multisampling
</p></div></div><div class="top"><p class="src"><a name="v:sampleCount" class="def">sampleCount</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="Graphics-UI-GLUT-State.html#t:SampleCount">SampleCount</a><a href="src/Graphics-UI-GLUT-State.html#sampleCount" class="link">Source</a></p><div class="doc"><p>Contains the number of samples for multisampling for the <em>current window.</em>
</p></div></div><div class="top"><p class="src"><a name="v:formatID" class="def">formatID</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a><a href="src/Graphics-UI-GLUT-State.html#formatID" class="link">Source</a></p><div class="doc"><p>Contains the window system dependent format ID for the current layer of the
 <em>current window</em>. On X11 GLUT implementations, this is the X visual ID. On
 Win32 GLUT implementations, this is the Win32 Pixel Format Descriptor number.
 This value is returned for debugging, benchmarking, and testing ease.
</p></div></div><div class="top"><p class="src"><a name="v:fullScreenMode" class="def">fullScreenMode</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:StateVar">StateVar</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Graphics-UI-GLUT-State.html#fullScreenMode" class="link">Source</a></p><div class="doc"><p>(<em>freeglut only</em>) Contains <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#v:True">True</a></code> if the <em>current window</em> is in full screen
 mode, <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#v:False">False</a></code> otherwise.
</p></div></div><h1 id="g:3">GLUT state pertaining to the layers of the <em>current window</em>
</h1><div class="top"><p class="src"><a name="v:damaged" class="def">damaged</a> :: <a href="Graphics-UI-GLUT-Overlay.html#t:Layer">Layer</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Graphics-UI-GLUT-State.html#damaged" class="link">Source</a></p><div class="doc"><p>Contains <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#v:True">True</a></code> if the given plane of the <em>current window</em> has been
 damaged (by window system activity) since the last display callback was
 triggered. Calling <code>Graphics.UI.GLUT.Window.postRedisplay</code> or
 <code>Graphics.UI.GLUT.Overlay.postOverlayRedisplay</code> will not set this <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#v:True">True</a></code>.
</p></div></div><h1 id="g:4">Timing
</h1><div class="top"><p class="src"><a name="v:elapsedTime" class="def">elapsedTime</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a><a href="src/Graphics-UI-GLUT-State.html#elapsedTime" class="link">Source</a></p><div class="doc"><p>Contains the number of milliseconds since
 <code>Graphics.UI.GLUT.Initialization.initialize</code> was called.
</p></div></div><h1 id="g:5">Device information
</h1><div class="doc"><p>If a device is not available, the following state variables contain
 <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#v:Nothing">Nothing</a></code>, otherwise they return <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#v:Just">Just</a></code> the specific device information.
 Only a screen is always assumed.
</p></div><div class="top"><p class="src"><a name="v:screenSize" class="def">screenSize</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-CoordTrans.html#t:Size">Size</a><a href="src/Graphics-UI-GLUT-State.html#screenSize" class="link">Source</a></p><div class="doc"><p>The size of the screen in pixels.
</p></div></div><div class="top"><p class="src"><a name="v:screenSizeMM" class="def">screenSizeMM</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-CoordTrans.html#t:Size">Size</a><a href="src/Graphics-UI-GLUT-State.html#screenSizeMM" class="link">Source</a></p><div class="doc"><p>The size of the screen in millimeters.
</p></div></div><div class="top"><p class="src"><a name="v:hasKeyboard" class="def">hasKeyboard</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Graphics-UI-GLUT-State.html#hasKeyboard" class="link">Source</a></p><div class="doc"><p>Contains <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#v:True">True</a></code> if a keyboard is present, <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#v:False">False</a></code> otherwise.
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:ButtonCount" class="def">ButtonCount</a> = <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a><a href="src/Graphics-UI-GLUT-State.html#ButtonCount" class="link">Source</a></p><div class="doc"><p>Number of buttons of an input device
</p></div></div><div class="top"><p class="src"><a name="v:numMouseButtons" class="def">numMouseButtons</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-GLUT-State.html#t:ButtonCount">ButtonCount</a>)<a href="src/Graphics-UI-GLUT-State.html#numMouseButtons" class="link">Source</a></p><div class="doc"><p>Contains <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#v:Just">Just</a></code> the number of buttons of an attached mouse or <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#v:Nothing">Nothing</a></code> if
 there is none.
</p></div></div><div class="top"><p class="src"><a name="v:numSpaceballButtons" class="def">numSpaceballButtons</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-GLUT-State.html#t:ButtonCount">ButtonCount</a>)<a href="src/Graphics-UI-GLUT-State.html#numSpaceballButtons" class="link">Source</a></p><div class="doc"><p>Contains <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#v:Just">Just</a></code> the number of buttons of the attached Spaceball or <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#v:Nothing">Nothing</a></code>
 if there is none.
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:DialCount" class="def">DialCount</a> = <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a><a href="src/Graphics-UI-GLUT-State.html#DialCount" class="link">Source</a></p><div class="doc"><p>Number of dials of a dial and button box
</p></div></div><div class="top"><p class="src"><a name="v:numDialsAndButtons" class="def">numDialsAndButtons</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Graphics-UI-GLUT-State.html#t:DialCount">DialCount</a>, <a href="Graphics-UI-GLUT-State.html#t:ButtonCount">ButtonCount</a>))<a href="src/Graphics-UI-GLUT-State.html#numDialsAndButtons" class="link">Source</a></p><div class="doc"><p>Contains <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#v:Just">Just</a></code> the number of dials and buttons of an attached dial &amp;
 button box or <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#v:Nothing">Nothing</a></code> if there is none.
</p></div></div><div class="top"><p class="src"><a name="v:numTabletButtons" class="def">numTabletButtons</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-GLUT-State.html#t:ButtonCount">ButtonCount</a>)<a href="src/Graphics-UI-GLUT-State.html#numTabletButtons" class="link">Source</a></p><div class="doc"><p>Contains <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#v:Just">Just</a></code> the number of buttons of an attached tablet or <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#v:Nothing">Nothing</a></code> if
 there is none.
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:AxisCount" class="def">AxisCount</a> = <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a><a href="src/Graphics-UI-GLUT-State.html#AxisCount" class="link">Source</a></p><div class="doc"><p>Number of axes of a joystick
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:PollRate" class="def">PollRate</a> = <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a><a href="src/Graphics-UI-GLUT-State.html#PollRate" class="link">Source</a></p><div class="doc"><p>The a rate at which a joystick is polled (in milliseconds)
</p></div></div><div class="top"><p class="src"><a name="v:joystickInfo" class="def">joystickInfo</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Graphics-UI-GLUT-State.html#t:ButtonCount">ButtonCount</a>, <a href="Graphics-UI-GLUT-State.html#t:PollRate">PollRate</a>, <a href="Graphics-UI-GLUT-State.html#t:AxisCount">AxisCount</a>))<a href="src/Graphics-UI-GLUT-State.html#joystickInfo" class="link">Source</a></p><div class="doc"><p>Contains <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#v:Just">Just</a></code> the number of buttons of an attached joystick, the number
 of joystick axes, and the rate at which the joystick is polled. Contains
 <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#v:Nothing">Nothing</a></code> if there is no joystick attached.
</p></div></div><div class="top"><p class="src"><a name="v:supportedNumAuxBuffers" class="def">supportedNumAuxBuffers</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> [<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a>]<a href="src/Graphics-UI-GLUT-State.html#supportedNumAuxBuffers" class="link">Source</a></p><div class="doc"><p>(<em>freeglut only</em>) Contains a list of the number of auxiliary buffers
 supported, in increasing order.
</p></div></div><div class="top"><p class="src"><a name="v:supportedSamplesPerPixel" class="def">supportedSamplesPerPixel</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> [<a href="Graphics-UI-GLUT-State.html#t:SampleCount">SampleCount</a>]<a href="src/Graphics-UI-GLUT-State.html#supportedSamplesPerPixel" class="link">Source</a></p><div class="doc"><p>(<em>freeglut only</em>) Contains a list of the number of samples per pixel
 supported for multisampling, in increasing order.
</p></div></div><h1 id="g:6">GLUT information
</h1><div class="top"><p class="src"><a name="v:glutVersion" class="def">glutVersion</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a><a href="src/Graphics-UI-GLUT-State.html#glutVersion" class="link">Source</a></p><div class="doc"><p>Contains version of GLUT in the form of
 <code><em>flavour</em> <em>major</em>.<em>minor</em>.<em>patchlevel</em></code>, where <code><em>flavour</em></code> is one of
 <code>GLUT</code>, <code>freeglut</code> or <code>OpenGLUT</code>.
</p></div></div><div class="top"><p class="src"><a name="v:initState" class="def">initState</a> :: <a href="/usr/share/doc/ghc/html/libraries/OpenGL-2.2.3.0/Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Graphics-UI-GLUT-State.html#initState" class="link">Source</a></p><div class="doc"><p>(<em>freeglut only</em>) Contains <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#v:True">True</a></code> if GLUT has been initialized 
 with <code>Graphics.UI.GLUT.Initialization.initialize</code> or
 <code>Graphics.UI.GLUT.Initialization.getArgsAndInitialize</code> has and not yet
 been de-initialized with <code>Graphics.UI.GLUT.Initialization.exit</code>. Contains
 <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#v:False">False</a></code> otherwise.
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>