source: branches/port5/WINDOW/aw_window_Xm_interface.hxx

Last change on this file was 5868, checked in by westram, 15 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.1 KB
Line 
1// ============================================================= //
2//                                                               //
3//   File      : aw_window_Xm_interface.hxx                      //
4//   Purpose   : Provide some X11 interna for applications       //
5//                                                               //
6//   Coded by Ralf Westram (coder@reallysoft.de) in April 2009   //
7//   Institute of Microbiology (Technical University Munich)     //
8//   http://www.arb-home.de/                                     //
9//                                                               //
10// ============================================================= //
11
12#ifndef AW_WINDOW_XM_INTERFACE_HXX
13#define AW_WINDOW_XM_INTERFACE_HXX
14
15#ifndef AW_ROOT_HXX
16#include <aw_root.hxx>
17#endif
18#ifndef AW_DEVICE_HXX
19#include <aw_device.hxx>
20#endif
21
22#ifndef _Xm_h
23#include <Xm/Xm.h>
24#endif
25
26XtAppContext AW_get_XtAppContext(AW_root *aw_root);
27Widget       AW_get_AreaWidget(AW_window *aww, AW_area area);
28GC           AW_map_AreaGC(AW_window *aww, AW_area area, int gc);
29
30
31#else
32#error aw_window_Xm_interface.hxx included twice
33#endif // AW_WINDOW_XM_INTERFACE_HXX
Note: See TracBrowser for help on using the repository browser.