Revision 773,
1.4 KB
checked in by gumbau, 19 years ago
(diff) |
FLTK imported to SVN repository to be linked agains the GeoTool? application
|
Line | |
---|
1 | // "$Id: visual.h 4403 2005-06-28 15:42:14Z spitzak $" |
---|
2 | // |
---|
3 | // Copyright 1998-2003 by Bill Spitzak and others. |
---|
4 | // |
---|
5 | // This library is free software; you can redistribute it and/or |
---|
6 | // modify it under the terms of the GNU Library General Public |
---|
7 | // License as published by the Free Software Foundation; either |
---|
8 | // version 2 of the License, or (at your option) any later version. |
---|
9 | // |
---|
10 | // This library is distributed in the hope that it will be useful, |
---|
11 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
13 | // Library General Public License for more details. |
---|
14 | // |
---|
15 | // You should have received a copy of the GNU Library General Public |
---|
16 | // License along with this library; if not, write to the Free Software |
---|
17 | // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
---|
18 | // USA. |
---|
19 | // |
---|
20 | // Please report all bugs and problems to "fltk-bugs@fltk.org". |
---|
21 | // |
---|
22 | |
---|
23 | #ifndef fltk_visual_h |
---|
24 | #define fltk_visual_h |
---|
25 | |
---|
26 | #include "FL_API.h" |
---|
27 | |
---|
28 | namespace fltk { |
---|
29 | |
---|
30 | /*! \addtogroup startup |
---|
31 | \{ |
---|
32 | */ |
---|
33 | |
---|
34 | enum { |
---|
35 | RGB_COLOR = 0, |
---|
36 | INDEXED_COLOR = 1, |
---|
37 | SINGLE_BUFFER = 0, |
---|
38 | DOUBLE_BUFFER = 2, |
---|
39 | ACCUM_BUFFER = 4, |
---|
40 | ALPHA_BUFFER = 8, |
---|
41 | DEPTH_BUFFER = 16, |
---|
42 | STENCIL_BUFFER= 32, |
---|
43 | RGB24_COLOR = 64, |
---|
44 | MULTISAMPLE = 128, |
---|
45 | STEREO = 256 |
---|
46 | }; |
---|
47 | |
---|
48 | extern FL_API bool visual(int); |
---|
49 | |
---|
50 | extern FL_GL_API bool glVisual(int); |
---|
51 | |
---|
52 | extern FL_API void own_colormap(); |
---|
53 | |
---|
54 | /*! \} */ |
---|
55 | |
---|
56 | } |
---|
57 | |
---|
58 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.