source: branches/port5/GL/glAW/aw_window_ogl.hxx

Last change on this file was 5868, checked in by westram, 16 years ago
  • separated openGL parts from WINDOW library (it's nonsense to link openGL into all applications when only one application actually uses openGL)
    • created GL/glWINDOW library (extending normal WINDOW library) and moved relevant code there
    • created an interface header for applications needing access to Motif/X11 internals (aw_window_Xm_interface.hxx)
    • RNA3D uses that interface header (instead of hardcoded links into ../WINDOW)
    • AW_variable_update_struct went local (AW_button.cxx)
    • some functions exported (aw_create_help_entry, aw_create_shell, aw_realize_widget). Needed by libglWINDOW
File size: 1.5 KB
Line 
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
24extern bool AW_alpha_Size_Supported;
25
26
27/// Extended by Daniel Koitzsch & Christian Becker 19-05-04
28class AW_window_menu_modes_opengl : public AW_window_menu_modes {
29private:
30    void *AW_window_menu_modes_private; // Do not use !!!
31public:
32    AW_window_menu_modes_opengl(void);
33    ~AW_window_menu_modes_opengl(void);
34    virtual void init(AW_root *root, const char *wid, const char *windowname, int width, int height);
35};
36
37
38
39#else
40#error aw_window_ogl.hxx included twice
41#endif // AW_WINDOW_OGL_HXX
Note: See TracBrowser for help on using the repository browser.