diff options
author | James Meyer <james.meyer@operamail.com> | 2009-02-23 21:19:04 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-02-23 21:19:04 (GMT) |
commit | 577c09bc1ea57e3fc5fe459ad91aafa4412b2297 (patch) | |
tree | 5fdcf480f545a75514783b155e3b23dea397eaf6 /abs/mv-core/ghosd/ghosd-0.0.1/doc/html | |
parent | 1552b1b0221ed6a7e26e486187be25031408b453 (diff) | |
download | linhes_pkgbuild-577c09bc1ea57e3fc5fe459ad91aafa4412b2297.zip linhes_pkgbuild-577c09bc1ea57e3fc5fe459ad91aafa4412b2297.tar.gz linhes_pkgbuild-577c09bc1ea57e3fc5fe459ad91aafa4412b2297.tar.bz2 |
adding in ghosd
Diffstat (limited to 'abs/mv-core/ghosd/ghosd-0.0.1/doc/html')
-rw-r--r-- | abs/mv-core/ghosd/ghosd-0.0.1/doc/html/ch01.html | 41 | ||||
-rw-r--r-- | abs/mv-core/ghosd/ghosd-0.0.1/doc/html/ghosd-Basics.html | 313 | ||||
-rw-r--r-- | abs/mv-core/ghosd/ghosd-0.0.1/doc/html/ghosd-Main-Loop.html | 183 | ||||
-rw-r--r-- | abs/mv-core/ghosd/ghosd-0.0.1/doc/html/ghosd-Text.html | 100 | ||||
-rw-r--r-- | abs/mv-core/ghosd/ghosd-0.0.1/doc/html/ghosd.devhelp | 26 | ||||
-rw-r--r-- | abs/mv-core/ghosd/ghosd-0.0.1/doc/html/home.png | bin | 0 -> 654 bytes | |||
-rw-r--r-- | abs/mv-core/ghosd/ghosd-0.0.1/doc/html/index.html | 47 | ||||
-rw-r--r-- | abs/mv-core/ghosd/ghosd-0.0.1/doc/html/index.sgml | 17 | ||||
-rw-r--r-- | abs/mv-core/ghosd/ghosd-0.0.1/doc/html/left.png | bin | 0 -> 459 bytes | |||
-rw-r--r-- | abs/mv-core/ghosd/ghosd-0.0.1/doc/html/right.png | bin | 0 -> 472 bytes | |||
-rw-r--r-- | abs/mv-core/ghosd/ghosd-0.0.1/doc/html/style.css | 66 | ||||
-rw-r--r-- | abs/mv-core/ghosd/ghosd-0.0.1/doc/html/up.png | bin | 0 -> 406 bytes |
12 files changed, 793 insertions, 0 deletions
diff --git a/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/ch01.html b/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/ch01.html new file mode 100644 index 0000000..a5bdc7b --- /dev/null +++ b/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/ch01.html @@ -0,0 +1,41 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>Reference</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.68.1"> +<link rel="start" href="index.html" title="Ghosd Manual"> +<link rel="up" href="index.html" title="Ghosd Manual"> +<link rel="prev" href="index.html" title="Ghosd Manual"> +<link rel="next" href="ghosd-Basics.html" title="Basics"> +<meta name="generator" content="GTK-Doc V1.4 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +<link rel="chapter" href="ch01.html" title="Reference"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> +<td><a accesskey="p" href="index.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> +<th width="100%" align="center">Ghosd Manual</th> +<td><a accesskey="n" href="ghosd-Basics.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> +</tr></table> +<div class="chapter" lang="en"> +<div class="titlepage"><div><div><h2 class="title"> +<a name="id2506024"></a>Reference</h2></div></div></div> +<div class="toc"><dl> +<dt> +<span class="refentrytitle"><a href="ghosd-Basics.html">Basics</a></span><span class="refpurpose"> - Creation, rendering, destruction.</span> +</dt> +<dt> +<span class="refentrytitle"><a href="ghosd-Main-Loop.html">Main Loop</a></span><span class="refpurpose"> - Running an app using Ghosd.</span> +</dt> +<dt> +<span class="refentrytitle"><a href="ghosd-Text.html">Text</a></span><span class="refpurpose"> - Rendering text.</span> +</dt> +</dl></div> +</div> +<table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle"> +<td align="left"><a accesskey="p" href="index.html"><b><< Ghosd Manual</b></a></td> +<td align="right"><a accesskey="n" href="ghosd-Basics.html"><b>Basics >></b></a></td> +</tr></table> +</body> +</html> diff --git a/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/ghosd-Basics.html b/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/ghosd-Basics.html new file mode 100644 index 0000000..3076b10 --- /dev/null +++ b/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/ghosd-Basics.html @@ -0,0 +1,313 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>Basics</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.68.1"> +<link rel="start" href="index.html" title="Ghosd Manual"> +<link rel="up" href="ch01.html" title="Reference"> +<link rel="prev" href="ch01.html" title="Reference"> +<link rel="next" href="ghosd-Main-Loop.html" title="Main Loop"> +<meta name="generator" content="GTK-Doc V1.4 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +<link rel="chapter" href="ch01.html" title="Reference"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> +<td><a accesskey="p" href="ch01.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> +<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> +<th width="100%" align="center">Ghosd Manual</th> +<td><a accesskey="n" href="ghosd-Main-Loop.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> +</tr></table> +<div class="refentry" lang="en"> +<a name="ghosd-Basics"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle">Basics</span></h2> +<p>Basics — Creation, rendering, destruction.</p> +</td> +<td valign="top" align="right"></td> +</tr></table></div> +<div class="refsynopsisdiv"> +<h2>Synopsis</h2> +<pre class="synopsis"> + +#include <ghosd/ghosd.h> + + + <a href="ghosd-Basics.html#Ghosd">Ghosd</a>; +void (<a href="ghosd-Basics.html#GhosdRenderFunc">*GhosdRenderFunc</a>) (<a href="ghosd-Basics.html#Ghosd">Ghosd</a> *ghosd, + cairo_t *cr, + void *user_data); +<a href="ghosd-Basics.html#Ghosd">Ghosd</a>* <a href="ghosd-Basics.html#ghosd-new">ghosd_new</a> (void); +void <a href="ghosd-Basics.html#ghosd-set-transparent">ghosd_set_transparent</a> (<a href="ghosd-Basics.html#Ghosd">Ghosd</a> *ghosd, + int transparent); +#define <a href="ghosd-Basics.html#GHOSD-COORD-CENTER:CAPS">GHOSD_COORD_CENTER</a> +void <a href="ghosd-Basics.html#ghosd-set-position">ghosd_set_position</a> (<a href="ghosd-Basics.html#Ghosd">Ghosd</a> *ghosd, + int x, + int y, + int width, + int height); +void <a href="ghosd-Basics.html#ghosd-set-render">ghosd_set_render</a> (<a href="ghosd-Basics.html#Ghosd">Ghosd</a> *ghosd, + <a href="ghosd-Basics.html#GhosdRenderFunc">GhosdRenderFunc</a> render_func, + void *data); +void <a href="ghosd-Basics.html#ghosd-render">ghosd_render</a> (<a href="ghosd-Basics.html#Ghosd">Ghosd</a> *ghosd); +void <a href="ghosd-Basics.html#ghosd-show">ghosd_show</a> (<a href="ghosd-Basics.html#Ghosd">Ghosd</a> *ghosd); +</pre> +</div> +<div class="refsect1" lang="en"> +<a name="id2492107"></a><h2>Description</h2> +<p> + +</p> +</div> +<div class="refsect1" lang="en"> +<a name="id2492118"></a><h2>Details</h2> +<div class="refsect2" lang="en"> +<a name="id2492124"></a><h3> +<a name="Ghosd"></a>Ghosd</h3> +<a class="indexterm" name="id2492134"></a><pre class="programlisting">typedef struct _Ghosd Ghosd;</pre> +<p> +An opaque Ghosd object. Think of it as the window that the content is +displayed in. +</p> +</div> +<hr> +<div class="refsect2" lang="en"> +<a name="id2492151"></a><h3> +<a name="GhosdRenderFunc"></a>GhosdRenderFunc ()</h3> +<a class="indexterm" name="id2492161"></a><pre class="programlisting">void (*GhosdRenderFunc) (<a href="ghosd-Basics.html#Ghosd">Ghosd</a> *ghosd, + cairo_t *cr, + void *user_data);</pre> +<p> +The type of callback called when Ghosd needs to render the content. +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td> +<span class="term"><em class="parameter"><code>ghosd</code></em> :</span></td> +<td>A <a href="ghosd-Basics.html#Ghosd"><span class="type">Ghosd</span></a> object. +</td> +</tr> +<tr> +<td> +<span class="term"><em class="parameter"><code>cr</code></em> :</span></td> +<td>A <span class="type">cairo_t</span> to draw on. +</td> +</tr> +<tr> +<td> +<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td> +<td>User data that was passed to <a href="ghosd-Basics.html#ghosd-set-render"><code class="function">ghosd_set_render()</code></a>. + + +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" lang="en"> +<a name="id2534054"></a><h3> +<a name="ghosd-new"></a>ghosd_new ()</h3> +<a class="indexterm" name="id2534064"></a><pre class="programlisting"><a href="ghosd-Basics.html#Ghosd">Ghosd</a>* ghosd_new (void);</pre> +<p> +Create a new <a href="ghosd-Basics.html#Ghosd"><span class="type">Ghosd</span></a> object. +</p> +<p> +Can return <code class="literal">NULL</code> if unable to connect to the X server.</p> +<p> + +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody><tr> +<td> +<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td> +<td> a new <a href="ghosd-Basics.html#Ghosd"><span class="type">Ghosd</span></a> object. +</td> +</tr></tbody> +</table></div> +</div> +<hr> +<div class="refsect2" lang="en"> +<a name="id2534128"></a><h3> +<a name="ghosd-set-transparent"></a>ghosd_set_transparent ()</h3> +<a class="indexterm" name="id2534137"></a><pre class="programlisting">void ghosd_set_transparent (<a href="ghosd-Basics.html#Ghosd">Ghosd</a> *ghosd, + int transparent);</pre> +<p> +Change the "transparent" setting. Setting <em class="parameter"><code>transparent</code></em> to <code class="literal">FALSE</code> is +mostly useful for debugging.</p> +<p> + +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td> +<span class="term"><em class="parameter"><code>ghosd</code></em> :</span></td> +<td> a <a href="ghosd-Basics.html#Ghosd"><span class="type">Ghosd</span></a> object. +</td> +</tr> +<tr> +<td> +<span class="term"><em class="parameter"><code>transparent</code></em> :</span></td> +<td> a boolean indicating the transparent setting. +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" lang="en"> +<a name="id2534227"></a><h3> +<a name="GHOSD-COORD-CENTER:CAPS"></a>GHOSD_COORD_CENTER</h3> +<a class="indexterm" name="id2534236"></a><pre class="programlisting">#define GHOSD_COORD_CENTER MAXINT +</pre> +<p> +Pass this as a coordinate to <a href="ghosd-Basics.html#ghosd-set-position"><code class="function">ghosd_set_position()</code></a> to center along that axis. +</p> +</div> +<hr> +<div class="refsect2" lang="en"> +<a name="id2534260"></a><h3> +<a name="ghosd-set-position"></a>ghosd_set_position ()</h3> +<a class="indexterm" name="id2534270"></a><pre class="programlisting">void ghosd_set_position (<a href="ghosd-Basics.html#Ghosd">Ghosd</a> *ghosd, + int x, + int y, + int width, + int height);</pre> +<p> +Position the initial <a href="ghosd-Basics.html#Ghosd"><span class="type">Ghosd</span></a>. Must be called before <a href="ghosd-Basics.html#ghosd-render"><code class="function">ghosd_render()</code></a> and +<a href="ghosd-Basics.html#ghosd-show"><code class="function">ghosd_show()</code></a>, and can only be called once. +</p> +<p> +Positive x,y are interpreted as normal coordinates. +Pass <code class="literal">GHOSD_COORD_CENTER</code> to center on a given dimension, +and negative coordinates right-align (like CSS right).</p> +<p> + +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td> +<span class="term"><em class="parameter"><code>ghosd</code></em> :</span></td> +<td> a <a href="ghosd-Basics.html#Ghosd"><span class="type">Ghosd</span></a> object. +</td> +</tr> +<tr> +<td> +<span class="term"><em class="parameter"><code>x</code></em> :</span></td> +<td> x coordinate in screen pixels. +</td> +</tr> +<tr> +<td> +<span class="term"><em class="parameter"><code>y</code></em> :</span></td> +<td> y coordinate in screen pixels. +</td> +</tr> +<tr> +<td> +<span class="term"><em class="parameter"><code>width</code></em> :</span></td> +<td> width in screen pixels. +</td> +</tr> +<tr> +<td> +<span class="term"><em class="parameter"><code>height</code></em> :</span></td> +<td> width in screen pixels. +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" lang="en"> +<a name="id2469726"></a><h3> +<a name="ghosd-set-render"></a>ghosd_set_render ()</h3> +<a class="indexterm" name="id2469736"></a><pre class="programlisting">void ghosd_set_render (<a href="ghosd-Basics.html#Ghosd">Ghosd</a> *ghosd, + <a href="ghosd-Basics.html#GhosdRenderFunc">GhosdRenderFunc</a> render_func, + void *data);</pre> +<p> +Register a function to draw on the <a href="ghosd-Basics.html#Ghosd"><span class="type">Ghosd</span></a>.</p> +<p> + +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td> +<span class="term"><em class="parameter"><code>ghosd</code></em> :</span></td> +<td> a <a href="ghosd-Basics.html#Ghosd"><span class="type">Ghosd</span></a> object. +</td> +</tr> +<tr> +<td> +<span class="term"><em class="parameter"><code>render_func</code></em> :</span></td> +<td> a <a href="ghosd-Basics.html#GhosdRenderFunc"><span class="type">GhosdRenderFunc</span></a> callback. +</td> +</tr> +<tr> +<td> +<span class="term"><em class="parameter"><code>data</code></em> :</span></td> +<td> user data to pass to the callback. +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" lang="en"> +<a name="id2556720"></a><h3> +<a name="ghosd-render"></a>ghosd_render ()</h3> +<a class="indexterm" name="id2556729"></a><pre class="programlisting">void ghosd_render (<a href="ghosd-Basics.html#Ghosd">Ghosd</a> *ghosd);</pre> +<p> +Makes the Ghosd redraw itself.</p> +<p> + +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody><tr> +<td> +<span class="term"><em class="parameter"><code>ghosd</code></em> :</span></td> +<td> a <a href="ghosd-Basics.html#Ghosd"><span class="type">Ghosd</span></a> object. +</td> +</tr></tbody> +</table></div> +</div> +<hr> +<div class="refsect2" lang="en"> +<a name="id2556779"></a><h3> +<a name="ghosd-show"></a>ghosd_show ()</h3> +<a class="indexterm" name="id2556787"></a><pre class="programlisting">void ghosd_show (<a href="ghosd-Basics.html#Ghosd">Ghosd</a> *ghosd);</pre> +<p> +Show the <a href="ghosd-Basics.html#Ghosd"><span class="type">Ghosd</span></a>.</p> +<p> + +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody><tr> +<td> +<span class="term"><em class="parameter"><code>ghosd</code></em> :</span></td> +<td> a <a href="ghosd-Basics.html#Ghosd"><span class="type">Ghosd</span></a> object. +</td> +</tr></tbody> +</table></div> +</div> +</div> +</div> +<table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle"> +<td align="left"><a accesskey="p" href="ch01.html"><b><< Reference</b></a></td> +<td align="right"><a accesskey="n" href="ghosd-Main-Loop.html"><b>Main Loop >></b></a></td> +</tr></table> +</body> +</html> diff --git a/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/ghosd-Main-Loop.html b/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/ghosd-Main-Loop.html new file mode 100644 index 0000000..07a6e51 --- /dev/null +++ b/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/ghosd-Main-Loop.html @@ -0,0 +1,183 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>Main Loop</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.68.1"> +<link rel="start" href="index.html" title="Ghosd Manual"> +<link rel="up" href="ch01.html" title="Reference"> +<link rel="prev" href="ghosd-Basics.html" title="Basics"> +<link rel="next" href="ghosd-Text.html" title="Text"> +<meta name="generator" content="GTK-Doc V1.4 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +<link rel="chapter" href="ch01.html" title="Reference"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> +<td><a accesskey="p" href="ghosd-Basics.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> +<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> +<th width="100%" align="center">Ghosd Manual</th> +<td><a accesskey="n" href="ghosd-Text.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> +</tr></table> +<div class="refentry" lang="en"> +<a name="ghosd-Main-Loop"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle">Main Loop</span></h2> +<p>Main Loop — Running an app using Ghosd.</p> +</td> +<td valign="top" align="right"></td> +</tr></table></div> +<div class="refsynopsisdiv"> +<h2>Synopsis</h2> +<pre class="synopsis"> + +#include <ghosd/ghosd.h> + + +void <a href="ghosd-Main-Loop.html#ghosd-main-iterations">ghosd_main_iterations</a> (<a href="ghosd-Basics.html#Ghosd">Ghosd</a> *ghosd); +void <a href="ghosd-Main-Loop.html#ghosd-main-until">ghosd_main_until</a> (<a href="ghosd-Basics.html#Ghosd">Ghosd</a> *ghosd, + struct timeval *until); +void <a href="ghosd-Main-Loop.html#ghosd-flash">ghosd_flash</a> (<a href="ghosd-Basics.html#Ghosd">Ghosd</a> *ghosd, + int fade_ms, + int total_display_ms); +int <a href="ghosd-Main-Loop.html#ghosd-get-socket">ghosd_get_socket</a> (<a href="ghosd-Basics.html#Ghosd">Ghosd</a> *ghosd); +</pre> +</div> +<div class="refsect1" lang="en"> +<a name="id2545628"></a><h2>Description</h2> +<p> + +</p> +</div> +<div class="refsect1" lang="en"> +<a name="id2545639"></a><h2>Details</h2> +<div class="refsect2" lang="en"> +<a name="id2545646"></a><h3> +<a name="ghosd-main-iterations"></a>ghosd_main_iterations ()</h3> +<a class="indexterm" name="id2545654"></a><pre class="programlisting">void ghosd_main_iterations (<a href="ghosd-Basics.html#Ghosd">Ghosd</a> *ghosd);</pre> +<p> +Iterate the main loop on the <a href="ghosd-Basics.html#Ghosd"><span class="type">Ghosd</span></a>, handling all pending X events. +This function does not wait for X events, so it returns immediately +unless there are already events pending.</p> +<p> + +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody><tr> +<td> +<span class="term"><em class="parameter"><code>ghosd</code></em> :</span></td> +<td> a <a href="ghosd-Basics.html#Ghosd"><span class="type">Ghosd</span></a> object. +</td> +</tr></tbody> +</table></div> +</div> +<hr> +<div class="refsect2" lang="en"> +<a name="id2545719"></a><h3> +<a name="ghosd-main-until"></a>ghosd_main_until ()</h3> +<a class="indexterm" name="id2545729"></a><pre class="programlisting">void ghosd_main_until (<a href="ghosd-Basics.html#Ghosd">Ghosd</a> *ghosd, + struct timeval *until);</pre> +<p> +Efficiently iterate the main loop on the <a href="ghosd-Basics.html#Ghosd"><span class="type">Ghosd</span></a>, handling all pending X +events, until the current time reaches the time specified in <em class="parameter"><code>until</code></em>.</p> +<p> + +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td> +<span class="term"><em class="parameter"><code>ghosd</code></em> :</span></td> +<td> a <a href="ghosd-Basics.html#Ghosd"><span class="type">Ghosd</span></a> object. +</td> +</tr> +<tr> +<td> +<span class="term"><em class="parameter"><code>until</code></em> :</span></td> +<td> a pointer to a timeval to update until. +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" lang="en"> +<a name="id2540527"></a><h3> +<a name="ghosd-flash"></a>ghosd_flash ()</h3> +<a class="indexterm" name="id2540537"></a><pre class="programlisting">void ghosd_flash (<a href="ghosd-Basics.html#Ghosd">Ghosd</a> *ghosd, + int fade_ms, + int total_display_ms);</pre> +<p> +Fade in a <a href="ghosd-Basics.html#Ghosd"><span class="type">Ghosd</span></a>, display at full opacity for a while, fade out, and then +return. +This is easy enough to implement using <a href="ghosd-Main-Loop.html#ghosd-main-until"><code class="function">ghosd_main_until()</code></a>, but is a +a common enough use of Ghosd to make it a builtin.</p> +<p> + +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td> +<span class="term"><em class="parameter"><code>ghosd</code></em> :</span></td> +<td> a <a href="ghosd-Basics.html#Ghosd"><span class="type">Ghosd</span></a> object. +</td> +</tr> +<tr> +<td> +<span class="term"><em class="parameter"><code>fade_ms</code></em> :</span></td> +<td> how long to fade, in milliseconds. +</td> +</tr> +<tr> +<td> +<span class="term"><em class="parameter"><code>total_display_ms</code></em> :</span></td> +<td> total display time, including fades, in milliseconds. +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" lang="en"> +<a name="id2552181"></a><h3> +<a name="ghosd-get-socket"></a>ghosd_get_socket ()</h3> +<a class="indexterm" name="id2552191"></a><pre class="programlisting">int ghosd_get_socket (<a href="ghosd-Basics.html#Ghosd">Ghosd</a> *ghosd);</pre> +<p> +Get the file descriptor of the Ghosd X socket. When this file descriptor +has data available, call <a href="ghosd-Main-Loop.html#ghosd-main-iterations"><code class="function">ghosd_main_iterations()</code></a> to process the pending X +events. Use this with <code class="function">select()</code>/<code class="function">poll()</code> etc. to multiplex Ghosd with other +processing.</p> +<p> + +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td> +<span class="term"><em class="parameter"><code>ghosd</code></em> :</span></td> +<td> a <a href="ghosd-Basics.html#Ghosd"><span class="type">Ghosd</span></a> object. +</td> +</tr> +<tr> +<td> +<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td> +<td> a file descriptor, suitable for use in <code class="function">select()</code> or <code class="function">poll()</code>. +</td> +</tr> +</tbody> +</table></div> +</div> +</div> +</div> +<table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle"> +<td align="left"><a accesskey="p" href="ghosd-Basics.html"><b><< Basics</b></a></td> +<td align="right"><a accesskey="n" href="ghosd-Text.html"><b>Text >></b></a></td> +</tr></table> +</body> +</html> diff --git a/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/ghosd-Text.html b/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/ghosd-Text.html new file mode 100644 index 0000000..5305068 --- /dev/null +++ b/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/ghosd-Text.html @@ -0,0 +1,100 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>Text</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.68.1"> +<link rel="start" href="index.html" title="Ghosd Manual"> +<link rel="up" href="ch01.html" title="Reference"> +<link rel="prev" href="ghosd-Main-Loop.html" title="Main Loop"> +<meta name="generator" content="GTK-Doc V1.4 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +<link rel="chapter" href="ch01.html" title="Reference"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> +<td><a accesskey="p" href="ghosd-Main-Loop.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> +<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> +<th width="100%" align="center">Ghosd Manual</th> +</tr></table> +<div class="refentry" lang="en"> +<a name="ghosd-Text"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle">Text</span></h2> +<p>Text — Rendering text.</p> +</td> +<td valign="top" align="right"></td> +</tr></table></div> +<div class="refsynopsisdiv"> +<h2>Synopsis</h2> +<pre class="synopsis"> + +#include <ghosd/ghosd-text.h> + + +void <a href="ghosd-Text.html#ghosd-text-set-position">ghosd_text_set_position</a> (<a href="ghosd-Basics.html#Ghosd">Ghosd</a> *ghosd, + int x, + int y, + PangoLayout *layout); +</pre> +</div> +<div class="refsect1" lang="en"> +<a name="id2525288"></a><h2>Description</h2> +<p> +I expect to flesh out this API, so this is mostly a placeholder for now. +</p> +</div> +<div class="refsect1" lang="en"> +<a name="id2530080"></a><h2>Details</h2> +<div class="refsect2" lang="en"> +<a name="id2530087"></a><h3> +<a name="ghosd-text-set-position"></a>ghosd_text_set_position ()</h3> +<a class="indexterm" name="id2530096"></a><pre class="programlisting">void ghosd_text_set_position (<a href="ghosd-Basics.html#Ghosd">Ghosd</a> *ghosd, + int x, + int y, + PangoLayout *layout);</pre> +<p> +Set ghosd dimensions based on a <span class="type">PangoLayout</span>. +See <a href="ghosd-Basics.html#ghosd-set-position"><code class="function">ghosd_set_position()</code></a> for interpretation of the x and y coordinates.</p> +<p> + +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td> +<span class="term"><em class="parameter"><code>ghosd</code></em> :</span></td> +<td> a <a href="ghosd-Basics.html#Ghosd"><span class="type">Ghosd</span></a> object; +</td> +</tr> +<tr> +<td> +<span class="term"><em class="parameter"><code>x</code></em> :</span></td> +<td> x coordinate in screen pixels. +</td> +</tr> +<tr> +<td> +<span class="term"><em class="parameter"><code>y</code></em> :</span></td> +<td> y coordinate in screen pixels. +</td> +</tr> +<tr> +<td> +<span class="term"><em class="parameter"><code>layout</code></em> :</span></td> +<td> the <span class="type">PangoLayout</span> to draw. +</td> +</tr> +</tbody> +</table></div> +</div> +</div> +</div> +<table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle"> +<td align="left"><a accesskey="p" href="ghosd-Main-Loop.html"><b><< Main Loop</b></a></td> +<td align="right"></td> +</tr></table> +</body> +</html> diff --git a/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/ghosd.devhelp b/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/ghosd.devhelp new file mode 100644 index 0000000..77d7ea1 --- /dev/null +++ b/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/ghosd.devhelp @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<book xmlns="http://www.devhelp.net/book" title="Ghosd Manual" link="index.html" author="" name="ghosd"> + <chapters> + <sub name="Reference" link="ch01.html"> + <sub name="Basics" link="ghosd-Basics.html"/> + <sub name="Main Loop" link="ghosd-Main-Loop.html"/> + <sub name="Text" link="ghosd-Text.html"/> + </sub> + </chapters> + <functions> + <function name="Ghosd" link="ghosd-Basics.html#Ghosd"/> + <function name="GhosdRenderFunc ()" link="ghosd-Basics.html#GhosdRenderFunc"/> + <function name="ghosd_new ()" link="ghosd-Basics.html#ghosd-new"/> + <function name="ghosd_set_transparent ()" link="ghosd-Basics.html#ghosd-set-transparent"/> + <function name="GHOSD_COORD_CENTER" link="ghosd-Basics.html#GHOSD-COORD-CENTER:CAPS"/> + <function name="ghosd_set_position ()" link="ghosd-Basics.html#ghosd-set-position"/> + <function name="ghosd_set_render ()" link="ghosd-Basics.html#ghosd-set-render"/> + <function name="ghosd_render ()" link="ghosd-Basics.html#ghosd-render"/> + <function name="ghosd_show ()" link="ghosd-Basics.html#ghosd-show"/> + <function name="ghosd_main_iterations ()" link="ghosd-Main-Loop.html#ghosd-main-iterations"/> + <function name="ghosd_main_until ()" link="ghosd-Main-Loop.html#ghosd-main-until"/> + <function name="ghosd_flash ()" link="ghosd-Main-Loop.html#ghosd-flash"/> + <function name="ghosd_get_socket ()" link="ghosd-Main-Loop.html#ghosd-get-socket"/> + <function name="ghosd_text_set_position ()" link="ghosd-Text.html#ghosd-text-set-position"/> + </functions> +</book> diff --git a/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/home.png b/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/home.png Binary files differnew file mode 100644 index 0000000..1700361 --- /dev/null +++ b/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/home.png diff --git a/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/index.html b/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/index.html new file mode 100644 index 0000000..b724335 --- /dev/null +++ b/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/index.html @@ -0,0 +1,47 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>Ghosd Manual</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.68.1"> +<link rel="start" href="index.html" title="Ghosd Manual"> +<link rel="next" href="ch01.html" title="Reference"> +<meta name="generator" content="GTK-Doc V1.4 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +<link rel="chapter" href="ch01.html" title="Reference"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<div class="book" lang="en"> +<div class="titlepage"> +<div> +<div><table class="navigation" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">Ghosd Manual</p></th></tr></table></div> +<div><div class="author"><h3 class="author"> +<span class="firstname">Evan</span> <span class="surname">Martin</span> +</h3></div></div> +<div><p class="copyright">Copyright © 2006 Evan Martin</p></div> +</div> +<hr> +</div> +<div class="toc"> +<p><b>Table of Contents</b></p> +<dl> +<dt><span class="chapter"><a href="ch01.html">Reference</a></span></dt> +<dd><dl> +<dt> +<span class="refentrytitle"><a href="ghosd-Basics.html">Basics</a></span><span class="refpurpose"> - Creation, rendering, destruction.</span> +</dt> +<dt> +<span class="refentrytitle"><a href="ghosd-Main-Loop.html">Main Loop</a></span><span class="refpurpose"> - Running an app using Ghosd.</span> +</dt> +<dt> +<span class="refentrytitle"><a href="ghosd-Text.html">Text</a></span><span class="refpurpose"> - Rendering text.</span> +</dt> +</dl></dd> +</dl> +</div> +</div> +<table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle"> +<td align="left"></td> +<td align="right"><a accesskey="n" href="ch01.html"><b>Reference >></b></a></td> +</tr></table> +</body> +</html> diff --git a/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/index.sgml b/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/index.sgml new file mode 100644 index 0000000..c82e15a --- /dev/null +++ b/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/index.sgml @@ -0,0 +1,17 @@ +<ANCHOR id="ghosd-Basics" href="ghosd/ghosd-Basics.html"> +<ANCHOR id="Ghosd" href="ghosd/ghosd-Basics.html#Ghosd"> +<ANCHOR id="GhosdRenderFunc" href="ghosd/ghosd-Basics.html#GhosdRenderFunc"> +<ANCHOR id="ghosd-new" href="ghosd/ghosd-Basics.html#ghosd-new"> +<ANCHOR id="ghosd-set-transparent" href="ghosd/ghosd-Basics.html#ghosd-set-transparent"> +<ANCHOR id="GHOSD-COORD-CENTER:CAPS" href="ghosd/ghosd-Basics.html#GHOSD-COORD-CENTER:CAPS"> +<ANCHOR id="ghosd-set-position" href="ghosd/ghosd-Basics.html#ghosd-set-position"> +<ANCHOR id="ghosd-set-render" href="ghosd/ghosd-Basics.html#ghosd-set-render"> +<ANCHOR id="ghosd-render" href="ghosd/ghosd-Basics.html#ghosd-render"> +<ANCHOR id="ghosd-show" href="ghosd/ghosd-Basics.html#ghosd-show"> +<ANCHOR id="ghosd-Main-Loop" href="ghosd/ghosd-Main-Loop.html"> +<ANCHOR id="ghosd-main-iterations" href="ghosd/ghosd-Main-Loop.html#ghosd-main-iterations"> +<ANCHOR id="ghosd-main-until" href="ghosd/ghosd-Main-Loop.html#ghosd-main-until"> +<ANCHOR id="ghosd-flash" href="ghosd/ghosd-Main-Loop.html#ghosd-flash"> +<ANCHOR id="ghosd-get-socket" href="ghosd/ghosd-Main-Loop.html#ghosd-get-socket"> +<ANCHOR id="ghosd-Text" href="ghosd/ghosd-Text.html"> +<ANCHOR id="ghosd-text-set-position" href="ghosd/ghosd-Text.html#ghosd-text-set-position"> diff --git a/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/left.png b/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/left.png Binary files differnew file mode 100644 index 0000000..2d05b3d --- /dev/null +++ b/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/left.png diff --git a/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/right.png b/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/right.png Binary files differnew file mode 100644 index 0000000..92832e3 --- /dev/null +++ b/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/right.png diff --git a/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/style.css b/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/style.css new file mode 100644 index 0000000..c9cabe7 --- /dev/null +++ b/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/style.css @@ -0,0 +1,66 @@ +.synopsis, .classsynopsis +{ + background: #eeeeee; + border: solid 1px #aaaaaa; + padding: 0.5em; +} +.programlisting +{ + background: #eeeeff; + border: solid 1px #aaaaff; + padding: 0.5em; +} +.variablelist +{ + padding: 4px; + margin-left: 3em; +} +.variablelist td:first-child +{ + vertical-align: top; +} +table.navigation +{ + background: #ffeeee; + border: solid 1px #ffaaaa; + margin-top: 0.5em; + margin-bottom: 0.5em; +} +.navigation a +{ + color: #770000; +} +.navigation a:visited +{ + color: #550000; +} +.navigation .title +{ + font-size: 200%; +} +div.refnamediv +{ + margin-top: 2em; +} +div.gallery-float +{ + float: left; + padding: 10px; +} +div.gallery-float img +{ + border-style: none; +} +div.gallery-spacer +{ + clear: both; +} +a +{ + text-decoration: none; +} +a:hover +{ + text-decoration: underline; + color: #FF0000; +} diff --git a/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/up.png b/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/up.png Binary files differnew file mode 100644 index 0000000..85b3e2a --- /dev/null +++ b/abs/mv-core/ghosd/ghosd-0.0.1/doc/html/up.png |