ARB
|
#include <aw_device.hxx>
Public Member Functions | |
AW_stylable (AW_common *common_) | |
virtual | ~AW_stylable () |
AW_common * | get_common () const |
void | new_gc (int gc) |
void | set_grey_level (int gc, AW_grey_level grey_level) |
AW_grey_level | get_grey_level (int gc) |
void | set_font (int gc, AW_font fontnr, int size, int *found_size) |
void | set_line_attributes (int gc, short width, AW_linestyle style) |
void | set_function (int gc, AW_function function) |
void | establish_default (int gc) |
void | set_foreground_color (int gc, AW_color_idx color) |
int | get_string_size (int gc, long textlen) const |
int | get_string_size (int gc, const SizedCstr &cstr) const |
const AW_font_limits & | get_font_limits (int gc, char c) const |
int | get_available_fontsizes (int gc, AW_font font_nr, int *available_sizes) |
void | reset_style () |
Definition at line 290 of file aw_device.hxx.
|
inline |
Definition at line 293 of file aw_device.hxx.
|
inlinevirtual |
Definition at line 294 of file aw_device.hxx.
|
inline |
Definition at line 296 of file aw_device.hxx.
Referenced by establish_default(), AW_device::get_area_size(), get_available_fontsizes(), FINAL_TYPE< SEQTYPE >::get_common(), get_font_limits(), get_grey_level(), get_string_size(), new_gc(), AW_device::ready_to_draw(), AW_font_group::registerFont(), reset_style(), set_font(), set_foreground_color(), set_function(), set_grey_level(), set_line_attributes(), and AW_device::text_overlay().
void AW_stylable::new_gc | ( | int | gc | ) |
Definition at line 449 of file AW_device.cxx.
References get_common(), and AW_common::new_gc().
Referenced by AW_xfig::create_gcs().
void AW_stylable::set_grey_level | ( | int | gc, |
AW_grey_level | grey_level | ||
) |
Definition at line 450 of file AW_device.cxx.
References get_common(), AW_common::map_mod_gc(), and AW_GC_config::set_grey_level().
Referenced by BootstrapConfig::display_remark().
AW_grey_level AW_stylable::get_grey_level | ( | int | gc | ) |
Definition at line 454 of file AW_device.cxx.
References get_common(), AW_GC_config::get_grey_level(), and AW_common::map_gc().
Definition at line 458 of file AW_device.cxx.
References get_common(), AW_common::map_mod_gc(), and AW_GC::set_font().
Referenced by AW_xfig::create_gcs(), and AW_gc_manager::update_gc_font().
void AW_stylable::set_line_attributes | ( | int | gc, |
short | width, | ||
AW_linestyle | style | ||
) |
Definition at line 465 of file AW_device.cxx.
References get_common(), AW_common::map_mod_gc(), and AW_GC::set_line_attributes().
Referenced by AW_xfig::create_gcs(), IRS_data::draw_top_separator_once(), SAI_graphic::paint(), SEC_root::paint(), SEC_root::paintAnnotation(), SEC_root::paintBackgroundColor(), AW_xfig::print(), AWT_graphic_tree::set_line_attributes_for(), and AWT_graphic_tree::show_ruler().
void AW_stylable::set_function | ( | int | gc, |
AW_function | function | ||
) |
Definition at line 468 of file AW_device.cxx.
References get_common(), AW_common::map_mod_gc(), and AW_GC::set_function().
Referenced by AW_xfig::create_gcs().
void AW_stylable::establish_default | ( | int | gc | ) |
Definition at line 474 of file AW_device.cxx.
References AW_GC::establish_default(), get_common(), and AW_common::map_mod_gc().
void AW_stylable::set_foreground_color | ( | int | gc, |
AW_color_idx | color | ||
) |
Definition at line 471 of file AW_device.cxx.
References get_common(), AW_common::map_mod_gc(), and AW_GC::set_fg_color().
Referenced by AW_xfig::create_gcs(), and PH_display_status::PH_display_status().
Definition at line 443 of file AW_device.cxx.
References get_common(), AW_GC::get_string_size(), and AW_common::map_gc().
Referenced by SpeciesFlags::calculate_header_dimensions(), Column::init(), ED4_cursor::jump_screen_pos(), SEC_root::paintAnnotation(), EDB_root_bact::search_sequence_data_rek(), and AW_device::text_overlay().
Definition at line 446 of file AW_device.cxx.
References get_common(), AW_GC::get_string_size(), and AW_common::map_gc().
const AW_font_limits & AW_stylable::get_font_limits | ( | int | gc, |
char | c | ||
) | const |
Definition at line 399 of file AW_device.cxx.
References get_common(), and AW_common::get_font_limits().
Referenced by calc_text_coordinates_near_tip(), PH_display::display(), ED4_calc_terminal_extentions(), PH_display::initialize_display(), SAI_graphic::paint(), PH_display_status::PH_display_status(), and AWT_graphic_tree::show().
Definition at line 462 of file AW_device.cxx.
References AW_GC::get_available_fontsizes(), get_common(), and AW_common::map_gc().
void AW_stylable::reset_style | ( | ) |
Definition at line 477 of file AW_device.cxx.
References get_common(), and AW_common::reset_style().
Referenced by AWT_graphic_tree::show().