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 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274
|
<!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: Gdk::GL::PixmapExtProxy Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.4 -->
<div class="qindex"><a class="qindex" href="index.html">Main 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 Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="examples.html">Examples</a></div>
<div class="nav">
<a class="el" href="namespaceGdk.html">Gdk</a>::<a class="el" href="namespaceGdk_1_1GL.html">GL</a>::<a class="el" href="classGdk_1_1GL_1_1PixmapExtProxy.html">PixmapExtProxy</a></div>
<h1>Gdk::GL::PixmapExtProxy Class Reference</h1><!-- doxytag: class="Gdk::GL::PixmapExtProxy" --><code>#include <<a class="el" href="pixmapext_8h-source.html">pixmapext.h</a>></code>
<p>
<a href="classGdk_1_1GL_1_1PixmapExtProxy-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">Glib::RefPtr< <a class="el" href="classGdk_1_1GL_1_1Pixmap.html">Pixmap</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GL_1_1PixmapExtProxy.html#a0">set_gl_capability</a> (const Glib::RefPtr< const <a class="el" href="classGdk_1_1GL_1_1Config.html">Config</a> > &glconfig, const int *attrib_list=0)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GL_1_1PixmapExtProxy.html#a1">unset_gl_capability</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GL_1_1PixmapExtProxy.html#a2">is_gl_capable</a> () const </td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::RefPtr< <a class="el" href="classGdk_1_1GL_1_1Pixmap.html">Pixmap</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GL_1_1PixmapExtProxy.html#a3">get_gl_pixmap</a> () const </td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::RefPtr< <a class="el" href="classGdk_1_1GL_1_1Drawable.html">Gdk::GL::Drawable</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GL_1_1PixmapExtProxy.html#a4">get_gl_drawable</a> () const </td></tr>
<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGdk_1_1GL_1_1PixmapExtProxy.html">PixmapExtProxy</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GL_1_1PixmapExtProxy.html#n0">ext</a> (const Glib::RefPtr< Gdk::Pixmap > &)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classGdk_1_1GL_1_1PixmapExtProxy.html">PixmapExtProxy</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GL_1_1PixmapExtProxy.html#n1">ext</a> (const Glib::RefPtr< const Gdk::Pixmap > &)</td></tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a4"></a><!-- doxytag: member="Gdk::GL::PixmapExtProxy::get_gl_drawable" ref="a4" args="() const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">Glib::RefPtr<<a class="el" href="classGdk_1_1GL_1_1Drawable.html">Gdk::GL::Drawable</a>> Gdk::GL::PixmapExtProxy::get_gl_drawable </td>
<td class="md" valign="top">( </td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap> const</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Returns the <a class="el" href="classGdk_1_1GL_1_1Drawable.html">Gdk::GL::Drawable</a> held by the Gdk::Pixmap .<p>
<dl compact><dt><b>Returns:</b></dt><dd>The <a class="el" href="classGdk_1_1GL_1_1Drawable.html">Gdk::GL::Drawable</a>.</dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="a3"></a><!-- doxytag: member="Gdk::GL::PixmapExtProxy::get_gl_pixmap" ref="a3" args="() const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">Glib::RefPtr<<a class="el" href="classGdk_1_1GL_1_1Pixmap.html">Pixmap</a>> Gdk::GL::PixmapExtProxy::get_gl_pixmap </td>
<td class="md" valign="top">( </td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap> const</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Returns the <a class="el" href="classGdk_1_1GL_1_1Pixmap.html">Gdk::GL::Pixmap</a> held by the Gdk::Pixmap .<p>
<dl compact><dt><b>Returns:</b></dt><dd>The <a class="el" href="classGdk_1_1GL_1_1Pixmap.html">Gdk::GL::Pixmap</a>.</dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="a2"></a><!-- doxytag: member="Gdk::GL::PixmapExtProxy::is_gl_capable" ref="a2" args="() const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">bool Gdk::GL::PixmapExtProxy::is_gl_capable </td>
<td class="md" valign="top">( </td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap> const</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Returns whether the Gdk::Pixmap is OpenGL-capable.<p>
<dl compact><dt><b>Returns:</b></dt><dd><code>true</code> if the Gdk::Pixmap is OpenGL-capable, <code>false</code> otherwise.</dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="a0"></a><!-- doxytag: member="Gdk::GL::PixmapExtProxy::set_gl_capability" ref="a0" args="(const Glib::RefPtr< const Config > &glconfig, const int *attrib_list=0)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">Glib::RefPtr<<a class="el" href="classGdk_1_1GL_1_1Pixmap.html">Pixmap</a>> Gdk::GL::PixmapExtProxy::set_gl_capability </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">const Glib::RefPtr< const <a class="el" href="classGdk_1_1GL_1_1Config.html">Config</a> > & </td>
<td class="mdname" nowrap> <em>glconfig</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>const int * </td>
<td class="mdname" nowrap> <em>attrib_list</em> = <code>0</code></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">) </td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Set the OpenGL-capability to the Gdk::Pixmap. This function creates a new <a class="el" href="classGdk_1_1GL_1_1Pixmap.html">Gdk::GL::Pixmap</a> held by the Gdk::Pixmap. attrib_list is currently unused. This must be set to <code>0</code> or empty (first attribute of None).<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>glconfig</em> </td><td>A <a class="el" href="classGdk_1_1GL_1_1Config.html">Gdk::GL::Config</a>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>attrib_list</em> </td><td>This must be set to <code>0</code> or empty (first attribute of None). </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The <a class="el" href="classGdk_1_1GL_1_1Pixmap.html">Gdk::GL::Pixmap</a> used by the Gdk::Pixmap if it is successful, <code>0</code> otherwise.</dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="Gdk::GL::PixmapExtProxy::unset_gl_capability" ref="a1" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">void Gdk::GL::PixmapExtProxy::unset_gl_capability </td>
<td class="md" valign="top">( </td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Unset the OpenGL-capability of the Gdk::Pixmap . This function destroys the <a class="el" href="classGdk_1_1GL_1_1Pixmap.html">Gdk::GL::Pixmap</a> held by the Gdk::Pixmap. </td>
</tr>
</table>
<hr><h2>Friends And Related Function Documentation</h2>
<a class="anchor" name="n1"></a><!-- doxytag: member="Gdk::GL::PixmapExtProxy::ext" ref="n1" args="(const Glib::RefPtr< const Gdk::Pixmap > &)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">const <a class="el" href="classGdk_1_1GL_1_1PixmapExtProxy.html">PixmapExtProxy</a> ext </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">const Glib::RefPtr< const Gdk::Pixmap > & </td>
<td class="mdname1" valign="top" nowrap> <em>pixmap</em> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap><code> [friend]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
OpenGL extension API wrapper. This is a Gdk::Pixmap wrapper to invoke OpenGL extension function. See Gdk::GL::PixmapExtProxy for available functions.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>pixmap</em> </td><td>A Gdk::Pixmap.</td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="n0"></a><!-- doxytag: member="Gdk::GL::PixmapExtProxy::ext" ref="n0" args="(const Glib::RefPtr< Gdk::Pixmap > &)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"><a class="el" href="classGdk_1_1GL_1_1PixmapExtProxy.html">PixmapExtProxy</a> ext </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">const Glib::RefPtr< Gdk::Pixmap > & </td>
<td class="mdname1" valign="top" nowrap> <em>pixmap</em> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap><code> [friend]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
OpenGL extension API wrapper. This is a Gdk::Pixmap wrapper to invoke OpenGL extension function. See Gdk::GL::PixmapExtProxy for available functions.<p>
Here is a simple example: <div class="fragment"><pre class="fragment"> Glib::RefPtr<Gdk::Pixmap> pixmap =
Gdk::Pixmap::create(0, width, height, glconfig->get_depth());
Glib::RefPtr<Gdk::GL::Pixmap> glpixmap =
<a class="code" href="namespaceGdk_1_1GL.html#a112">Gdk::GL::ext</a>(pixmap).set_gl_capability(glconfig);
std::cout << <span class="stringliteral">"OpenGL-capable? "</span>
<< <a class="code" href="namespaceGdk_1_1GL.html#a112">Gdk::GL::ext</a>(pixmap).is_gl_capable()
<< std::endl;
</pre></div><p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>pixmap</em> </td><td>A Gdk::Pixmap.</td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>gdkmm/gl/<a class="el" href="pixmapext_8h-source.html">pixmapext.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Mon Feb 27 18:47:55 2006 for gtkglextmm by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body>
</html>
|