ARB
|
#include <aw_window.hxx>
#include <aw_device.hxx>
#include <aw_device_click.hxx>
#include <attributes.h>
#include <arb_assert.h>
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) |
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) |
#define awt_assert | ( | cond | ) | arb_assert(cond) |
Definition at line 20 of file awt_canvas.hxx.
Referenced by AWT_auto_refresh::AWT_auto_refresh(), AWT_graphic_exports::clear_refresh_request(), AWT_graphic_exports::clear_resize_request(), AWT_graphic_exports::clear_save_request(), AWT_graphic_exports::clear_structure_update_request(), AWT_graphic_exports::clear_zoom_reset_request(), AWT_graphic_exports::request_refresh(), AWT_graphic_exports::request_resize(), AWT_graphic_exports::request_save(), AWT_graphic_exports::request_save_and_zoom_reset(), AWT_graphic_exports::request_structure_update(), AWT_graphic_exports::request_zoom_reset(), AWT_graphic_exports::update_display_as_requested(), and AWT_auto_refresh::~AWT_auto_refresh().
#define STANDARD_PADDING 10 |
Definition at line 70 of file awt_canvas.hxx.
Referenced by AWT_graphic_tree::apply_zoom_settings_for_treetype(), and AWT_graphic_exports::set_standard_default_padding().
#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()) |
Definition at line 359 of file awt_canvas.hxx.
Referenced by GEN_jump_cb_auto(), AWT_canvas::instant_refresh(), AWT_canvas::instant_resize(), and AWT_graphic_exports::update_display_as_requested().
typedef void(* screen_update_callback)(AWT_canvas *, AW_CL cd) |
Definition at line 296 of file awt_canvas.hxx.
enum AWT_COMMAND_MODE |
Definition at line 25 of file awt_canvas.hxx.
enum AWT_zoom_mode |
Enumerator | |
---|---|
AWT_ZOOM_NEVER | |
AWT_ZOOM_X | |
AWT_ZOOM_Y | |
AWT_ZOOM_BOTH |
Definition at line 75 of file awt_canvas.hxx.
enum AWT_fit_mode |
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.
void AWT_expose_cb | ( | UNFIXED | , |
AWT_canvas * | scr | ||
) |
Definition at line 385 of file AWT_canvas.cxx.
References AWT_canvas::request_refresh().
Referenced by AWT_canvas::AWT_canvas(), and TREE_install_update_callbacks().
void AWT_resize_cb | ( | UNFIXED | , |
AWT_canvas * | scr | ||
) |
void AWT_GC_changed_cb | ( | GcChange | whatChanged, |
AWT_canvas * | scr | ||
) |
Definition at line 394 of file AWT_canvas.cxx.
References GC_COLOR_CHANGED, GC_COLOR_GROUP_USE_CHANGED, GC_FONT_CHANGED, AWT_canvas::request_refresh(), and AWT_canvas::request_resize().
Referenced by RNA3D_Graphics::init_devices(), GEN_graphic::init_devices(), SAI_graphic::init_devices(), and TREE_GC_changed_cb().
void AWT_popup_tree_export_window | ( | AW_window * | parent_win, |
AWT_canvas * | scr | ||
) |
Definition at line 765 of file AWT_canio.cxx.
References AW_create_standard_fileselection(), AW_HORIZONTAL, AW_POPDOWN(), AWAR_CANIO_CLIP, AWAR_CANIO_COLOR, AWAR_CANIO_FILE_BASE, AWAR_CANIO_HANDLES, canvas_to_xfig_and_run_xfig(), create_fig_export_awars(), AW_window::get_root(), makeHelpCallback(), NULp, and resetFiletype().
Referenced by pars_start_cb(), and popup_new_main_window().
void AWT_popup_sec_export_window | ( | AW_window * | parent_win, |
AWT_canvas * | scr | ||
) |
Definition at line 810 of file AWT_canio.cxx.
References AW_create_standard_fileselection(), AW_POPDOWN(), AWAR_CANIO_CLIP, AWAR_CANIO_COLOR, AWAR_CANIO_FILE_BASE, canvas_to_xfig_and_run_xfig(), create_fig_export_awars(), AW_window::get_root(), makeHelpCallback(), NULp, and resetFiletype().
Referenced by start_SECEDIT_plugin().
void AWT_popup_print_window | ( | AW_window * | parent_win, |
AWT_canvas * | scr | ||
) |
Definition at line 863 of file AWT_canio.cxx.
References ARRAY_ELEMS, AW_HORIZONTAL, AW_POPDOWN(), AWAR_CANIO_BORDERSIZE, AWAR_CANIO_CLIP, AWAR_CANIO_COLOR, AWAR_CANIO_DEST, AWAR_CANIO_F2DBUG, AWAR_CANIO_FILE_NAME, AWAR_CANIO_GFX_SX, AWAR_CANIO_GFX_SY, AWAR_CANIO_HANDLES, AWAR_CANIO_LANDSCAPE, AWAR_CANIO_MAGNIFICATION, AWAR_CANIO_OUT_SX, AWAR_CANIO_OUT_SY, AWAR_CANIO_OVERLAP, AWAR_CANIO_OVERLAP_PERCENT, AWAR_CANIO_PAGE_SX, AWAR_CANIO_PAGE_SY, AWAR_CANIO_PAGELOCK, AWAR_CANIO_PAGES, AWAR_CANIO_PAPER, AWAR_CANIO_PAPER_SX, AWAR_CANIO_PAPER_SY, AWAR_CANIO_PAPER_USABLE, AWAR_CANIO_PRINTER, awt_print_tree_check_size(), canvas_to_printer(), columns_changed_cb(), create_print_awars(), fit_pages_cb(), format(), PaperFormat::get_description(), AW_window::get_root(), makeHelpCallback(), NULp, PDEST_POSTSCRIPT, PDEST_PREVIEW, PDEST_PRINTER, resetFiletype(), and rows_changed_cb().
Referenced by pars_start_cb(), popup_new_main_window(), and start_SECEDIT_plugin().