ARB
Classes | Macros | Typedefs | Enumerations | Functions
awt_canvas.hxx File Reference
#include <aw_window.hxx>
#include <aw_device.hxx>
#include <aw_device_click.hxx>
#include <attributes.h>
#include <arb_assert.h>
Include dependency graph for awt_canvas.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AWT_graphic_exports
 
class  AWT_graphic_event
 
class  AWT_graphic
 
class  AWT_nonDB_graphic
 
class  AWT_canvas
 
class  AWT_auto_refresh
 

Macros

#define awt_assert(cond)   arb_assert(cond)
 
#define STANDARD_PADDING   10
 
#define EPS   0.0001
 
#define CLIP_OVERLAP   15
 
#define AWT_ZOOM_OUT_STEP   40
 
#define AWT_MIN_WIDTH   100
 
#define assert_no_auto_refresh_for(CANVAS)   awt_assert(!(CANVAS)->inside_auto_refresh())
 

Typedefs

typedef void(* screen_update_callback )(AWT_canvas *, AW_CL cd)
 

Enumerations

enum  AWT_COMMAND_MODE {
  AWT_MODE_NONE, AWT_MODE_EMPTY, AWT_MODE_ZOOM, AWT_MODE_SELECT,
  AWT_MODE_INFO, AWT_MODE_SETROOT, AWT_MODE_MOVE, AWT_MODE_MARK,
  AWT_MODE_GROUP, AWT_MODE_LZOOM, AWT_MODE_SWAP, AWT_MODE_ROTATE,
  AWT_MODE_LINE, AWT_MODE_WWW, AWT_MODE_SPREAD, AWT_MODE_LENGTH,
  AWT_MODE_MULTIFURC, AWT_MODE_KERNINGHAN, AWT_MODE_NNI, AWT_MODE_OPTIMIZE,
  AWT_MODE_FOLD, AWT_MODE_CURSOR, AWT_MODE_EDIT, AWT_MODE_PINFO,
  AWT_MODE_STRETCH, AWT_MODE_SET_CURSOR
}
 
enum  AWT_zoom_mode { AWT_ZOOM_NEVER = 0, AWT_ZOOM_X = 1, AWT_ZOOM_Y = 2, AWT_ZOOM_BOTH = 3 }
 
enum  AWT_fit_mode {
  AWT_FIT_NEVER, AWT_FIT_LARGER, AWT_FIT_SMALLER, AWT_FIT_X,
  AWT_FIT_Y
}
 

Functions

void AWT_expose_cb (UNFIXED, AWT_canvas *scr)
 
void AWT_resize_cb (UNFIXED, AWT_canvas *scr)
 
void AWT_GC_changed_cb (GcChange whatChanged, AWT_canvas *scr)
 
void AWT_popup_tree_export_window (AW_window *parent_win, AWT_canvas *scr)
 
void AWT_popup_sec_export_window (AW_window *parent_win, AWT_canvas *scr)
 
void AWT_popup_print_window (AW_window *parent_win, AWT_canvas *scr)
 

Macro Definition Documentation

#define awt_assert (   cond)    arb_assert(cond)
#define STANDARD_PADDING   10
#define EPS   0.0001

Definition at line 291 of file awt_canvas.hxx.

Referenced by AWT_canvas::instant_zoom_reset(), and AWT_canvas::zoom().

#define CLIP_OVERLAP   15

Definition at line 292 of file awt_canvas.hxx.

Referenced by AWT_canvas::scroll().

#define AWT_ZOOM_OUT_STEP   40

Definition at line 293 of file awt_canvas.hxx.

#define AWT_MIN_WIDTH   100

Definition at line 294 of file awt_canvas.hxx.

Referenced by AWT_canvas::instant_zoom_reset().

#define assert_no_auto_refresh_for (   CANVAS)    awt_assert(!(CANVAS)->inside_auto_refresh())

Typedef Documentation

typedef void(* screen_update_callback)(AWT_canvas *, AW_CL cd)

Definition at line 296 of file awt_canvas.hxx.

Enumeration Type Documentation

Enumerator
AWT_MODE_NONE 
AWT_MODE_EMPTY 
AWT_MODE_ZOOM 
AWT_MODE_SELECT 
AWT_MODE_INFO 
AWT_MODE_SETROOT 
AWT_MODE_MOVE 
AWT_MODE_MARK 
AWT_MODE_GROUP 
AWT_MODE_LZOOM 
AWT_MODE_SWAP 
AWT_MODE_ROTATE 
AWT_MODE_LINE 
AWT_MODE_WWW 
AWT_MODE_SPREAD 
AWT_MODE_LENGTH 
AWT_MODE_MULTIFURC 
AWT_MODE_KERNINGHAN 
AWT_MODE_NNI 
AWT_MODE_OPTIMIZE 
AWT_MODE_FOLD 
AWT_MODE_CURSOR 
AWT_MODE_EDIT 
AWT_MODE_PINFO 
AWT_MODE_STRETCH 
AWT_MODE_SET_CURSOR 

Definition at line 25 of file awt_canvas.hxx.

Enumerator
AWT_ZOOM_NEVER 
AWT_ZOOM_X 
AWT_ZOOM_Y 
AWT_ZOOM_BOTH 

Definition at line 75 of file awt_canvas.hxx.

Enumerator
AWT_FIT_NEVER 
AWT_FIT_LARGER 
AWT_FIT_SMALLER 
AWT_FIT_X 
AWT_FIT_Y 

Definition at line 82 of file awt_canvas.hxx.

Function Documentation

void AWT_expose_cb ( UNFIXED  ,
AWT_canvas scr 
)
void AWT_resize_cb ( UNFIXED  ,
AWT_canvas scr 
)
void AWT_GC_changed_cb ( GcChange  whatChanged,
AWT_canvas scr 
)
void AWT_popup_tree_export_window ( AW_window parent_win,
AWT_canvas scr 
)
void AWT_popup_sec_export_window ( AW_window parent_win,
AWT_canvas scr 
)
void AWT_popup_print_window ( AW_window parent_win,
AWT_canvas scr 
)