gem-graph-client/doc/html/da/d0c/gl_8c.html

499 lines
25 KiB
HTML
Raw Normal View History

2024-10-20 01:05:12 +02:00
<!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="../../logo icon mini.png"/></td>
<td id="projectalign">
<div id="projectname">Gem-graph<span id="projectnumber">&#160;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&amp;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&amp;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> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> &#124;
<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 &quot;<a class="el" href="../../d7/d04/graphics_8h.html">../../../include/graphics.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d8/d09/signal_8h.html">../../../include/signal.h</a>&quot;</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 &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d02/structstack__index__t.html">stack_index_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">phantom documentation used to test the functioning of doxygen <a href="../../d7/d02/structstack__index__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</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"><a id="a2737fdf992bd5a9d008f620ddaf50107" name="a2737fdf992bd5a9d008f620ddaf50107"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GL_AREA_SIZE</b>&#160;&#160;&#160;400</td></tr>
<tr class="memdesc:a2737fdf992bd5a9d008f620ddaf50107"><td class="mdescLeft">&#160;</td><td class="mdescRight">phantom documentation used to test the functioning of doxygen <br /></td></tr>
<tr class="separator:a2737fdf992bd5a9d008f620ddaf50107"><td class="memSeparator" colspan="2">&#160;</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&#160;</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="memdesc:a289cfe9a70bcb690eeff2639dd8a98cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">phantom documentation <br /></td></tr>
2024-10-20 01:05:12 +02:00
<tr class="separator:a289cfe9a70bcb690eeff2639dd8a98cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbe03a3d239b22390e9de809443c8df9" id="r_adbe03a3d239b22390e9de809443c8df9"><td class="memItemLeft" align="right" valign="top">long&#160;</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="memdesc:adbe03a3d239b22390e9de809443c8df9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Look for stack entry and returns stack_id. <br /></td></tr>
<tr class="separator:adbe03a3d239b22390e9de809443c8df9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a691fdca6e3088ea9c1927096541624" id="r_a5a691fdca6e3088ea9c1927096541624"><td class="memItemLeft" align="right" valign="top">long&#160;</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="memdesc:a5a691fdca6e3088ea9c1927096541624"><td class="mdescLeft">&#160;</td><td class="mdescRight">Look for stack entry and returns stack_id. <br /></td></tr>
<tr class="separator:a5a691fdca6e3088ea9c1927096541624"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28b44187c7ae713705874288323e10a6" id="r_a28b44187c7ae713705874288323e10a6"><td class="memItemLeft" align="right" valign="top">bool&#160;</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="memdesc:a28b44187c7ae713705874288323e10a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Look for stack entry and initializes OpenGL for it. <br /></td></tr>
<tr class="separator:a28b44187c7ae713705874288323e10a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d41985e1832e0a798e722d2341752f1" id="r_a9d41985e1832e0a798e722d2341752f1"><td class="memItemLeft" align="right" valign="top">bool&#160;</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="memdesc:a9d41985e1832e0a798e722d2341752f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Look for stack entry and shutdowns OpenGL for it. <br /></td></tr>
<tr class="separator:a9d41985e1832e0a798e722d2341752f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0a523986944f809fac9acc1693f3029" id="r_ab0a523986944f809fac9acc1693f3029"><td class="memItemLeft" align="right" valign="top"><a id="ab0a523986944f809fac9acc1693f3029" name="ab0a523986944f809fac9acc1693f3029"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>util_gl_clean_stack_index</b> (void)</td></tr>
<tr class="memdesc:ab0a523986944f809fac9acc1693f3029"><td class="mdescLeft">&#160;</td><td class="mdescRight">phantom documentation used to test the functioning of doxygen <br /></td></tr>
<tr class="separator:ab0a523986944f809fac9acc1693f3029"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8132a1a797f4f12eaff04b4c3610f054" id="r_a8132a1a797f4f12eaff04b4c3610f054"><td class="memItemLeft" align="right" valign="top">bool&#160;</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="memdesc:a8132a1a797f4f12eaff04b4c3610f054"><td class="mdescLeft">&#160;</td><td class="mdescRight">Look for stack entry and triggers OpenGL for drawing. <br /></td></tr>
<tr class="separator:a8132a1a797f4f12eaff04b4c3610f054"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad830e66002a24806e3617946dc988e95" id="r_ad830e66002a24806e3617946dc988e95"><td class="memItemLeft" align="right" valign="top">bool&#160;</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="memdesc:ad830e66002a24806e3617946dc988e95"><td class="mdescLeft">&#160;</td><td class="mdescRight">Look for stack entry and triggers OpenGL for drawing. <br /></td></tr>
<tr class="separator:ad830e66002a24806e3617946dc988e95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2198c050662c486c8e66c6e6b5a7e0b" id="r_ae2198c050662c486c8e66c6e6b5a7e0b"><td class="memItemLeft" align="right" valign="top">void&#160;</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="memdesc:ae2198c050662c486c8e66c6e6b5a7e0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Look for every stack entry and shutdowns OpenGL for it. <br /></td></tr>
<tr class="separator:ae2198c050662c486c8e66c6e6b5a7e0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2cb205bd6556250d019b4de59eee3894" id="r_a2cb205bd6556250d019b4de59eee3894"><td class="memItemLeft" align="right" valign="top">GtkWidget *&#160;</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="memdesc:a2cb205bd6556250d019b4de59eee3894"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a slider widget. <br /></td></tr>
<tr class="separator:a2cb205bd6556250d019b4de59eee3894"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac90dc30613c94fdefedb76cf6d2c4ac8" id="r_ac90dc30613c94fdefedb76cf6d2c4ac8"><td class="memItemLeft" align="right" valign="top"><a id="ac90dc30613c94fdefedb76cf6d2c4ac8" name="ac90dc30613c94fdefedb76cf6d2c4ac8"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>util_gl_setup_glarea</b> (int target_mode, GtkWidget *target_widget)</td></tr>
<tr class="memdesc:ac90dc30613c94fdefedb76cf6d2c4ac8"><td class="mdescLeft">&#160;</td><td class="mdescRight">phantom documentation used to test the functioning of doxygen <br /></td></tr>
<tr class="separator:ac90dc30613c94fdefedb76cf6d2c4ac8"><td class="memSeparator" colspan="2">&#160;</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"><a id="a176a1af12ef0fb33a5de5cd36ef7145a" name="a176a1af12ef0fb33a5de5cd36ef7145a"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><b>stack_index_size</b> = 0</td></tr>
<tr class="memdesc:a176a1af12ef0fb33a5de5cd36ef7145a"><td class="mdescLeft">&#160;</td><td class="mdescRight">phantom documentation used to test the functioning of doxygen <br /></td></tr>
<tr class="separator:a176a1af12ef0fb33a5de5cd36ef7145a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a2cb205bd6556250d019b4de59eee3894" name="a2cb205bd6556250d019b4de59eee3894"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2cb205bd6556250d019b4de59eee3894">&#9670;&#160;</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&#160;</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></td></tr>
2024-10-20 01:05:12 +02:00
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>GtkWidget * </dd></dl>
2024-10-20 01:05:12 +02:00
</div>
</div>
<a id="adbe03a3d239b22390e9de809443c8df9" name="adbe03a3d239b22390e9de809443c8df9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adbe03a3d239b22390e9de809443c8df9">&#9670;&#160;</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 *&#160;</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></td></tr>
2024-10-20 01:05:12 +02:00
</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">&#9670;&#160;</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 *&#160;</td>
<td class="paramname"><em>container_widget</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GError *&#160;</td>
<td class="paramname"><em>error_buffer</em>&#160;</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></td></tr>
<tr><td class="paramname">*error_buffer</td><td></td></tr>
2024-10-20 01:05:12 +02:00
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>success </dd></dl>
2024-10-20 01:05:12 +02:00
</div>
</div>
<a id="a5a691fdca6e3088ea9c1927096541624" name="a5a691fdca6e3088ea9c1927096541624"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5a691fdca6e3088ea9c1927096541624">&#9670;&#160;</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 *&#160;</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>
2024-10-20 01:05:12 +02:00
</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">&#9670;&#160;</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 *&#160;</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">&#9670;&#160;</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&#160;</td>
<td class="paramname"><em>stack_id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>arrows_nb</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>space_X</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>space_Y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>space_Z</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>requested_weight</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>site</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>arrow_x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>arrow_y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>arrow_z</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>phantom documentation </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stack_id</td><td></td></tr>
<tr><td class="paramname">arrows_nb</td><td></td></tr>
<tr><td class="paramname">space_X</td><td></td></tr>
<tr><td class="paramname">space_Y</td><td></td></tr>
<tr><td class="paramname">space_Z</td><td></td></tr>
<tr><td class="paramname">requested_weight</td><td></td></tr>
<tr><td class="paramname">site</td><td></td></tr>
<tr><td class="paramname">arrow_x</td><td></td></tr>
<tr><td class="paramname">arrow_y</td><td></td></tr>
<tr><td class="paramname">arrow_z</td><td></td></tr>
</table>
</dd>
</dl>
<p>returns int </p>
2024-10-20 01:05:12 +02:00
</div>
</div>
<a id="ae2198c050662c486c8e66c6e6b5a7e0b" name="ae2198c050662c486c8e66c6e6b5a7e0b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2198c050662c486c8e66c6e6b5a7e0b">&#9670;&#160;</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&#160;</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">&#9670;&#160;</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 *&#160;</td>
<td class="paramname"><em>container_widget</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GError *&#160;</td>
<td class="paramname"><em>error_buffer</em>&#160;</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></td></tr>
2024-10-20 01:05:12 +02:00
</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">&#9670;&#160;</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 *&#160;</td>
<td class="paramname"><em>container_widget</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>axis</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>value</em>&#160;</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></td></tr>
<tr><td class="paramname">axis</td><td></td></tr>
<tr><td class="paramname">value</td><td></td></tr>
2024-10-20 01:05:12 +02:00
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>bool: true if success </dd></dl>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<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>