File: pixmap_8h-source.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 (170 lines) | stat: -rw-r--r-- 11,971 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
<!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: gdkmm/gl/pixmap.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&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>gdkmm/gl/pixmap.h</h1><a href="pixmap_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">// -*- c++ -*-</span>
00002 <span class="comment">// Generated by gtkmmproc -- DO NOT MODIFY!</span>
00003 <span class="preprocessor">#ifndef _GDKMM_GL_PIXMAP_H</span>
00004 <span class="preprocessor"></span><span class="preprocessor">#define _GDKMM_GL_PIXMAP_H</span>
00005 <span class="preprocessor"></span>
00006 <span class="preprocessor">#include &lt;glibmm.h&gt;</span>
00007 
00008 <span class="comment">// -*- C++ -*-</span>
00009 <span class="comment">/* gdkglextmm - C++ Wrapper for GdkGLExt</span>
00010 <span class="comment"> * Copyright (C) 2002-2003  Naofumi Yasufuku</span>
00011 <span class="comment"> *</span>
00012 <span class="comment"> * This library is free software; you can redistribute it and/or</span>
00013 <span class="comment"> * modify it under the terms of the GNU Lesser General Public</span>
00014 <span class="comment"> * License as published by the Free Software Foundation; either</span>
00015 <span class="comment"> * version 2.1 of the License, or (at your option) any later version.</span>
00016 <span class="comment"> *</span>
00017 <span class="comment"> * This library is distributed in the hope that it will be useful,</span>
00018 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
00019 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
00020 <span class="comment"> * Lesser General Public License for more details.</span>
00021 <span class="comment"> *</span>
00022 <span class="comment"> * You should have received a copy of the GNU Lesser General Public</span>
00023 <span class="comment"> * License along with this library; if not, write to the Free Software</span>
00024 <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA.</span>
00025 <span class="comment"> */</span>
00026 
00027 <span class="preprocessor">#include &lt;<a class="code" href="gdkglext_2gdkmm_2gl_2defs_8h.html">gdkmm/gl/defs.h</a>&gt;</span>
00028 
00029 <span class="preprocessor">#include &lt;gdkmm/drawable.h&gt;</span>
00030 <span class="preprocessor">#include &lt;gdkmm/pixmap.h&gt;</span>
00031 
00032 <span class="preprocessor">#include &lt;<a class="code" href="config_8h.html">gdkmm/gl/config.h</a>&gt;</span>
00033 <span class="preprocessor">#include &lt;<a class="code" href="drawable_8h.html">gdkmm/gl/drawable.h</a>&gt;</span>
00034 
00035 
00036 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span>
00037 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>_GdkGLPixmap GdkGLPixmap;
00038 <span class="keyword">typedef</span> <span class="keyword">struct </span>_GdkGLPixmapClass GdkGLPixmapClass;
00039 <span class="preprocessor">#endif </span><span class="comment">/* DOXYGEN_SHOULD_SKIP_THIS */</span>
00040 
00041 
00042 <span class="keyword">namespace </span>Gdk
00043 {
00044 
00045 <span class="keyword">namespace </span>GL
00046 { <span class="keyword">class </span>Pixmap_Class; } <span class="comment">// namespace GL</span>
00047 
00048 } <span class="comment">// namespace Gdk</span>
00049 <span class="keyword">namespace </span><a class="code" href="classGdk.html">Gdk</a>
00050 {
00051 <span class="keyword">namespace </span><a class="code" href="classGL.html">GL</a>
00052 {
00053 
<a name="l00060"></a><a class="code" href="classGdk_1_1GL_1_1Pixmap.html">00060</a> <span class="keyword">class </span><a class="code" href="classGdk_1_1GL_1_1Pixmap.html">Pixmap</a> : <span class="keyword">public</span> <a class="code" href="classGdk.html">Gdk</a>::<a class="code" href="classGdk_1_1GL_1_1Drawable.html">Drawable</a>,
00061                <span class="keyword">public</span> <a class="code" href="classGdk.html">Gdk</a>::<a class="code" href="classGL.html">GL</a>::<a class="code" href="classGdk_1_1GL_1_1Drawable.html">Drawable</a>
00062 {
00063   
00064 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span>
00065 <span class="preprocessor"></span>
00066 <span class="keyword">public</span>:
00067   <span class="keyword">typedef</span> <a class="code" href="classGdk_1_1GL_1_1Pixmap.html">Pixmap</a> CppObjectType;
00068   <span class="keyword">typedef</span> Pixmap_Class CppClassType;
00069   <span class="keyword">typedef</span> GdkGLPixmap BaseObjectType;
00070   <span class="keyword">typedef</span> GdkGLPixmapClass BaseClassType;
00071 
00072 <span class="keyword">private</span>:  <span class="keyword">friend</span> <span class="keyword">class </span>Pixmap_Class;
00073   <span class="keyword">static</span> CppClassType pixmap_class_;
00074 
00075 <span class="keyword">private</span>:
00076   <span class="comment">// noncopyable</span>
00077   <a class="code" href="classGdk_1_1GL_1_1Pixmap.html#b0">Pixmap</a>(<span class="keyword">const</span> <a class="code" href="classGdk_1_1GL_1_1Pixmap.html">Pixmap</a>&amp;);
00078   <a class="code" href="classGdk_1_1GL_1_1Pixmap.html">Pixmap</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classGdk_1_1GL_1_1Pixmap.html">Pixmap</a>&amp;);
00079 
00080 <span class="keyword">protected</span>:
00081   <span class="keyword">explicit</span> <a class="code" href="classGdk_1_1GL_1_1Pixmap.html#b0">Pixmap</a>(<span class="keyword">const</span> Glib::ConstructParams&amp; construct_params);
00082   <span class="keyword">explicit</span> <a class="code" href="classGdk_1_1GL_1_1Pixmap.html#b0">Pixmap</a>(GdkGLPixmap* castitem);
00083 
00084 <span class="preprocessor">#endif </span><span class="comment">/* DOXYGEN_SHOULD_SKIP_THIS */</span>
00085 
00086 <span class="keyword">public</span>:
00087   <span class="keyword">virtual</span> <a class="code" href="classGdk_1_1GL_1_1Pixmap.html#a0">~Pixmap</a>();
00088 
00089 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span>
00090 <span class="preprocessor"></span>  <span class="keyword">static</span> GType get_type()      G_GNUC_CONST;
00091   <span class="keyword">static</span> GType get_base_type() G_GNUC_CONST;
00092 <span class="preprocessor">#endif</span>
00093 <span class="preprocessor"></span>
<a name="l00095"></a><a class="code" href="classGdk_1_1GL_1_1Pixmap.html#a1">00095</a>   GdkGLPixmap*       <a class="code" href="classGdk_1_1GL_1_1Pixmap.html#a1">gobj</a>()       { <span class="keywordflow">return</span> reinterpret_cast&lt;GdkGLPixmap*&gt;(gobject_); }
00096 
<a name="l00098"></a><a class="code" href="classGdk_1_1GL_1_1Pixmap.html#a2">00098</a>   <span class="keyword">const</span> GdkGLPixmap* <a class="code" href="classGdk_1_1GL_1_1Pixmap.html#a1">gobj</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> reinterpret_cast&lt;GdkGLPixmap*&gt;(gobject_); }
00099 
00100   GdkGLPixmap* <a class="code" href="classGdk_1_1GL_1_1Pixmap.html#a3">gobj_copy</a>();
00101 
00102 <span class="keyword">private</span>:
00103 
00104 
00105 <span class="keyword">protected</span>:
00106   <a class="code" href="classGdk_1_1GL_1_1Pixmap.html#b0">Pixmap</a>(<span class="keyword">const</span> Glib::RefPtr&lt;const Config&gt;&amp; glconfig,
00107          <span class="keyword">const</span> Glib::RefPtr&lt;const Gdk::Pixmap&gt;&amp; pixmap,
00108          <span class="keyword">const</span> <span class="keywordtype">int</span>* attrib_list = 0);
00109 
00110 <span class="keyword">public</span>:
00111   
00112   <span class="keyword">static</span> Glib::RefPtr&lt;Pixmap&gt; <a class="code" href="classGdk_1_1GL_1_1Pixmap.html#e0">create</a>(<span class="keyword">const</span> Glib::RefPtr&lt;const Config&gt;&amp; glconfig, <span class="keyword">const</span> Glib::RefPtr&lt;const Gdk::Pixmap&gt;&amp; pixmap, <span class="keyword">const</span> <span class="keywordtype">int</span>* attrib_list);
00113 
00114 
00115 <span class="keyword">public</span>:
00116 
00117   
00124   Glib::RefPtr&lt;Gdk::Pixmap&gt; <a class="code" href="classGdk_1_1GL_1_1Pixmap.html#a4">get_pixmap</a>();
00125 
00126   
00133   Glib::RefPtr&lt;const Gdk::Pixmap&gt; <a class="code" href="classGdk_1_1GL_1_1Pixmap.html#a4">get_pixmap</a>() <span class="keyword">const</span>;
00134 
00135 <span class="keyword">public</span>:
00136 
00137   
00147   <span class="keyword">static</span> Glib::RefPtr&lt;Pixmap&gt; <a class="code" href="classGdk_1_1GL_1_1Pixmap.html#e1">set_gl_capability</a>(<span class="keyword">const</span> Glib::RefPtr&lt;Gdk::Pixmap&gt;&amp; pixmap, <span class="keyword">const</span> Glib::RefPtr&lt;const Config&gt;&amp; glconfig, <span class="keyword">const</span> <span class="keywordtype">int</span>* attrib_list = 0);
00148 
00149   
00153   <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classGdk_1_1GL_1_1Pixmap.html#e2">unset_gl_capability</a>(<span class="keyword">const</span> Glib::RefPtr&lt;Gdk::Pixmap&gt;&amp; pixmap);
00154 
00155   
00159   <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classGdk_1_1GL_1_1Pixmap.html#e3">is_gl_capable</a>(<span class="keyword">const</span> Glib::RefPtr&lt;const Gdk::Pixmap&gt;&amp; pixmap);
00160 
00161   
00165   <span class="keyword">static</span> Glib::RefPtr&lt;Pixmap&gt; <a class="code" href="classGdk_1_1GL_1_1Pixmap.html#e4">get_gl_pixmap</a>(<span class="keyword">const</span> Glib::RefPtr&lt;const Gdk::Pixmap&gt;&amp; pixmap);
00166 
00167   
00168   <span class="keyword">static</span> Glib::RefPtr&lt;Gdk::GL::Drawable&gt; <a class="code" href="classGdk_1_1GL_1_1Pixmap.html#e5">get_gl_drawable</a>(<span class="keyword">const</span> Glib::RefPtr&lt;const Gdk::Pixmap&gt;&amp; pixmap);
00169 
00170 
00171 <span class="keyword">public</span>:
00172 
00173 <span class="keyword">public</span>:
00174   <span class="comment">//C++ methods used to invoke GTK+ virtual functions:</span>
00175 
00176 <span class="keyword">protected</span>:
00177   <span class="comment">//GTK+ Virtual Functions (override these to change behaviour):</span>
00178 
00179   <span class="comment">//Default Signal Handlers::</span>
00180 
00181 
00182 };
00183 
00197 } <span class="comment">// namespace GL</span>
00198 } <span class="comment">// namespace Gdk</span>
00199 
00200 
00201 <span class="keyword">namespace </span>Glib
00202 {
00204   Glib::RefPtr&lt;Gdk::GL::Pixmap&gt; wrap(GdkGLPixmap* object, <span class="keywordtype">bool</span> take_copy = <span class="keyword">false</span>);
00205 }
00206 
00207 
00208 <span class="preprocessor">#endif </span><span class="comment">/* _GDKMM_GL_PIXMAP_H */</span>
00209 
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Nov 20 22:46:32 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>