This file is indexed.

/usr/share/doc/libghc-brick-doc/html/Brick-Widgets-Center.html is in libghc-brick-doc 0.11-1.

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
<!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>Brick.Widgets.Center</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Brick-Widgets-Center.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Brick-Widgets-Center.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">brick-0.11: A declarative terminal user interface library</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Brick.Widgets.Center</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Centering horizontally</a></li><li><a href="#g:2">Centering vertically</a></li><li><a href="#g:3">Centering both horizontally and vertically</a></li><li><a href="#g:4">Centering about an arbitrary origin</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This module provides combinators for centering other widgets.</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:hCenter">hCenter</a> :: <a href="Brick-Types.html#t:Widget">Widget</a> n -&gt; <a href="Brick-Types.html#t:Widget">Widget</a> n</li><li class="src short"><a href="#v:hCenterWith">hCenterWith</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Char.html#t:Char">Char</a> -&gt; <a href="Brick-Types.html#t:Widget">Widget</a> n -&gt; <a href="Brick-Types.html#t:Widget">Widget</a> n</li><li class="src short"><a href="#v:hCenterLayer">hCenterLayer</a> :: <a href="Brick-Types.html#t:Widget">Widget</a> n -&gt; <a href="Brick-Types.html#t:Widget">Widget</a> n</li><li class="src short"><a href="#v:vCenter">vCenter</a> :: <a href="Brick-Types.html#t:Widget">Widget</a> n -&gt; <a href="Brick-Types.html#t:Widget">Widget</a> n</li><li class="src short"><a href="#v:vCenterWith">vCenterWith</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Char.html#t:Char">Char</a> -&gt; <a href="Brick-Types.html#t:Widget">Widget</a> n -&gt; <a href="Brick-Types.html#t:Widget">Widget</a> n</li><li class="src short"><a href="#v:vCenterLayer">vCenterLayer</a> :: <a href="Brick-Types.html#t:Widget">Widget</a> n -&gt; <a href="Brick-Types.html#t:Widget">Widget</a> n</li><li class="src short"><a href="#v:center">center</a> :: <a href="Brick-Types.html#t:Widget">Widget</a> n -&gt; <a href="Brick-Types.html#t:Widget">Widget</a> n</li><li class="src short"><a href="#v:centerWith">centerWith</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Char.html#t:Char">Char</a> -&gt; <a href="Brick-Types.html#t:Widget">Widget</a> n -&gt; <a href="Brick-Types.html#t:Widget">Widget</a> n</li><li class="src short"><a href="#v:centerLayer">centerLayer</a> :: <a href="Brick-Types.html#t:Widget">Widget</a> n -&gt; <a href="Brick-Types.html#t:Widget">Widget</a> n</li><li class="src short"><a href="#v:centerAbout">centerAbout</a> :: <a href="Brick-Types.html#t:Location">Location</a> -&gt; <a href="Brick-Types.html#t:Widget">Widget</a> n -&gt; <a href="Brick-Types.html#t:Widget">Widget</a> n</li></ul></div><div id="interface"><h1 id="g:1">Centering horizontally</h1><div class="top"><p class="src"><a id="v:hCenter" class="def">hCenter</a> :: <a href="Brick-Types.html#t:Widget">Widget</a> n -&gt; <a href="Brick-Types.html#t:Widget">Widget</a> n <a href="src/Brick-Widgets-Center.html#hCenter" class="link">Source</a> <a href="#v:hCenter" class="selflink">#</a></p><div class="doc"><p>Center the specified widget horizontally. Consumes all available
 horizontal space.</p></div></div><div class="top"><p class="src"><a id="v:hCenterWith" class="def">hCenterWith</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Char.html#t:Char">Char</a> -&gt; <a href="Brick-Types.html#t:Widget">Widget</a> n -&gt; <a href="Brick-Types.html#t:Widget">Widget</a> n <a href="src/Brick-Widgets-Center.html#hCenterWith" class="link">Source</a> <a href="#v:hCenterWith" class="selflink">#</a></p><div class="doc"><p>Center the specified widget horizontally. Consumes all available
 horizontal space. Uses the specified character to fill in the space
 to either side of the centered widget (defaults to space).</p></div></div><div class="top"><p class="src"><a id="v:hCenterLayer" class="def">hCenterLayer</a> :: <a href="Brick-Types.html#t:Widget">Widget</a> n -&gt; <a href="Brick-Types.html#t:Widget">Widget</a> n <a href="src/Brick-Widgets-Center.html#hCenterLayer" class="link">Source</a> <a href="#v:hCenterLayer" class="selflink">#</a></p><div class="doc"><p>Center the specified widget horizontally using a Vty image
 translation. Consumes all available horizontal space. Unlike hCenter,
 this does not fill the surrounding space so it is suitable for use
 as a layer. Layers underneath this widget will be visible in regions
 surrounding the centered widget.</p></div></div><h1 id="g:2">Centering vertically</h1><div class="top"><p class="src"><a id="v:vCenter" class="def">vCenter</a> :: <a href="Brick-Types.html#t:Widget">Widget</a> n -&gt; <a href="Brick-Types.html#t:Widget">Widget</a> n <a href="src/Brick-Widgets-Center.html#vCenter" class="link">Source</a> <a href="#v:vCenter" class="selflink">#</a></p><div class="doc"><p>Center a widget vertically.  Consumes all vertical space.</p></div></div><div class="top"><p class="src"><a id="v:vCenterWith" class="def">vCenterWith</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Char.html#t:Char">Char</a> -&gt; <a href="Brick-Types.html#t:Widget">Widget</a> n -&gt; <a href="Brick-Types.html#t:Widget">Widget</a> n <a href="src/Brick-Widgets-Center.html#vCenterWith" class="link">Source</a> <a href="#v:vCenterWith" class="selflink">#</a></p><div class="doc"><p>Center a widget vertically. Consumes all vertical space. Uses the
 specified character to fill in the space above and below the centered
 widget (defaults to space).</p></div></div><div class="top"><p class="src"><a id="v:vCenterLayer" class="def">vCenterLayer</a> :: <a href="Brick-Types.html#t:Widget">Widget</a> n -&gt; <a href="Brick-Types.html#t:Widget">Widget</a> n <a href="src/Brick-Widgets-Center.html#vCenterLayer" class="link">Source</a> <a href="#v:vCenterLayer" class="selflink">#</a></p><div class="doc"><p>Center the specified widget vertically using a Vty image
 translation. Consumes all available vertical space. Unlike vCenter,
 this does not fill the surrounding space so it is suitable for use
 as a layer. Layers underneath this widget will be visible in regions
 surrounding the centered widget.</p></div></div><h1 id="g:3">Centering both horizontally and vertically</h1><div class="top"><p class="src"><a id="v:center" class="def">center</a> :: <a href="Brick-Types.html#t:Widget">Widget</a> n -&gt; <a href="Brick-Types.html#t:Widget">Widget</a> n <a href="src/Brick-Widgets-Center.html#center" class="link">Source</a> <a href="#v:center" class="selflink">#</a></p><div class="doc"><p>Center a widget both vertically and horizontally. Consumes all
 available vertical and horizontal space.</p></div></div><div class="top"><p class="src"><a id="v:centerWith" class="def">centerWith</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Char.html#t:Char">Char</a> -&gt; <a href="Brick-Types.html#t:Widget">Widget</a> n -&gt; <a href="Brick-Types.html#t:Widget">Widget</a> n <a href="src/Brick-Widgets-Center.html#centerWith" class="link">Source</a> <a href="#v:centerWith" class="selflink">#</a></p><div class="doc"><p>Center a widget both vertically and horizontally. Consumes all
 available vertical and horizontal space. Uses the specified character
 to fill in the space around the centered widget (defaults to space).</p></div></div><div class="top"><p class="src"><a id="v:centerLayer" class="def">centerLayer</a> :: <a href="Brick-Types.html#t:Widget">Widget</a> n -&gt; <a href="Brick-Types.html#t:Widget">Widget</a> n <a href="src/Brick-Widgets-Center.html#centerLayer" class="link">Source</a> <a href="#v:centerLayer" class="selflink">#</a></p><div class="doc"><p>Center a widget both vertically and horizontally using a Vty image
 translation. Consumes all available vertical and horizontal space.
 Unlike center, this does not fill in the surrounding space with a
 character so it is usable as a layer. Any widget underneath this one
 will be visible in the region surrounding the centered widget.</p></div></div><h1 id="g:4">Centering about an arbitrary origin</h1><div class="top"><p class="src"><a id="v:centerAbout" class="def">centerAbout</a> :: <a href="Brick-Types.html#t:Location">Location</a> -&gt; <a href="Brick-Types.html#t:Widget">Widget</a> n -&gt; <a href="Brick-Types.html#t:Widget">Widget</a> n <a href="src/Brick-Widgets-Center.html#centerAbout" class="link">Source</a> <a href="#v:centerAbout" class="selflink">#</a></p><div class="doc"><p>Center the widget horizontally and vertically about the specified
 origin.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.2</p></div></body></html>