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
|
<!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: gtkmm/gl/drawingarea.h Source File</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 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="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>
<h1>gtkmm/gl/drawingarea.h</h1><a href="drawingarea_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">// -*- C++ -*-</span>
00002 <span class="comment">/* gtkglextmm - C++ Wrapper for GtkGLExt</span>
00003 <span class="comment"> * Copyright (C) 2002-2003 Naofumi Yasufuku</span>
00004 <span class="comment"> *</span>
00005 <span class="comment"> * This library is free software; you can redistribute it and/or</span>
00006 <span class="comment"> * modify it under the terms of the GNU Lesser General Public</span>
00007 <span class="comment"> * License as published by the Free Software Foundation; either</span>
00008 <span class="comment"> * version 2.1 of the License, or (at your option) any later version.</span>
00009 <span class="comment"> *</span>
00010 <span class="comment"> * This library is distributed in the hope that it will be useful,</span>
00011 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
00012 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span>
00013 <span class="comment"> * Lesser General Public License for more details.</span>
00014 <span class="comment"> *</span>
00015 <span class="comment"> * You should have received a copy of the GNU Lesser General Public</span>
00016 <span class="comment"> * License along with this library; if not, write to the Free Software</span>
00017 <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.</span>
00018 <span class="comment"> */</span>
00019
00020 <span class="preprocessor">#ifndef _GTKMM_GL_DRAWINGAREA_H</span>
00021 <span class="preprocessor"></span><span class="preprocessor">#define _GTKMM_GL_DRAWINGAREA_H</span>
00022 <span class="preprocessor"></span>
00023 <span class="preprocessor">#include <gtkmm/drawingarea.h></span>
00024
00025 <span class="preprocessor">#include <<a class="code" href="widget_8h.html">gtkmm/gl/widget.h</a>></span>
00026
<a name="l00027"></a><a class="code" href="namespaceGtk.html">00027</a> <span class="keyword">namespace </span>Gtk
00028 {
<a name="l00029"></a><a class="code" href="namespaceGtk_1_1GL.html">00029</a> <span class="keyword">namespace </span>GL
00030 {
00031
<a name="l00037"></a><a class="code" href="classGtk_1_1GL_1_1DrawingArea.html">00037</a> <span class="keyword">class </span><a class="code" href="classGtk_1_1GL_1_1DrawingArea.html">DrawingArea</a> : <span class="keyword">public</span> <a class="code" href="classGtk.html">Gtk</a>::<a class="code" href="classGtk_1_1GL_1_1DrawingArea.html">DrawingArea</a>,
00038 <span class="keyword">public</span> <a class="code" href="classGtk.html">Gtk</a>::<a class="code" href="classGL.html">GL</a>::<a class="code" href="classGtk_1_1GL_1_1Widget.html">Widget</a>
00039 {
00040 <span class="keyword">private</span>:
00041 <span class="comment">// noncopyable</span>
00042 <a class="code" href="classGtk_1_1GL_1_1DrawingArea.html#a1">DrawingArea</a>(<span class="keyword">const</span> <a class="code" href="classGtk_1_1GL_1_1DrawingArea.html">DrawingArea</a>&);
00043 <a class="code" href="classGtk_1_1GL_1_1DrawingArea.html">DrawingArea</a>& operator=(<span class="keyword">const</span> <a class="code" href="classGtk_1_1GL_1_1DrawingArea.html">DrawingArea</a>&);
00044
00045 <span class="keyword">public</span>:
00046 <span class="keyword">virtual</span> <a class="code" href="classGtk_1_1GL_1_1DrawingArea.html#a0">~DrawingArea</a>();
00047
00048 <span class="keyword">public</span>:
00049
<a name="l00056"></a><a class="code" href="classGtk_1_1GL_1_1DrawingArea.html#a1">00056</a> <a class="code" href="classGtk_1_1GL_1_1DrawingArea.html#a1">DrawingArea</a>()
00057 : <a class="code" href="classGtk.html">Gtk</a>::<a class="code" href="classGL.html">GL</a>::<a class="code" href="classGtk_1_1GL_1_1Widget.html">Widget</a>(static_cast<<a class="code" href="classGtk.html">Gtk</a>::<a class="code" href="classGtk_1_1GL_1_1Widget.html">Widget</a>&>(*this))
00058 {}
00059
<a name="l00069"></a><a class="code" href="classGtk_1_1GL_1_1DrawingArea.html#a2">00069</a> <a class="code" href="classGtk_1_1GL_1_1DrawingArea.html#a1">DrawingArea</a>(<span class="keyword">const</span> Glib::RefPtr<const Gdk::GL::Config>& glconfig,
00070 <span class="keyword">const</span> Glib::RefPtr<const Gdk::GL::Context>& share_list,
00071 <span class="keywordtype">bool</span> direct = <span class="keyword">true</span>,
00072 <span class="keywordtype">int</span> render_type = Gdk::GL::RGBA_TYPE)
00073 : <a class="code" href="classGtk.html">Gtk</a>::<a class="code" href="classGL.html">GL</a>::<a class="code" href="classGtk_1_1GL_1_1Widget.html">Widget</a>(static_cast<<a class="code" href="classGtk.html">Gtk</a>::<a class="code" href="classGtk_1_1GL_1_1Widget.html">Widget</a>&>(*this))
00074 { <a class="code" href="classGtk_1_1GL_1_1Widget.html#e0">set_gl_capability</a>(glconfig, share_list, direct, render_type); }
00075
<a name="l00084"></a><a class="code" href="classGtk_1_1GL_1_1DrawingArea.html#a3">00084</a> <a class="code" href="classGtk_1_1GL_1_1DrawingArea.html#a1">DrawingArea</a>(<span class="keyword">const</span> Glib::RefPtr<const Gdk::GL::Config>& glconfig,
00085 <span class="keywordtype">bool</span> direct = <span class="keyword">true</span>,
00086 <span class="keywordtype">int</span> render_type = Gdk::GL::RGBA_TYPE)
00087 : <a class="code" href="classGtk.html">Gtk</a>::<a class="code" href="classGL.html">GL</a>::<a class="code" href="classGtk_1_1GL_1_1Widget.html">Widget</a>(static_cast<<a class="code" href="classGtk.html">Gtk</a>::<a class="code" href="classGtk_1_1GL_1_1Widget.html">Widget</a>&>(*this))
00088 { <a class="code" href="classGtk_1_1GL_1_1Widget.html#e0">set_gl_capability</a>(glconfig, direct, render_type); }
00089
00090 };
00091
00122 } <span class="comment">// namespace GL</span>
00123 } <span class="comment">// namespace Gtk</span>
00124
00125 <span class="preprocessor">#endif // _GTKMM_GL_DRAWINGAREA_H</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Nov 20 22:46:33 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>
|