source: branches/stable/WINDOW/AW_window_Xm_interface.cxx

Last change on this file was 17396, checked in by westram, 6 years ago
File size: 1.2 KB
Line 
1// ============================================================= //
2//                                                               //
3//   File      : AW_window_Xm_interface.cxx                      //
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#include "aw_window_Xm_interface.hxx"
13#include <aw_window.hxx>
14#include <aw_window_Xm.hxx>
15#include "aw_common_xm.hxx"
16#include <aw_root.hxx>
17
18// functions published here are used externally from ../RNA3D
19
20XtAppContext AW_get_XtAppContext(AW_root *aw_root) {
21    return aw_root->prvt->context;
22}
23
24Widget AW_get_AreaWidget(AW_window *aww, AW_area area) {
25    return aww->p_w->areas[area]->get_area();
26}
27
28GC AW_map_AreaGC(AW_window *aww, AW_area area, int gc) {
29    return aww->p_w->areas[area]->get_common()->get_GC(gc);
30}
31
Note: See TracBrowser for help on using the repository browser.