Public Member Functions | Protected Attributes | List of all members
GEN_graphic Class Reference

#include <GEN_graphic.hxx>

Inheritance diagram for GEN_graphic:
Inheritance graph
Collaboration diagram for GEN_graphic:
Collaboration graph

Public Member Functions

 GEN_graphic (AW_root *aw_root, GBDATA *gb_main, GEN_graphic_cb_installer callback_installer_, int window_nr_)
 ~GEN_graphic () OVERRIDE
void reinit_gen_root (AWT_canvas *scr, bool force_reinit)
void set_display_style (GEN_DisplayStyle type)
GEN_DisplayStyle get_display_style () const
AW_gc_managerinit_devices (AW_window *, AW_device *, AWT_canvas *scr) OVERRIDE
void show (AW_device *device) OVERRIDE
void handle_command (AW_device *device, AWT_graphic_event &event) OVERRIDE
void check_for_DB_update (GBDATA *gbdummy) OVERRIDE
AW_rootget_aw_root () const
GBDATAget_gb_main () const
const GEN_rootget_gen_root () const
AW_deviceget_device () const
- Public Member Functions inherited from AWT_nonDB_graphic
 AWT_nonDB_graphic ()
 ~AWT_nonDB_graphic () OVERRIDE
GB_ERROR load_from_DB (GBDATA *gb_main, const char *name) OVERRIDE __ATTR__USERESULT
GB_ERROR save_to_DB (GBDATA *gb_main, const char *name) OVERRIDE __ATTR__USERESULT
void notify_synchronized (GBDATA *gb_main) OVERRIDE
- Public Member Functions inherited from AWT_graphic
 AWT_graphic ()
virtual ~AWT_graphic ()
bool wants_drag_target () const
void drag_target_detection (bool detect)
int get_drag_gc () const

Protected Attributes

- Protected Attributes inherited from AWT_graphic
int drag_gc

Additional Inherited Members

- Public Attributes inherited from AWT_graphic
AWT_graphic_exports exports

Detailed Description

Definition at line 53 of file GEN_graphic.hxx.

Constructor & Destructor Documentation

GEN_graphic::GEN_graphic ( AW_root aw_root,
GBDATA gb_main,
GEN_graphic_cb_installer  callback_installer_,
int  window_nr_ 
GEN_graphic::~GEN_graphic ( )

Definition at line 45 of file GEN_graphic.cxx.

Member Function Documentation

void GEN_graphic::reinit_gen_root ( AWT_canvas scr,
bool  force_reinit 
void GEN_graphic::set_display_style ( GEN_DisplayStyle  type)
GEN_DisplayStyle GEN_graphic::get_display_style ( ) const

Definition at line 76 of file GEN_graphic.hxx.

Referenced by GEN_map_window_refresh_if_display_type(), and GEN_root::paint().

AW_gc_manager * GEN_graphic::init_devices ( AW_window aww,
AW_device device,
AWT_canvas scr 
void GEN_graphic::show ( AW_device device)

Implements AWT_graphic.

Definition at line 69 of file GEN_graphic.cxx.

References GEN_GC_DEFAULT, AW_device::line(), and GEN_root::paint().

void GEN_graphic::handle_command ( AW_device device,
AWT_graphic_event event 
void GEN_graphic::check_for_DB_update ( GBDATA gbdummy)

Reimplemented from AWT_nonDB_graphic.

Definition at line 83 of file GEN_graphic.cxx.

AW_root* GEN_graphic::get_aw_root ( ) const
GBDATA* GEN_graphic::get_gb_main ( ) const

Definition at line 86 of file GEN_graphic.hxx.

Referenced by GEN_gene_container_cb_installer(), and GEN_get_local_gene_data().

const GEN_root* GEN_graphic::get_gen_root ( ) const

Definition at line 87 of file GEN_graphic.hxx.

Referenced by GEN_jump_cb(), and reinit_NDS_4_window().

AW_device* GEN_graphic::get_device ( ) const

Definition at line 88 of file GEN_graphic.hxx.

References disp_device.

Referenced by GEN_jump_cb().

Member Data Documentation

AW_device* GEN_graphic::disp_device

Definition at line 67 of file GEN_graphic.hxx.

Referenced by get_device(), and init_devices().

The documentation for this class was generated from the following files: