536 lines
24 KiB
HTML
536 lines
24 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>Gem-graph: src/util/draw/gl.c File Reference</title>
|
|
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="../../jquery.js"></script>
|
|
<script type="text/javascript" src="../../dynsections.js"></script>
|
|
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
|
<script type="text/javascript" src="../../search/search.js"></script>
|
|
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr id="projectrow">
|
|
<td id="projectlogo"><img alt="Logo" src="../../gg_calligraphie.png"/></td>
|
|
<td id="projectalign">
|
|
<div id="projectname">Gem-graph<span id="projectnumber"> 0.1.0</span>
|
|
</div>
|
|
<div id="projectbrief">A modelling tool based on rewriting of geometric graphs.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.8 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="../../menudata.js"></script>
|
|
<script type="text/javascript" src="../../menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('../../',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="../../dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="../../dir_b7878ad5ecbf2506f4125b9d34c97e45.html">util</a></li><li class="navelem"><a class="el" href="../../dir_0402f33423b73464cf0fd1c8d132d0a3.html">draw</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#nested-classes">Classes</a> |
|
|
<a href="#define-members">Macros</a> |
|
|
<a href="#func-members">Functions</a> |
|
|
<a href="#var-members">Variables</a> </div>
|
|
<div class="headertitle"><div class="title">gl.c File Reference</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><code>#include "../../../include/graphics.h"</code><br />
|
|
<code>#include "../../../include/signal.h"</code><br />
|
|
</div><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
|
|
Classes</h2></td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d02/structstack__index__t.html">stack_index_t</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
|
Macros</h2></td></tr>
|
|
<tr class="memitem:a2737fdf992bd5a9d008f620ddaf50107" id="r_a2737fdf992bd5a9d008f620ddaf50107"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d0c/gl_8c.html#a2737fdf992bd5a9d008f620ddaf50107">GL_AREA_SIZE</a>   400</td></tr>
|
|
<tr class="separator:a2737fdf992bd5a9d008f620ddaf50107"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:a289cfe9a70bcb690eeff2639dd8a98cd" id="r_a289cfe9a70bcb690eeff2639dd8a98cd"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d0c/gl_8c.html#a289cfe9a70bcb690eeff2639dd8a98cd">util_gl_set_arrow</a> (int stack_id, int arrows_nb, int space_X, int space_Y, int space_Z, int requested_weight, int site, int arrow_x, int arrow_y, int arrow_z)</td></tr>
|
|
<tr class="separator:a289cfe9a70bcb690eeff2639dd8a98cd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adbe03a3d239b22390e9de809443c8df9" id="r_adbe03a3d239b22390e9de809443c8df9"><td class="memItemLeft" align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d0c/gl_8c.html#adbe03a3d239b22390e9de809443c8df9">util_gl_get_stack</a> (void *container_widget)</td></tr>
|
|
<tr class="separator:adbe03a3d239b22390e9de809443c8df9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5a691fdca6e3088ea9c1927096541624" id="r_a5a691fdca6e3088ea9c1927096541624"><td class="memItemLeft" align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d0c/gl_8c.html#a5a691fdca6e3088ea9c1927096541624">util_gl_is_ready</a> (void *container_widget)</td></tr>
|
|
<tr class="separator:a5a691fdca6e3088ea9c1927096541624"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a28b44187c7ae713705874288323e10a6" id="r_a28b44187c7ae713705874288323e10a6"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d0c/gl_8c.html#a28b44187c7ae713705874288323e10a6">util_gl_init_stack</a> (void *container_widget, GError *error_buffer)</td></tr>
|
|
<tr class="separator:a28b44187c7ae713705874288323e10a6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9d41985e1832e0a798e722d2341752f1" id="r_a9d41985e1832e0a798e722d2341752f1"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d0c/gl_8c.html#a9d41985e1832e0a798e722d2341752f1">util_gl_shutdown_stack</a> (void *container_widget, GError *error_buffer)</td></tr>
|
|
<tr class="separator:a9d41985e1832e0a798e722d2341752f1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab0a523986944f809fac9acc1693f3029" id="r_ab0a523986944f809fac9acc1693f3029"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d0c/gl_8c.html#ab0a523986944f809fac9acc1693f3029">util_gl_clean_stack_index</a> (void)</td></tr>
|
|
<tr class="separator:ab0a523986944f809fac9acc1693f3029"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8132a1a797f4f12eaff04b4c3610f054" id="r_a8132a1a797f4f12eaff04b4c3610f054"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d0c/gl_8c.html#a8132a1a797f4f12eaff04b4c3610f054">util_gl_render_stack</a> (GtkWidget *container_widget)</td></tr>
|
|
<tr class="separator:a8132a1a797f4f12eaff04b4c3610f054"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad830e66002a24806e3617946dc988e95" id="r_ad830e66002a24806e3617946dc988e95"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d0c/gl_8c.html#ad830e66002a24806e3617946dc988e95">util_gl_update_axis</a> (GtkWidget *container_widget, int axis, int value)</td></tr>
|
|
<tr class="separator:ad830e66002a24806e3617946dc988e95"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae2198c050662c486c8e66c6e6b5a7e0b" id="r_ae2198c050662c486c8e66c6e6b5a7e0b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d0c/gl_8c.html#ae2198c050662c486c8e66c6e6b5a7e0b">util_gl_shutdown_all_stacks</a> (void)</td></tr>
|
|
<tr class="separator:ae2198c050662c486c8e66c6e6b5a7e0b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2cb205bd6556250d019b4de59eee3894" id="r_a2cb205bd6556250d019b4de59eee3894"><td class="memItemLeft" align="right" valign="top">GtkWidget * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d0c/gl_8c.html#a2cb205bd6556250d019b4de59eee3894">create_axis_slider</a> (int axis)</td></tr>
|
|
<tr class="separator:a2cb205bd6556250d019b4de59eee3894"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac90dc30613c94fdefedb76cf6d2c4ac8" id="r_ac90dc30613c94fdefedb76cf6d2c4ac8"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d0c/gl_8c.html#ac90dc30613c94fdefedb76cf6d2c4ac8">util_gl_setup_glarea</a> (int target_mode, GtkWidget *target_widget)</td></tr>
|
|
<tr class="separator:ac90dc30613c94fdefedb76cf6d2c4ac8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
|
|
Variables</h2></td></tr>
|
|
<tr class="memitem:a176a1af12ef0fb33a5de5cd36ef7145a" id="r_a176a1af12ef0fb33a5de5cd36ef7145a"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d0c/gl_8c.html#a176a1af12ef0fb33a5de5cd36ef7145a">stack_index_size</a> = 0</td></tr>
|
|
<tr class="separator:a176a1af12ef0fb33a5de5cd36ef7145a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Macro Definition Documentation</h2>
|
|
<a id="a2737fdf992bd5a9d008f620ddaf50107" name="a2737fdf992bd5a9d008f620ddaf50107"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2737fdf992bd5a9d008f620ddaf50107">◆ </a></span>GL_AREA_SIZE</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define GL_AREA_SIZE   400</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>phantom documentation used to test the functioning of doxygen </p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a id="a2cb205bd6556250d019b4de59eee3894" name="a2cb205bd6556250d019b4de59eee3894"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2cb205bd6556250d019b4de59eee3894">◆ </a></span>create_axis_slider()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GtkWidget * create_axis_slider </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>axis</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Creates a slider widget</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">axis</td><td>the axis we're building a label for</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>GtkWidget*: pointer to the new widget </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab0a523986944f809fac9acc1693f3029" name="ab0a523986944f809fac9acc1693f3029"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab0a523986944f809fac9acc1693f3029">◆ </a></span>util_gl_clean_stack_index()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void util_gl_clean_stack_index </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>phantom documentation used to test the functioning of doxygen </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="adbe03a3d239b22390e9de809443c8df9" name="adbe03a3d239b22390e9de809443c8df9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#adbe03a3d239b22390e9de809443c8df9">◆ </a></span>util_gl_get_stack()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">long util_gl_get_stack </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>container_widget</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Look for stack entry and returns stack_id</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">container_widget</td><td>generally the GtkBox that contains the GLArea</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>stack_id </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a28b44187c7ae713705874288323e10a6" name="a28b44187c7ae713705874288323e10a6"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a28b44187c7ae713705874288323e10a6">◆ </a></span>util_gl_init_stack()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool util_gl_init_stack </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>container_widget</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">GError * </td>
|
|
<td class="paramname"><em>error_buffer</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Look for stack entry and initializes OpenGL for it</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">container_widget</td><td>generally the GtkBox that contains the GLArea </td></tr>
|
|
<tr><td class="paramname">error_buffer</td><td>phantom documentation used to test the functioning of doxygen</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>bool: true if success </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a5a691fdca6e3088ea9c1927096541624" name="a5a691fdca6e3088ea9c1927096541624"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5a691fdca6e3088ea9c1927096541624">◆ </a></span>util_gl_is_ready()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">long util_gl_is_ready </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>container_widget</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Look for stack entry and returns stack_id</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">container_widget</td><td>generally the GtkBox that contains the GLArea</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>stack_id </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8132a1a797f4f12eaff04b4c3610f054" name="a8132a1a797f4f12eaff04b4c3610f054"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8132a1a797f4f12eaff04b4c3610f054">◆ </a></span>util_gl_render_stack()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool util_gl_render_stack </td>
|
|
<td>(</td>
|
|
<td class="paramtype">GtkWidget * </td>
|
|
<td class="paramname"><em>container_widget</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Look for stack entry and triggers OpenGL for drawing</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">container_widget</td><td>generally the GtkBox that contains the GLArea</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>bool: true if success </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a289cfe9a70bcb690eeff2639dd8a98cd" name="a289cfe9a70bcb690eeff2639dd8a98cd"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a289cfe9a70bcb690eeff2639dd8a98cd">◆ </a></span>util_gl_set_arrow()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int util_gl_set_arrow </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>stack_id</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>arrows_nb</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>space_X</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>space_Y</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>space_Z</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>requested_weight</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>site</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>arrow_x</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>arrow_y</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>arrow_z</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>phantom documentation used to test the functioning of doxygen </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac90dc30613c94fdefedb76cf6d2c4ac8" name="ac90dc30613c94fdefedb76cf6d2c4ac8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac90dc30613c94fdefedb76cf6d2c4ac8">◆ </a></span>util_gl_setup_glarea()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool util_gl_setup_glarea </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>target_mode</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">GtkWidget * </td>
|
|
<td class="paramname"><em>target_widget</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>phantom documentation used to test the functioning of doxygen </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae2198c050662c486c8e66c6e6b5a7e0b" name="ae2198c050662c486c8e66c6e6b5a7e0b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae2198c050662c486c8e66c6e6b5a7e0b">◆ </a></span>util_gl_shutdown_all_stacks()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void util_gl_shutdown_all_stacks </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Look for every stack entry and shutdowns OpenGL for it</p>
|
|
<p>returns true if success ? TODO why not bool ? </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9d41985e1832e0a798e722d2341752f1" name="a9d41985e1832e0a798e722d2341752f1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9d41985e1832e0a798e722d2341752f1">◆ </a></span>util_gl_shutdown_stack()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool util_gl_shutdown_stack </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>container_widget</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">GError * </td>
|
|
<td class="paramname"><em>error_buffer</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Look for stack entry and shutdowns OpenGL for it</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">container_widget</td><td>generally the GtkBox that contains the GLArea </td></tr>
|
|
<tr><td class="paramname">error_buffer</td><td>phantom documentation used to test the functioning of doxygen</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>bool: true if success </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad830e66002a24806e3617946dc988e95" name="ad830e66002a24806e3617946dc988e95"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad830e66002a24806e3617946dc988e95">◆ </a></span>util_gl_update_axis()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool util_gl_update_axis </td>
|
|
<td>(</td>
|
|
<td class="paramtype">GtkWidget * </td>
|
|
<td class="paramname"><em>container_widget</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>axis</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>value</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Look for stack entry and triggers OpenGL for drawing</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">container_widget</td><td>generally the GtkBox that contains the GLArea </td></tr>
|
|
<tr><td class="paramname">axis</td><td>phantom documentation used to test the functioning of doxygen </td></tr>
|
|
<tr><td class="paramname">value</td><td>phantom documentation used to test the functioning of doxygen</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>bool: true if success </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Variable Documentation</h2>
|
|
<a id="a176a1af12ef0fb33a5de5cd36ef7145a" name="a176a1af12ef0fb33a5de5cd36ef7145a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a176a1af12ef0fb33a5de5cd36ef7145a">◆ </a></span>stack_index_size</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">size_t stack_index_size = 0</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>phantom documentation used to test the functioning of doxygen </p>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
|
|
</small></address>
|
|
</body>
|
|
</html>
|