File: classGtk_1_1GL_1_1DrawingArea.html

package info (click to toggle)
gtkglextmm 1.0.1-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,556 kB
  • ctags: 1,882
  • sloc: sh: 8,380; cpp: 4,443; xml: 1,605; ansic: 832; makefile: 407; perl: 179
file content (208 lines) | stat: -rw-r--r-- 10,766 bytes parent folder | download
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>gtkglextmm: Gtk::GL::DrawingArea class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.4 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="examples.html">Examples</a></div>
<h1>Gtk::GL::DrawingArea Class Reference</h1><code>#include &lt;<a class="el" href="drawingarea_8h-source.html">drawingarea.h</a>&gt;</code>
<p>
Inheritance diagram for Gtk::GL::DrawingArea:<p><center><img src="classGtk_1_1GL_1_1DrawingArea__inherit__graph.png" border="0" usemap="#Gtk_1_1GL_1_1DrawingArea__inherit__map" alt="Inheritance graph"></center>
<map name="Gtk_1_1GL_1_1DrawingArea__inherit__map">
<area href="classGtk_1_1GL_1_1Widget.html" shape="rect" coords="24,17,128,36" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for Gtk::GL::DrawingArea:<p><center><img src="classGtk_1_1GL_1_1DrawingArea__coll__graph.png" border="0" usemap="#Gtk_1_1GL_1_1DrawingArea__coll__map" alt="Collaboration graph"></center>
<map name="Gtk_1_1GL_1_1DrawingArea__coll__map">
<area href="classGtk_1_1GL_1_1Widget.html" shape="rect" coords="24,17,128,36" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGtk_1_1GL_1_1DrawingArea-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>virtual&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classGtk_1_1GL_1_1DrawingArea.html#a0">~DrawingArea</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classGtk_1_1GL_1_1DrawingArea.html#a1">DrawingArea</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classGtk_1_1GL_1_1DrawingArea.html#a2">DrawingArea</a> (const  Glib::RefPtr&lt; const  <a class="el" href="classGdk_1_1GL_1_1Config.html">Gdk::GL::Config</a> &gt; &amp;glconfig, const  Glib::RefPtr&lt; const  <a class="el" href="classGdk_1_1GL_1_1Context.html">Gdk::GL::Context</a> &gt; &amp;share_list, bool direct=true, int render_type=Gdk::GL::RGBA_TYPE)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classGtk_1_1GL_1_1DrawingArea.html#a3">DrawingArea</a> (const  Glib::RefPtr&lt; const  <a class="el" href="classGdk_1_1GL_1_1Config.html">Gdk::GL::Config</a> &gt; &amp;glconfig, bool direct=true, int render_type=Gdk::GL::RGBA_TYPE)</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
OpenGL-capable <a class="el" href="classGtk_1_1GL_1_1DrawingArea.html">DrawingArea</a> widget. 
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="a0" doxytag="Gtk::GL::DrawingArea::~DrawingArea" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual Gtk::GL::DrawingArea::~<a class="el" href="classGtk_1_1GL_1_1DrawingArea.html">DrawingArea</a> </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a class="anchor" name="a1" doxytag="Gtk::GL::DrawingArea::DrawingArea" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Gtk::GL::DrawingArea::DrawingArea </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Create an <a class="el" href="classGtk_1_1GL_1_1DrawingArea.html">DrawingArea</a> widget which supports OpenGL rendering. This constructor does *NOT* call <a class="el" href="classGtk_1_1GL_1_1Widget.html#e0">set_gl_capability()</a> method, so that you should call it yourself to make instantiated <a class="el" href="classGtk_1_1GL_1_1DrawingArea.html">DrawingArea</a> OpenGL-capable.     </td>
  </tr>
</table>
<a class="anchor" name="a2" doxytag="Gtk::GL::DrawingArea::DrawingArea" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Gtk::GL::DrawingArea::DrawingArea </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const Glib::RefPtr&lt; const <a class="el" href="classGdk_1_1GL_1_1Config.html">Gdk::GL::Config</a> &gt; &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>glconfig</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const Glib::RefPtr&lt; const <a class="el" href="classGdk_1_1GL_1_1Context.html">Gdk::GL::Context</a> &gt; &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>share_list</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap> <em>direct</em> = true, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap> <em>render_type</em> = Gdk::GL::RGBA_TYPE</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Create an OpenGL-capable <a class="el" href="classGtk_1_1GL_1_1DrawingArea.html">DrawingArea</a> widget.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>glconfig</em>&nbsp;</td><td>a <a class="el" href="classGdk_1_1GL_1_1Config.html">Gdk::GL::Config</a>. </td></tr>
    <tr><td valign=top><em>share_list</em>&nbsp;</td><td>the <a class="el" href="classGdk_1_1GL_1_1Context.html">Gdk::GL::Context</a> which to share display lists. </td></tr>
    <tr><td valign=top><em>direct</em>&nbsp;</td><td>whether rendering is to be done with a direct connection to the graphics system. </td></tr>
    <tr><td valign=top><em>render_type</em>&nbsp;</td><td><a class="el" href="group__gdkmm__glEnums.html#a44a85">Gdk::GL::RGBA_TYPE</a> or <a class="el" href="group__gdkmm__glEnums.html#a44a86">Gdk::GL::COLOR_INDEX_TYPE</a> (currently not used). </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a3" doxytag="Gtk::GL::DrawingArea::DrawingArea" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Gtk::GL::DrawingArea::DrawingArea </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const Glib::RefPtr&lt; const <a class="el" href="classGdk_1_1GL_1_1Config.html">Gdk::GL::Config</a> &gt; &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>glconfig</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap> <em>direct</em> = true, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap> <em>render_type</em> = Gdk::GL::RGBA_TYPE</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Create an OpenGL-capable <a class="el" href="classGtk_1_1GL_1_1DrawingArea.html">DrawingArea</a> widget.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>glconfig</em>&nbsp;</td><td>a <a class="el" href="classGdk_1_1GL_1_1Config.html">Gdk::GL::Config</a>. </td></tr>
    <tr><td valign=top><em>direct</em>&nbsp;</td><td>whether rendering is to be done with a direct connection to the graphics system. </td></tr>
    <tr><td valign=top><em>render_type</em>&nbsp;</td><td><a class="el" href="group__gdkmm__glEnums.html#a44a85">Gdk::GL::RGBA_TYPE</a> or <a class="el" href="group__gdkmm__glEnums.html#a44a86">Gdk::GL::COLOR_INDEX_TYPE</a> (currently not used). </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>gtkmm/gl/<a class="el" href="drawingarea_8h-source.html">drawingarea.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Nov 20 22:46:47 2003 for gtkglextmm by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 > 
</a>1.3.4 </small></address>
</body>
</html>