ARB
RNA3D_Graphics.hxx
Go to the documentation of this file.
1 #ifndef RNA3D_GRAPHICS_HXX
2 #define RNA3D_GRAPHICS_HXX
3 
4 #define RNA3D_assert(cond) arb_assert(cond)
5 
6 #ifndef AWT_CANVAS_HXX
7 #include <awt_canvas.hxx>
8 #endif
9 
10 enum {
23 
24  RNA3D_GC_SBACK_0, // User 1 // Background for search
25  RNA3D_GC_SBACK_1, // User 2
26  RNA3D_GC_SBACK_2, // Probe
27  RNA3D_GC_SBACK_3, // Primer (local)
28  RNA3D_GC_SBACK_4, // Primer (region)
29  RNA3D_GC_SBACK_5, // Primer (global)
30  RNA3D_GC_SBACK_6, // Signature (local)
31  RNA3D_GC_SBACK_7, // Signature (region)
32  RNA3D_GC_SBACK_8, // Signature (global)
33 
34  RNA3D_GC_CBACK_0, // Ranges for SAI visualization
44 
50 
52 };
53 
54 struct RNA3D_Graphics : public AWT_nonDB_graphic, virtual Noncopyable {
57 
58  RNA3D_Graphics(AW_root *aw_root, GBDATA *gb_main);
60 
62 
63  void show(AW_device *device) OVERRIDE;
64  void paint(AW_device *device);
65  void handle_command(AW_device *, AWT_graphic_event&) OVERRIDE {}
66 };
67 
68 #else
69 #error RNA3D_Graphics.hxx included twice
70 #endif
void paint(AW_device *device)
~RNA3D_Graphics() OVERRIDE
AW_gc_manager * init_devices(AW_window *, AW_device *, AWT_canvas *scr) OVERRIDE
RNA3D_Graphics(AW_root *aw_root, GBDATA *gb_main)
void handle_command(AW_device *, AWT_graphic_event &) OVERRIDE
void show(AW_device *device) OVERRIDE
#define OVERRIDE
Definition: cxxforward.h:112