ARB
Public Member Functions | Public Attributes | Friends | List of all members
AWT_graphic_exports Class Reference

#include <awt_canvas.hxx>

Collaboration diagram for AWT_graphic_exports:
Collaboration graph
[legend]

Public Member Functions

void init ()
 
bool inside_auto_refresh () const
 
bool inside_update () const
 
bool flags_clearable () const
 
bool flags_writeable () const
 
intget_modifying_flag_ref ()
 
void clear_refresh_request ()
 
void clear_resize_request ()
 
void clear_zoom_reset_request ()
 
void clear_structure_update_request ()
 
void clear_save_request ()
 
void request_refresh ()
 
void request_resize ()
 
void request_zoom_reset ()
 
void request_structure_update ()
 
void request_save ()
 
void request_save_and_zoom_reset ()
 
bool needs_structure_update () const
 
bool needs_save () const
 
void update_display_as_requested (AWT_canvas *scr, bool perform_refresh)
 
void set_default_padding (int t, int b, int l, int r)
 
void set_equilateral_default_padding (int pad)
 
void set_standard_default_padding ()
 
void set_extra_text_padding (const AW_borders &text_padding)
 
int get_x_padding () const
 
int get_y_padding () const
 
int get_top_padding () const
 
int get_left_padding () const
 
AW::Vector zoomVector (double transToFit) const
 

Public Attributes

AWT_zoom_mode zoom_mode
 
AWT_fit_mode fit_mode
 
unsigned int dont_scroll: 1
 

Friends

class AWT_auto_refresh
 

Detailed Description

Definition at line 101 of file awt_canvas.hxx.

Member Function Documentation

void AWT_graphic_exports::init ( )

Definition at line 42 of file AWT_canvas.cxx.

References AWT_FIT_LARGER, and AWT_ZOOM_BOTH.

Referenced by AWT_graphic::AWT_graphic().

bool AWT_graphic_exports::inside_auto_refresh ( ) const
inline

Definition at line 134 of file awt_canvas.hxx.

Referenced by flags_writeable(), and AWT_canvas::inside_auto_refresh().

bool AWT_graphic_exports::inside_update ( ) const
inline

Definition at line 135 of file awt_canvas.hxx.

Referenced by flags_clearable(), and flags_writeable().

bool AWT_graphic_exports::flags_clearable ( ) const
inline
bool AWT_graphic_exports::flags_writeable ( ) const
inline
int& AWT_graphic_exports::get_modifying_flag_ref ( )
inline
void AWT_graphic_exports::clear_refresh_request ( )
inline

Definition at line 146 of file awt_canvas.hxx.

References awt_assert, and flags_clearable().

Referenced by AWT_auto_refresh::suppress_update_and_refresh().

void AWT_graphic_exports::clear_resize_request ( )
inline

Definition at line 147 of file awt_canvas.hxx.

References awt_assert, and flags_clearable().

Referenced by AWT_auto_refresh::suppress_update_and_refresh().

void AWT_graphic_exports::clear_zoom_reset_request ( )
inline

Definition at line 148 of file awt_canvas.hxx.

References awt_assert, and flags_clearable().

Referenced by AWT_auto_refresh::suppress_update_and_refresh().

void AWT_graphic_exports::clear_structure_update_request ( )
inline

Definition at line 149 of file awt_canvas.hxx.

References awt_assert, and flags_clearable().

Referenced by AWT_auto_refresh::suppress_update_and_refresh().

void AWT_graphic_exports::clear_save_request ( )
inline

Definition at line 150 of file awt_canvas.hxx.

References awt_assert, and flags_clearable().

void AWT_graphic_exports::request_refresh ( )
inline
void AWT_graphic_exports::request_resize ( )
inline
void AWT_graphic_exports::request_zoom_reset ( )
inline
void AWT_graphic_exports::request_structure_update ( )
inline
void AWT_graphic_exports::request_save ( )
inline
void AWT_graphic_exports::request_save_and_zoom_reset ( )
inline
bool AWT_graphic_exports::needs_structure_update ( ) const
inline

Definition at line 162 of file awt_canvas.hxx.

Referenced by AWT_graphic_tree::fast_sync_changed_folding().

bool AWT_graphic_exports::needs_save ( ) const
inline

Definition at line 163 of file awt_canvas.hxx.

Referenced by AWT_graphic_tree::fast_sync_changed_folding().

void AWT_graphic_exports::update_display_as_requested ( AWT_canvas scr,
bool  perform_refresh 
)
inline
void AWT_graphic_exports::set_default_padding ( int  t,
int  b,
int  l,
int  r 
)
inline
void AWT_graphic_exports::set_equilateral_default_padding ( int  pad)
inline

Definition at line 176 of file awt_canvas.hxx.

References set_default_padding().

Referenced by set_standard_default_padding().

void AWT_graphic_exports::set_standard_default_padding ( )
inline
void AWT_graphic_exports::set_extra_text_padding ( const AW_borders text_padding)
inline
int AWT_graphic_exports::get_x_padding ( ) const
inline

Definition at line 186 of file awt_canvas.hxx.

References AW_screen_area::l, and AW_screen_area::r.

int AWT_graphic_exports::get_y_padding ( ) const
inline

Definition at line 187 of file awt_canvas.hxx.

References AW_screen_area::b, and AW_screen_area::t.

int AWT_graphic_exports::get_top_padding ( ) const
inline

Definition at line 188 of file awt_canvas.hxx.

References AW_screen_area::t.

int AWT_graphic_exports::get_left_padding ( ) const
inline

Definition at line 189 of file awt_canvas.hxx.

References AW_screen_area::l.

AW::Vector AWT_graphic_exports::zoomVector ( double  transToFit) const
inline

Definition at line 191 of file awt_canvas.hxx.

References AWT_ZOOM_X, and AWT_ZOOM_Y.

Friends And Related Function Documentation

friend class AWT_auto_refresh
friend

Definition at line 120 of file awt_canvas.hxx.

Member Data Documentation

AWT_zoom_mode AWT_graphic_exports::zoom_mode
AWT_fit_mode AWT_graphic_exports::fit_mode
unsigned int AWT_graphic_exports::dont_scroll

Definition at line 130 of file awt_canvas.hxx.

Referenced by AWT_graphic_tree::set_tree_style().


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