Public Member Functions | List of all members
TREE_canvas Class Reference

#include <TreeDisplay.hxx>

Inheritance diagram for TREE_canvas:
Inheritance graph
Collaboration diagram for TREE_canvas:
Collaboration graph

Public Member Functions

 TREE_canvas (GBDATA *gb_main_, AW_window *aww_, const char *gc_base_name_, AWT_graphic *gfx_, AW_awar *awar_tree_)
void at_screen_update_call (screen_update_callback cb, AW_CL cd)
AWT_graphic_treeget_graphic_tree () const
AW_awarget_awar_tree () const
int get_index () const
- Public Member Functions inherited from AWT_canvas
void init_device (AW_device *device)
void set_scrollbars ()
void set_dragEndpoint (int x, int y)
void set_horizontal_scrollbar_position (AW_window *aww, int pos)
void set_vertical_scrollbar_position (AW_window *aww, int pos)
 AWT_canvas (GBDATA *gb_main_, AW_window *aww_, const char *gc_base_name_, AWT_graphic *gfx_)
virtual ~AWT_canvas ()
void push_transaction () const
void pop_transaction () const
bool inside_auto_refresh () const
void request_refresh ()
void request_resize ()
void request_zoom_reset ()
void request_structure_update ()
void request_save ()
void request_save_and_zoom_reset ()
void instant_refresh ()
void instant_resize (bool adjust_scrollbars)
void instant_zoom_reset ()
void set_consider_text_for_zoom_reset (bool consider)
void zoom (AW_device *device, bool zoomIn, const AW::Rectangle &wanted_part, const AW::Rectangle &current_part, int percent)
void set_mode (AWT_COMMAND_MODE mo)
void scroll (int delta_x, int delta_y, bool dont_update_scrollbars=false)
void scroll (const AW::Vector &delta, bool dont_update_scrollbars=false)
bool handleWheelEvent (AW_device *device, const AW_event &event)
const charget_gc_base_name () const
void sync_DB_model_and_view (bool perform_refresh)
void announce_screen_update ()
bool is_shown () const

Additional Inherited Members

- Public Attributes inherited from AWT_canvas
AW_pos trans_to_fit
AW_pos shift_x_to_fit
AW_pos shift_y_to_fit
int old_hor_scroll_pos
int old_vert_scroll_pos
AW_screen_area rect
AW_world worldinfo
AW_world worldsize
int zoom_drag_sx
int zoom_drag_sy
int zoom_drag_ex
int zoom_drag_ey
int drag
- Protected Attributes inherited from AWT_canvas
screen_update_callback announce_update_cb
AW_CL user_data

Detailed Description

Definition at line 723 of file TreeDisplay.hxx.

Constructor & Destructor Documentation

TREE_canvas::TREE_canvas ( GBDATA gb_main_,
AW_window aww_,
const char gc_base_name_,
AWT_graphic gfx_,
AW_awar awar_tree_ 

Definition at line 730 of file TreeDisplay.hxx.

Member Function Documentation

void TREE_canvas::at_screen_update_call ( screen_update_callback  cb,
AW_CL  cd 

Definition at line 736 of file TreeDisplay.hxx.

References AWT_canvas::announce_update_cb, cb, td_assert, and AWT_canvas::user_data.

Referenced by sync_changed_cb().

AWT_graphic_tree* TREE_canvas::get_graphic_tree ( ) const

Definition at line 743 of file TreeDisplay.hxx.

References DOWNCAST, and AWT_canvas::gfx.

Referenced by NT_reload_tree_event().

AW_awar* TREE_canvas::get_awar_tree ( ) const
int TREE_canvas::get_index ( ) const

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