ARB
aw_window_ogl.hxx
Go to the documentation of this file.
1 // ============================================================= //
2 // //
3 // File : aw_window_ogl.hxx //
4 // Purpose : open gl window //
5 // //
6 // Institute of Microbiology (Technical University Munich) //
7 // http://www.arb-home.de/ //
8 // //
9 // ============================================================= //
10 
11 #ifndef AW_WINDOW_OGL_HXX
12 #define AW_WINDOW_OGL_HXX
13 
14 #ifndef AW_WINDOW_HXX
15 #include <aw_window.hxx>
16 #endif
17 
18 // --------------------------------------------------------------------------------
19 // For Applications Using OpenGL Windows
20 // Variable "AW_alpha_Size_Supported" says whether the hardware (Graphics Card)
21 // supports alpha channel or not. Alpha channel is used for shading/ multi textures
22 // in OpenGL applications.
23 
24 extern bool AW_alpha_Size_Supported;
25 
26 
27 // Extended by Daniel Koitzsch & Christian Becker 19-05-04
28 struct AW_window_menu_modes_opengl : public AW_window_menu_modes { // derived from a Noncopyable
31  virtual void init(AW_root *root, const char *wid, const char *windowname, int width, int height);
32 };
33 
34 
35 
36 #else
37 #error aw_window_ogl.hxx included twice
38 #endif // AW_WINDOW_OGL_HXX
bool AW_alpha_Size_Supported
AW_root * root
Definition: aw_window.hxx:272
virtual void init(AW_root *root, const char *wid, const char *windowname, int width, int height)