ARB
|
#include <aw_window.hxx>
Public Member Functions | |
AW_window () | |
virtual | ~AW_window () |
const char * | window_local_awarname (const char *localname, bool tmp=true) |
class AW_awar * | window_local_awar (const char *localname, bool tmp=true) |
void | create_window_variables () |
void | recalc_pos_atShow (AW_PosRecalc pr) |
void | recalc_size_atShow (enum AW_SizeRecalc sr) |
AW_PosRecalc | get_recalc_pos_atShow () const |
void | reset_layout (const char *YYYYMMDD) |
void | allow_delete_window (bool allow_close) |
void | on_hide (const WindowCallback &call_on_hide) |
void | on_hide (WindowCallbackSimple call_on_hide) |
void | run_focus_callback () |
void | run_popup_callbacks () |
void | show_modal () |
void | set_window_title_intern (char *title) |
void | update_label (Widget widget, const char *var_value) |
void | update_toggle (Widget widget, const char *var_value, AW_CL cd) |
void | update_input_field (Widget widget, const char *var_value) |
void | update_text_field (Widget widget, const char *var_value) |
void | update_scaler (Widget widget, AW_awar *awar, AW_ScalerType scalerType) |
void | create_invisible (int columns) |
void * | _create_option_entry (AW_VARIABLE_TYPE type, const char *name, const char *mnemonic, const char *name_of_color) |
void | refresh_toggle_field (int toggle_field_number) |
void | _set_activate_callback (void *widget) |
void | increment_at_commands (int width, int height) |
AW_color_idx | alloc_named_data_color (int colnum, const char *colorname) |
void | _get_area_size (AW_area area, AW_screen_area *square) |
int | label_widget (void *wgt, AW_label str, char *mnemonic=NULp, int width=0, int alignment=0) |
AW_root * | get_root () |
void | show () |
void | hide () |
void | activate () |
bool | is_shown () const |
void | hide_or_notify (const char *error) |
void | message (char *title, int ms) |
void | set_window_title (const char *title) |
const char * | get_window_title () const |
const char * | get_window_id () const |
const char * | local_id (const char *id) const |
void | set_info_area_height (int height) |
void | set_bottom_area_height (int height) |
void | set_popup_callback (const WindowCallback &wcb) |
void | set_focus_callback (const WindowCallback &wcb) |
bool | is_focus_callback (AnyWinCB f) |
void | set_expose_callback (AW_area area, const WindowCallback &wcb) |
void | set_resize_callback (AW_area area, const WindowCallback &wcb) |
void | set_input_callback (AW_area area, const WindowCallback &wcb) |
void | set_motion_callback (AW_area area, const WindowCallback &wcb) |
void | set_double_click_callback (AW_area area, const WindowCallback &wcb) |
bool | is_expose_callback (AW_area area, AnyWinCB f) |
bool | is_resize_callback (AW_area area, AnyWinCB f) |
void | get_event (AW_event *eventi) const |
void | force_expose () |
AW_device * | get_device (AW_area area) |
AW_device_click * | get_click_device (AW_area area, int mousex, int mousey, int max_distance) |
AW_device_size * | get_size_device (AW_area area) |
AW_device_print * | get_print_device (AW_area area) |
AW_common * | get_common (AW_area area) |
void | create_menu (const char *name, const char *mnemonic, AW_active mask=AWM_ALL) |
void | insert_sub_menu (const char *name, const char *mnemonic, AW_active mask=AWM_ALL) |
void | insert_menu_topic (const char *id, const char *name, const char *mnemonic, const char *help_text_, AW_active mask, const WindowCallback &wcb) |
void | insert_menu_topic (const char *id, const char *name, const char *mnemonic, const char *help_text_, AW_active mask, const CreateWindowCallback &cwcb) |
void | insert_menu_topic (const char *id, const char *name, const char *mnemonic, const char *help_text_, AW_active mask, WindowCallbackSimple cb) |
void | insert_menu_topic (const char *id, const char *name, const char *mnemonic, const char *help_text_, AW_active mask, CreateWindowCallbackSimple cb) |
void | sep______________ () |
void | close_sub_menu () |
void | insert_help_topic (const char *labeli, const char *mnemonic, const char *helpText, AW_active mask, const WindowCallback &cb) |
void | insert_help_topic (const char *labeli, const char *mnemonic, const char *helpText, AW_active mask, WindowCallbackSimple cb) |
int | create_mode (const char *pixmap, const char *help_text_, AW_active mask, const WindowCallback &cb) |
void | select_mode (int mode) |
void | tell_scrolled_picture_size (AW_screen_area rectangle) |
void | tell_scrolled_picture_size (AW_world rectangle) |
AW_pos | get_scrolled_picture_width () const |
AW_pos | get_scrolled_picture_height () const |
void | reset_scrolled_picture_size () |
void | get_scrollarea_size (AW_screen_area *square) |
void | calculate_scrollbars () |
void | set_vertical_scrollbar_position (int position) |
void | set_horizontal_scrollbar_position (int position) |
void | set_vertical_change_callback (const WindowCallback &wcb) |
void | set_horizontal_change_callback (const WindowCallback &wcb) |
void | set_vertical_scrollbar_top_indent (int indent) |
void | set_horizontal_scrollbar_left_indent (int indent) |
void | update_scrollbar_settings_from_awars (AW_orientation orientation) |
void | create_user_geometry_awars (int posx, int posy, int width, int height) |
void | get_window_size (int &width, int &height) |
void | window_fit () |
void | load_xfig (const char *file, bool resize=true) |
void | draw_line (int x1, int y1, int x2, int y2, int width, bool resize) |
void | label_length (int length) |
void | button_length (int length) |
void | button_height (int height) |
int | get_button_length () const |
void | highlight () |
void | auto_increment (int dx, int dy) |
void | auto_space (int xspace, int yspace) |
void | shadow_width (int shadow_thickness) |
void | TuneBackground (Widget w, int modStrength) |
void | TuneOrSetBackground (Widget w, const char *color, int modStrength) |
void | at (int x, int y) |
void | at_x (int x) |
void | at_y (int y) |
void | at_shift (int x, int y) |
void | at_newline () |
void | at (const char *id) |
bool | at_ifdef (const char *id) |
void | label (const char *label) |
void | get_at_position (int *x, int *y) const |
int | get_at_xposition () const |
int | get_at_yposition () const |
void | dump_at_position (const char *debug_label) const |
void | at_attach (int x, int y) |
void | at_attach_to (bool attach_x, bool attach_y, int xoff, int yoff) |
void | at_unattach () |
void | unset_at_commands () |
void | store_at_to (AW_at_storage &storage) |
void | restore_at_from (const AW_at_storage &stored) |
void | sens_mask (AW_active mask) |
void | help_text (const char *id) |
void | callback (const WindowCallback &cb) |
void | callback (const CreateWindowCallback &cwcb) |
void | callback (CreateWindowCallbackSimple cb) |
void | callback (WindowCallbackSimple cb) |
void | d_callback (const WindowCallback &cb) |
void | create_button (const char *macro_name, AW_label label, const char *mnemonic=NULp, const char *color=NULp) |
void | create_autosize_button (const char *macro_name, AW_label label, const char *mnemonic=NULp, unsigned xtraSpace=1) |
Widget | get_last_widget () const |
void | create_toggle (const char *awar_name) |
void | create_inverse_toggle (const char *awar_name) |
void | create_toggle (const char *awar_name, const char *nobitmap, const char *yesbitmap, int buttonWidth=0) |
void | create_text_toggle (const char *var_name, const char *noText, const char *yesText, int buttonWidth=0) |
void | create_input_field (const char *awar_name, int columns=0) |
void | create_text_field (const char *awar_name, int columns=20, int rows=4) |
void | create_input_field_with_scaler (const char *awar_name, int textcolumns=4, int scaler_length=250, AW_ScalerType scalerType=AW_SCALER_LINEAR) |
AW_option_menu_struct * | create_option_menu (const char *awar_name) |
void | clear_option_menu (AW_option_menu_struct *oms) |
void | insert_option (AW_label choice_label, const char *mnemonic, const char *var_value, const char *name_of_color=NULp) |
void | insert_default_option (AW_label choice_label, const char *mnemonic, const char *var_value, const char *name_of_color=NULp) |
void | insert_option (AW_label choice_label, const char *mnemonic, int var_value, const char *name_of_color=NULp) |
void | insert_default_option (AW_label choice_label, const char *mnemonic, int var_value, const char *name_of_color=NULp) |
void | insert_option (AW_label choice_label, const char *mnemonic, float var_value, const char *name_of_color=NULp) |
void | insert_default_option (AW_label choice_label, const char *mnemonic, float var_value, const char *name_of_color=NULp) |
void | update_option_menu () |
void | refresh_option_menu (AW_option_menu_struct *) |
void | create_toggle_field (const char *awar_name, AW_label label, AW_orientation orientation=AW_VERTICAL) |
void | create_toggle_field (const char *awar_name, AW_orientation orientation=AW_VERTICAL) |
void | insert_toggle (AW_label toggle_label, const char *mnemonic, const char *var_value) |
void | insert_default_toggle (AW_label toggle_label, const char *mnemonic, const char *var_value) |
void | insert_toggle (AW_label toggle_label, const char *mnemonic, int var_value) |
void | insert_default_toggle (AW_label toggle_label, const char *mnemonic, int var_value) |
void | insert_toggle (AW_label toggle_label, const char *mnemonic, float var_value) |
void | insert_default_toggle (AW_label toggle_label, const char *mnemonic, float var_value) |
void | update_toggle_field () |
AW_selection_list * | create_selection_list (const char *awar_name, int columns, int rows) |
AW_selection_list * | create_selection_list (const char *awar_name) |
Static Public Member Functions | |
static WindowCallback | makeWindowPopper (const CreateWindowCallback &cwcb) |
static WindowCallback | makeWindowReplacer (const CreateWindowCallback &cwcb) |
Public Attributes | |
AW_event | event |
unsigned long | click_time |
long | color_table_size |
AW_rgb * | color_table |
int | number_of_timed_title_changes |
AW_window_Motif * | p_w |
AW_cb * | _callback |
AW_cb * | _d_callback |
char * | window_name |
char * | window_defaults_name |
window title More... | |
int | slider_pos_vertical |
window id More... | |
int | slider_pos_horizontal |
current position of the vertical slider More... | |
bool | window_is_shown |
current position of the horizontal slider More... | |
AW_screen_area * | picture |
Protected Member Functions | |
void | create_devices () |
void | set_background (const char *colorname, Widget w) |
void | wm_activate () |
Protected Attributes | |
AW_root * | root |
Definition at line 245 of file aw_window.hxx.
AW_window::AW_window | ( | ) |
Definition at line 1092 of file AW_window.cxx.
References reset_scrolled_picture_size().
|
virtual |
Definition at line 1121 of file AW_window.cxx.
|
protected |
Definition at line 2124 of file AW_window.cxx.
References AW_window_Motif::areas, AW_BOTTOM_AREA, AW_INFO_AREA, AW_MIDDLE_AREA, AW_WINDOW_DRAG, AW_WINDOW_FG, AW_area_management::create_devices(), AW_area_management::get_area(), NULp, p_global, and p_w.
Referenced by AW_window_menu_modes_opengl::init(), AW_window_menu_modes::init(), AW_window_menu::init(), and AW_window_simple_menu::init().
Definition at line 3119 of file AW_window.cxx.
References AW_at::background_color, NULp, and p_global.
Referenced by TuneBackground(), and TuneOrSetBackground().
|
protected |
Definition at line 3052 of file AW_window.cxx.
References fputs(), NULp, p_w, and AW_window_Motif::shell.
Referenced by activate().
Definition at line 964 of file AW_window.cxx.
References buffer, CONSTEXPR, GBS_global_string_to_buffer(), MAXNAMELEN, and window_defaults_name.
Referenced by create_window_variables(), and window_local_awar().
Definition at line 973 of file AW_window.cxx.
References AW_root::awar(), get_root(), and window_local_awarname().
Referenced by update_scrollbar_settings_from_awars().
void AW_window::create_window_variables | ( | ) |
Definition at line 977 of file AW_window.cxx.
References AW_awar::add_callback(), AW_root::awar_int(), get_root(), horizontal_scrollbar_redefinition_cb(), vertical_scrollbar_redefinition_cb(), and window_local_awarname().
Referenced by AW_window_menu_modes_opengl::init(), AW_window_menu_modes::init(), and AW_window_menu::init().
void AW_window::recalc_pos_atShow | ( | AW_PosRecalc | pr | ) |
Definition at line 1444 of file AW_window.cxx.
Referenced by aw_create_shell(), AW_cb::run_callbacks(), and show_modal().
void AW_window::recalc_size_atShow | ( | enum AW_SizeRecalc | sr | ) |
Definition at line 1452 of file AW_window.cxx.
References AW_RESIZE_ANY, AW_RESIZE_DEFAULT, and AW_RESIZE_USER.
Referenced by aw_create_shell(), draw_line(), load_xfig(), and merge_startup_error_window().
AW_PosRecalc AW_window::get_recalc_pos_atShow | ( | ) | const |
Definition at line 1448 of file AW_window.cxx.
Referenced by AW_cb::run_callbacks().
void AW_window::reset_layout | ( | const char * | YYYYMMDD | ) |
Definition at line 3272 of file AW_window.cxx.
References aw_assert, and root.
Referenced by create_helix_props_window(), and SEC_create_bonddef_window().
void AW_window::allow_delete_window | ( | bool | allow_close | ) |
Definition at line 1643 of file AW_window.cxx.
References aw_set_delete_window_cb(), p_w, and AW_window_Motif::shell.
void AW_window::on_hide | ( | const WindowCallback & | call_on_hide | ) |
Definition at line 1850 of file AW_window.cxx.
Referenced by DBUI::init_info_window().
|
inline |
void AW_window::run_focus_callback | ( | ) |
Definition at line 1465 of file AW_window.cxx.
References AW_cb::run_callbacks().
Referenced by AW_focusCB().
void AW_window::run_popup_callbacks | ( | ) |
Definition at line 1476 of file AW_window.cxx.
References p_w, AW_window_Motif::popup_cb, and AW_cb::run_callbacks().
Referenced by show().
void AW_window::show_modal | ( | ) |
Definition at line 1829 of file AW_window.cxx.
References activate(), AW_REPOS_TO_MOUSE, AW_root::current_modal_window, get_root(), and recalc_pos_atShow().
Referenced by aw_input(), and aw_question().
void AW_window::set_window_title_intern | ( | char * | title | ) |
Definition at line 1065 of file AW_window.cxx.
References NULp, p_w, and AW_window_Motif::shell.
Referenced by timed_window_title_cb().
Definition at line 740 of file AW_button.cxx.
References AW_root::changer_of_variable, get_root(), NULp, and RES_CONVERT.
Referenced by aw_cp_awar_2_widget_cb(), and AW_label_in_awar_list().
Definition at line 758 of file AW_button.cxx.
References aw_toggle_data::bitmapOrText, aw_toggle_data::isTextToggle, NULp, pixmapPath(), and RES_CONVERT.
Referenced by aw_cp_awar_2_widget_cb().
Definition at line 984 of file AW_button.cxx.
References NULp.
Referenced by aw_cp_awar_2_widget_cb().
Definition at line 1118 of file AW_button.cxx.
References NULp.
Referenced by aw_cp_awar_2_widget_cb().
void AW_window::update_scaler | ( | Widget | widget, |
AW_awar * | awar, | ||
AW_ScalerType | scalerType | ||
) |
Definition at line 1187 of file AW_button.cxx.
References calculate_scaler_value(), and NULp.
Referenced by aw_cp_awar_2_widget_cb().
void AW_window::create_invisible | ( | int | columns | ) |
void * AW_window::_create_option_entry | ( | AW_VARIABLE_TYPE | type, |
const char * | name, | ||
const char * | mnemonic, | ||
const char * | name_of_color | ||
) |
Definition at line 163 of file AW_option_toggle.cxx.
References aw_assert, AW_label_in_awar_list(), AW_at::background_color, AW_option_menu_struct::menu_widget, NULp, p_global, RES_CONVERT, TUNE_BUTTON, TuneOrSetBackground(), type, and AW_option_menu_struct::variable_type.
void AW_window::refresh_toggle_field | ( | int | toggle_field_number | ) |
Definition at line 505 of file AW_option_toggle.cxx.
References aw_assert, AW_root::awar(), AW_toggle_field_struct::correct_for_at_center_intern, AW_toggle_field_struct::default_toggle, AW_toggle_field_struct::first_toggle, GBK_terminatef(), if, increment_at_commands(), length, AW_widget_value_pair::next, AW_toggle_field_struct::next, NULp, p_global, p_w, root, AW_at::saved_x, AW_at::saved_xoff_for_label, short, AW_window_Motif::toggle_field, AW_toggle_field_struct::toggle_field_number, AW_window_Motif::toggle_label, unset_at_commands(), AW_widget_value_pair::value, and AW_toggle_field_struct::variable_name.
Referenced by aw_cp_awar_2_widget_cb(), and update_toggle_field().
void AW_window::_set_activate_callback | ( | void * | widget | ) |
Definition at line 3105 of file AW_window.cxx.
References _callback, AW_server_callback(), AW_cb::help_text, AW_at::helptext_for_next_button, and NULp.
Referenced by create_button().
Definition at line 234 of file AW_at.cxx.
References at_shift(), AW_at::auto_increment_x, AW_at::auto_space_x, AW_at::biggest_height_of_buttons, AW_at::do_auto_increment, AW_at::do_auto_space, AW_root::font_width, get_root(), AW_at::max_x_size, AW_at::max_y_size, AW_at::x_for_next_button, and AW_at::y_for_next_button.
Referenced by create_button(), create_input_field(), create_input_field_with_scaler(), create_selection_list(), create_text_field(), refresh_toggle_field(), and update_option_menu().
AW_color_idx AW_window::alloc_named_data_color | ( | int | colnum, |
const char * | colorname | ||
) |
Definition at line 2071 of file AW_window.cxx.
References ARB_alloc(), ARB_realloc(), AW_window_Motif::areas, AW_DATA_BG, aw_message(), AW_MIDDLE_AREA, AW_NO_COLOR, AW_STD_COLOR_IDX_MAX, color_table, color_table_size, GBS_global_string(), AW_area_management::get_area(), NULp, p_global, and p_w.
void AW_window::_get_area_size | ( | AW_area | area, |
AW_screen_area * | square | ||
) |
Definition at line 862 of file AW_window.cxx.
References AW_area_management::get_common(), AW_common::get_screen(), and MAP_ARAM.
Referenced by get_scrollarea_size(), and ED4_window::update_window_coords().
int AW_window::label_widget | ( | void * | wgt, |
AW_label | str, | ||
char * | mnemonic = NULp , |
||
int | width = 0 , |
||
int | alignment = 0 |
||
) |
Referenced by create_button(), create_input_field(), and create_text_field().
|
inline |
Definition at line 359 of file aw_window.hxx.
References root.
Referenced by _aw_create_toggle_entry(), accept_selected_ref_db(), ad_move_tree_info(), add_boolrule_cb(), add_field_cb(), add_probe_to_collection_event(), add_rule_cb(), add_selected_cb(), aed_start_naligning(), AP_calc_pos_var_pars(), AP_user_pop_cb(), AP_user_push_cb(), aw_clear_message_cb(), aw_create_color_chooser_window(), AW_create_fileselection(), aw_create_font_chooser_window(), aw_create_shell(), AW_forget_all_window_geometry(), aw_help_back(), aw_help_browse(), aw_help_edit_help(), AW_help_entry_pressed(), aw_help_history(), aw_help_search(), AW_label_in_awar_list(), aw_message_save_cb(), aw_onExpose_calc_WM_offsets(), AW_popup_gc_color_groups_window(), AW_popup_gc_color_range_window(), AW_popup_namesadmin_window(), AW_preset_create_color_button(), AW_preset_create_font_chooser(), AW_save_specific_properties(), AW_server_callback(), aw_set_color(), aw_status_hide(), aw_status_kill(), aw_window_destroy_cb(), AW_xfigCB_info_area(), awt_aps_go(), awt_aps_set_magnification_to_fit_xpage(), awt_aps_set_magnification_to_fit_ypage(), AWT_create_mask_submenu(), awt_create_PTSERVER_selection_button(), AWT_input_mask_browse_url(), AWT_insert_DBcompression_selector(), AWT_insert_DBsaveType_selector(), awt_open_input_mask(), awt_openDefaultURL_on_selected_species(), AWT_openURL(), AWT_popup_print_window(), AWT_popup_sec_export_window(), AWT_popup_tree_export_window(), awt_rename_cb(), awt_www_select_change(), awtc_move_hits(), awtc_nn_search_all_listed(), AWTI_activate_export_test_window(), AWTI_activate_import_test_window(), bindAdmin(), build_reverse_complement(), buildClrTransTabNamesList(), QUERY::DbQuery::buildQueryExpr(), calc_and_update_alignment_errors_cb(), calculate_clusters(), PH_filter::calculate_column_homology(), calculate_preserves_cb(), calculate_sai_cb(), canvas_to_printer(), canvas_to_xfig_and_run_xfig(), Change3DMolecule(), change_reference_cb(), clear_all_colors_cb(), clear_comment_cb(), clear_field_cb(), clear_input_cb(), clear_itarget(), clear_probe_collection_event(), clear_references_cb(), colorize_marked_cb(), colorize_queried_cb(), colstat_2_gnuplot_cb(), columns_changed_cb(), CON_calc_max_freq_cb(), CON_calculate_cb(), concatenateAlignments(), config_rename_cb(), FINAL_TYPE< SEQTYPE >::configure_active_plugin_cb(), copy_SAI_cb(), copy_SAI_to_species_cb(), QUERY::copy_selection_list_2_query_box(), QUERY::count_queried_items(), create_autosize_button(), create_button(), create_color_button(), create_config_manager_window(), create_consense_tree_cb(), AW_area_management::create_devices(), create_input_field(), create_itemfield_selection_button(), create_itemfield_selection_list(), create_new_input_mask(), create_new_mask_cb(), create_option_menu(), create_primer_design_result_window(), create_print_box_for_selection_lists(), QUERY::create_query_box(), create_toggle_field(), create_user_geometry_awars(), create_window_variables(), createCopy_ClrTransTab_cb(), createSelectionList(), TreeAdmin::current_as_dest_treename_cb(), QUERY::DbQuery_update_list(), del_boolrule_cb(), del_reference_cb(), delete_clusters(), delete_macro_cb(), delete_queried_species_cb(), delete_SAI_cb(), TreeAdmin::delete_tree_cb(), deleteColorTranslationTable(), detect_input_format_cb(), di_autodetect_callback(), di_calculate_compressed_matrix_cb(), di_calculate_full_matrix_cb(), di_calculate_tree_cb(), DI_create_matrix_window(), DI_create_view_matrix_window(), di_define_compression_tree_name_cb(), di_define_save_tree_name_cb(), di_define_sort_tree_name_cb(), di_exit(), di_mark_by_distance(), di_save_matrix_cb(), di_view_matrix_cb(), di_view_set_max_dist(), disable_test_export(), PH_display::display(), dot_missing_bases(), ED4_get_and_jump_to_selected_SAI(), ED4_jump_to_cursor_position(), ed4_nds_select_change(), ED4_popup_detect_bad_alignment_window(), ED4_popup_dot_missing_bases_window(), ED4_popup_gc_window(), ED4_popup_helix_or_pfold_window(), ED4_popup_search_window(), ED4_saveConfiguration(), ED4_set_helixnr(), ED4_start_editor_on_configuration(), ED4_start_plugin(), ed_calltexe_event(), ed_save_var_to_file(), ed_submit_gen_event(), ed_submit_info_event(), ed_submit_parse_event(), edit_macro_cb(), edit_SAI_description(), editRuleset_cb(), ED4_terminal::event_sent_by_parent(), exec_macro_cb(), EXP_open_mask_window(), experiment_copy_cb(), experiment_create_cb(), experiment_delete_cb(), experiment_rename_cb(), export_go_cb(), export_nds_cb(), extended_rename_cb(), FastAligner_start(), field_convert_commit_cb(), field_create_cb(), field_delete_cb(), file_selection_cb(), fit_pages_cb(), FormatTester::FormatTester(), GDE_popup_filename_browser(), GDE_startaction_cb(), GEN_mode_event(), GEN_open_mask_window(), GEN_set_display_style(), gene_copy_cb(), gene_create_cb(), gene_delete_cb(), gene_rename_cb(), ED4_root::generate_window(), QUERY::DbQuery::get_tree_name(), hide(), hide_field_cb(), ArbImporter::import_and_continueOnSuccess(), increment_at_commands(), input_cb(), input_history_cb(), insdel_event(), insdel_sai_event(), insert_color_collapse_submenu(), insert_interruption_to_macro_cb(), insert_macro_menu_entry(), AW_cb::is_equal(), jump_to_next_helix_cb(), Label::Label(), load_list_cb(), load_probe_collection(), load_xfig(), loadsave_colorset_cb(), lower_reference_cb(), TreeAdmin::make_dest_treename_unique_cb(), mark_action(), mark_colored_cb(), mark_queried_cb(), merge_from_cb(), merge_into_cb(), mergeSimilarSpecies(), message(), mg_check_field_cb(), MG_config_delete_cb(), MG_create_merge_species_window(), MG_delete_selected_field_def(), MG_exit(), MG_extended_delete_cb(), MG_merge_tagged_field_cb(), MG_save_cb(), MG_save_quick_result_cb(), MG_transfer_config(), MG_transfer_extended(), mg_transfer_listed_species(), mg_transfer_selected_species(), MG_transfer_species(), MG_transfer_tree(), mod_boolrule_cb(), modify_fields_of_queried_cb(), modify_probe_event(), modify_target_string(), modsai_cb(), move_field_cb(), move_species_to_extended(), MP_new_sequence(), multifurcation_cb(), NDS_popup_select_srtaci_window(), normalize_matrix_cb(), NT_create_sai_from_pfold(), NT_create_twoTreeSelection(), NT_database_optimization(), nt_delete_configuration(), nt_delete_database(), NT_exit(), NT_import_sequences(), nt_intro_start_existing(), nt_intro_start_import(), nt_intro_start_merge(), NT_jump_cb(), NT_open_mask_window(), NT_popup_configuration_admin(), nt_rename_configuration(), NT_resort_data_by_user_criteria(), NT_save_as_cb(), NT_save_quick_as_cb(), NT_save_quick_cb(), NT_select_bottom_tree(), nt_start_2nd_arb(), nt_start_editor_on_configuration(), NT_start_editor_on_tree(), NT_toggle_expert_mode(), NT_toggle_focus_policy(), NT_update_marked_counter(), ok_pressed(), pars_exit(), pars_reset_optimal_parsimony(), pars_start_cb(), pd_export_pt_server(), pd_kill_pt_server(), pd_query_pt_server(), pd_start_pt_server(), perform_query_cb(), RefEntries::perform_refentries(), PH_create_ml_multiline_SAI(), ph_exit(), PH_save_ml_cb(), PH_save_ml_multiline_cb(), ph_view_species_cb(), popup_detached_experiment_window(), popup_detached_gene_window(), popup_detached_speciesOrganismWindow(), AWT_configuration::popup_edit_window(), popup_field_selection(), popup_gene_location_editor(), popup_group_clusters_window(), popup_group_search_window(), popup_interrupt_macro_window_cb(), popup_macro_window(), popup_match_window_cb(), popup_probe_design_result_window(), popup_tree_admin_window(), popupSaiProbeMatchWindow(), primer_design_event_check_gc_factor(), primer_design_event_check_temp_factor(), primer_design_event_go(), primer_design_event_init(), probe_design_event(), probe_forget_matches_event(), probe_match_all_event(), PV_RefreshProtViewDisplay(), query_count_items(), raise_reference_cb(), randomMixTree(), realign_event(), refresh_option_menu(), remove_probe_from_collection_event(), rename_both_databases(), rename_SAI_cb(), reorder_configs_cb(), reorder_keys(), reorder_trees_cb(), reorder_up_down(), FINAL_TYPE< SEQTYPE >::reset_phasing_cb(), reverseColorTranslationTable(), rootsync_subsetTrees_vs_selected(), rows_changed_cb(), AW_cb::run_callbacks(), run_help_cb(), SAI_popup_calculator_window(), save_list_cb(), save_probe_collection(), QUERY::search_duplicated_field_content(), sec_mode_event(), SEC_sync_colors(), selectValidNameFromList(), set_field_of_queried_cb(), set_focus_policy(), set_protection_of_queried_cb(), show(), show_modal(), sina_select_ref_db(), sina_start(), sort_keys(), species_copy_cb(), species_delete_cb(), species_rename_cb(), species_rename_join(), split_ali_cb(), sq_calc_seq_quality_cb(), st_check_cb(), st_ok_cb(), st_remove_entries_cb(), start_macro_cb(), startup_sequence_cb(), store_clusters(), swap_source_dest_cb(), SynchronizeColorsWithEditor(), test_references_cb(), toggle_flag_cb(), trackAlignmentChanges(), transfer_field_of_listed_cb(), transfer_field_of_selected_cb(), transpro_event(), TREE_auto_jump_cb(), TreeAdmin::tree_copy_or_rename_cb(), tree_load_cb(), tree_save_cb(), update_label(), update_restore_label(), update_toggle_field(), use_editor_range_cb(), use_selected_as_target_cb(), useSelectedAlignment(), window_local_awar(), and XFER_select_RuleSet().
void AW_window::show | ( | ) |
Definition at line 1683 of file AW_window.cxx.
References aw_assert, AW_INFO_AREA, AW_KEEP_POS, AW_KEEP_SIZE, aw_onExpose_calc_WM_offsets(), AW_REPOS_TO_CENTER, AW_REPOS_TO_MOUSE, AW_REPOS_TO_MOUSE_ONCE, AW_RESIZE_DEFAULT, AW_RESIZE_USER, aw_update_window_geometry_awars(), get_root(), get_window_size(), get_window_title(), implicated, AW_window_Motif::knows_WM_offset(), p_w, run_popup_callbacks(), set_expose_callback(), AW_window_Motif::shell, window_fit(), window_is_shown, AW_root::window_show(), AW_window_Motif::WM_left_offset, AW_window_Motif::WM_max_left_offset, AW_window_Motif::WM_max_top_offset, and AW_window_Motif::WM_top_offset.
Referenced by activate(), ARB_main(), aw_status_timer_hide_event(), aw_status_timer_listen_event(), ED4_root::create_hierarchy(), create_multiprobe_window(), ED4_new_editor_window(), ED4_start_editor_on_configuration(), ED4_root::generate_window(), NT_create_main_window(), nt_intro_start_existing(), pars_start_cb(), popup_new_experiment_window(), popup_new_gene_window(), popup_new_speciesOrganismWindow(), probe_match_with_specificity_event(), and startup_gui().
void AW_window::hide | ( | ) |
Definition at line 1835 of file AW_window.cxx.
References aw_update_window_geometry_awars(), get_root(), p_w, AW_window_Motif::shell, AW_root::window_hide(), and window_is_shown.
Referenced by accept_selected_ref_db(), advice_close_cb(), aw_input(), AW_POPDOWN(), aw_question(), aw_status_hide(), aw_status_timer_listen_event(), aw_window_destroy_cb(), aw_window_noexit_destroy_cb(), ED4_exit(), ED4_quit_editor(), ED4_saveConfiguration(), ED4_start_editor_on_configuration(), ExposeOpenGLWindow(), gene_create_cb(), group_species_by_field_content(), InfoWindow::hide(), hide_or_notify(), ArbImporter::import_and_continueOnSuccess(), load_probe_collection(), NT_create_alignment_admin_window(), nt_intro_start_existing(), nt_intro_start_import(), nt_start_editor_on_configuration(), ok_pressed(), pars_start_cb(), probe_collection_close(), saicalc_edit_method_cb(), save_probe_collection(), and startup_sequence_cb().
|
inline |
Definition at line 365 of file aw_window.hxx.
References show(), and wm_activate().
Referenced by PlugIn::activate(), AW_popup_namesadmin_window(), aw_status_timer_listen_event(), configureColumnStat(), ED4_popup_gc_window(), ED4_popup_helix_or_pfold_window(), GDE_popup_filename_browser(), group_species_cb(), MERGE_create_main_window(), MP_compute(), NDS_popup_select_srtaci_window(), NT_create_sai_from_pfold(), NT_get_canvas_showing_tree(), nt_seq_load_cb(), popup_gene_location_editor(), popup_group_search_window(), popup_match_window_cb(), popup_rule_definition_window(), popup_ruleset_admin_window(), popup_single_field_transfer_window(), popupSaiProbeMatchWindow(), InfoWindow::reactivate(), InfoWindow::reuse(), AW_cb::run_callbacks(), SAI_popup_calculator_window(), saicalc_edit_method_cb(), show_modal(), sina_select_ref_db(), and startup_sequence_cb().
bool AW_window::is_shown | ( | ) | const |
Definition at line 1647 of file AW_window.cxx.
References window_is_shown.
Referenced by aw_message_timer_listen_event(), AWT_canvas::is_shown(), nn_searchRel_awar_changed_cb(), saicalc_edit_method_cb(), and MatrixDisplay::willShow().
void AW_window::hide_or_notify | ( | const char * | error | ) |
Definition at line 1845 of file AW_window.cxx.
References aw_message(), and hide().
Referenced by di_save_matrix_cb(), field_create_cb(), load_list_cb(), NT_database_optimization(), NT_save_as_cb(), NT_save_quick_as_cb(), save_list_cb(), st_ok_cb(), TreeAdmin::tree_copy_or_rename_cb(), tree_load_cb(), and tree_save_cb().
Definition at line 231 of file AW_window.cxx.
References AW_root::add_timed_callback(), get_root(), NULp, number_of_timed_title_changes, p_w, AW_window_Motif::shell, timed_window_title_cb(), and window_name.
void AW_window::set_window_title | ( | const char * | title | ) |
Definition at line 1069 of file AW_window.cxx.
References NULp, p_w, and AW_window_Motif::shell.
Referenced by aw_input(), and update_main_window_title().
const char * AW_window::get_window_title | ( | ) | const |
Definition at line 1074 of file AW_window.cxx.
References window_name.
Referenced by aw_update_window_geometry_awars(), create_config_manager_window(), and show().
|
inline |
Definition at line 375 of file aw_window.hxx.
References window_defaults_name.
Referenced by aw_create_shell(), create_config_manager_window(), create_phyl_main_window(), CreateRNA3DMainWindow(), createSaiProbeMatchWindow(), DI_create_view_matrix_window(), GEN_map_window::init(), AW_cb::is_equal(), local_id(), pars_start_cb(), AWT_configuration::popup_edit_window(), and start_SECEDIT_plugin().
Construct window-local id. Prefixes
id | with AW_window::window_defaults_name + "/" |
Definition at line 747 of file AW_window.cxx.
References GBS_global_string_copy(), get_window_id(), and NULp.
Referenced by EXP_create_experiments_submenu(), EXP_create_field_items(), GEN_create_field_items(), GEN_create_genes_submenu(), GEN_create_organism_submenu(), GEN_insert_extract_submenu(), ED4_root::generate_window(), GEN_map_window::init(), insert_color_collapse_submenu(), DBUI::insert_field_admin_menuitems(), NT_create_multifurcate_tree_window(), NT_create_sort_tree_by_other_tree_window(), NT_insert_collapse_submenu(), and popup_new_main_window().
void AW_window::set_info_area_height | ( | int | height | ) |
Definition at line 796 of file AW_window.cxx.
References AW_window_Motif::frame, INFO_WIDGET, NULp, and p_w.
Referenced by create_phyl_main_window(), DI_create_view_matrix_window(), GEN_map_window::init(), pars_start_cb(), popup_new_main_window(), start_SECEDIT_plugin(), and title_mode_changed().
void AW_window::set_bottom_area_height | ( | int | height | ) |
Definition at line 801 of file AW_window.cxx.
References BOTTOM_WIDGET, NULp, p_w, and AW_window_Motif::scroll_bar_horizontal.
Referenced by create_phyl_main_window(), ED4_root::generate_window(), pars_start_cb(), and popup_new_main_window().
void AW_window::set_popup_callback | ( | const WindowCallback & | wcb | ) |
Registers callback to be executed after the window is shown. Called multiple times if a show() follows a hide().
Definition at line 792 of file AW_window.cxx.
References NULp, p_w, and AW_window_Motif::popup_cb.
Referenced by DbScanner::create().
void AW_window::set_focus_callback | ( | const WindowCallback & | wcb | ) |
Registers a focus callback.
Definition at line 778 of file AW_window.cxx.
References AW_focusCB(), FALSE, is_focus_callback(), MIDDLE_WIDGET, and NULp.
Referenced by AWT_canvas::AWT_canvas().
bool AW_window::is_focus_callback | ( | AnyWinCB | f | ) |
Definition at line 1469 of file AW_window.cxx.
References AW_cb::contains().
Referenced by AW_cb::run_callbacks(), and set_focus_callback().
void AW_window::set_expose_callback | ( | AW_area | area, |
const WindowCallback & | wcb | ||
) |
Registers
wcb | as expose callback. Called whenever the |
area | receives an expose event. This is where any drawing should be handled. |
Definition at line 765 of file AW_window.cxx.
References MAP_ARAM, and AW_area_management::set_expose_callback().
Referenced by AWT_canvas::AWT_canvas(), create_phyl_main_window(), DI_create_view_matrix_window(), ED4_window::insert_window(), load_xfig(), and show().
void AW_window::set_resize_callback | ( | AW_area | area, |
const WindowCallback & | wcb | ||
) |
Definition at line 816 of file AW_window.cxx.
References MAP_ARAM, and AW_area_management::set_resize_callback().
Referenced by AWT_canvas::AWT_canvas(), create_phyl_main_window(), DI_create_view_matrix_window(), and ED4_window::insert_window().
void AW_window::set_input_callback | ( | AW_area | area, |
const WindowCallback & | wcb | ||
) |
Definition at line 806 of file AW_window.cxx.
References MAP_ARAM, and AW_area_management::set_input_callback().
Referenced by AWT_canvas::AWT_canvas(), DI_create_view_matrix_window(), and ED4_window::insert_window().
void AW_window::set_motion_callback | ( | AW_area | area, |
const WindowCallback & | wcb | ||
) |
Definition at line 811 of file AW_window.cxx.
References MAP_ARAM, and AW_area_management::set_motion_callback().
Referenced by AWT_canvas::AWT_canvas(), DI_create_view_matrix_window(), and ED4_window::insert_window().
void AW_window::set_double_click_callback | ( | AW_area | area, |
const WindowCallback & | wcb | ||
) |
Definition at line 1997 of file AW_window.cxx.
References MAP_ARAM, and AW_area_management::set_double_click_callback().
Definition at line 1510 of file AW_window.cxx.
References AW_area_management::is_expose_callback(), and MAP_ARAM.
Referenced by AW_cb::run_callbacks().
Definition at line 1533 of file AW_window.cxx.
References AW_area_management::is_resize_callback(), and MAP_ARAM.
Referenced by AW_cb::run_callbacks().
void AW_window::get_event | ( | AW_event * | eventi | ) | const |
Definition at line 543 of file AW_window.cxx.
References event.
Referenced by ED4_input_cb(), ED4_motion_cb(), input_cb(), input_event(), motion_cb(), and motion_event().
void AW_window::force_expose | ( | ) |
Definition at line 1515 of file AW_window.cxx.
References NULp, p_w, and AW_window_Motif::shell.
Definition at line 537 of file AW_window.cxx.
References arb_assert, AW_area_management::get_screen_device(), and MAP_ARAM.
Referenced by AW_xfigCB_info_area(), clip_expose(), create_phyl_main_window(), DI_create_view_matrix_window(), ED4_root::generate_window(), ED4_window::get_device(), PH_display::initialize_display(), input_event(), load_xfig(), motion_event(), SEC_root::perform_autoscroll(), and PH_display::resized().
AW_device_click * AW_window::get_click_device | ( | AW_area | area, |
int | mousex, | ||
int | mousey, | ||
int | max_distance | ||
) |
Definition at line 526 of file AW_window.cxx.
References AW_ALL_DEVICES, AW_area_management::get_click_device(), MAP_ARAM, and NULp.
Referenced by input_cb(), input_event(), and motion_event().
AW_device_size * AW_window::get_size_device | ( | AW_area | area | ) |
Definition at line 552 of file AW_window.cxx.
References AW_area_management::get_size_device(), MAP_ARAM, NULp, AW_device::reset(), and AW_device_size::restart_tracking().
Referenced by get_drawsize(), and NT_jump_cb().
AW_device_print * AW_window::get_print_device | ( | AW_area | area | ) |
Definition at line 547 of file AW_window.cxx.
References AW_area_management::get_print_device(), MAP_ARAM, and NULp.
Referenced by canvas_to_xfig().
Definition at line 564 of file AW_window.cxx.
References AW_area_management::get_common(), MAP_ARAM, and NULp.
Creates a new top level menu.
name | Name of the menu. |
mnemonic | Shortcut (optional) |
mask | Experts only? |
Definition at line 472 of file AW_window.cxx.
References aw_assert, insert_sub_menu(), legal_mask, AW_window_Motif::menu_deep, and p_w.
Referenced by create_phyl_main_window(), DBUI::create_species_query_window(), CreateRNA3DMainWindow(), createSaiProbeMatchWindow(), DI_create_matrix_window(), DI_create_view_matrix_window(), EXP_create_experiment_query_window(), EXP_create_experiments_submenu(), GEN_create_gene_query_window(), GEN_create_gene_species_submenu(), GEN_create_genes_submenu(), GEN_create_hide_submenu(), GEN_create_organism_submenu(), ED4_root::generate_window(), GEN_map_window::init(), MERGE_create_main_window(), MG_create_merge_species_window(), pars_start_cb(), popup_new_experiment_window(), popup_new_gene_window(), popup_new_main_window(), popup_new_speciesOrganismWindow(), and start_SECEDIT_plugin().
void AW_window::insert_sub_menu | ( | const char * | name, |
const char * | mnemonic, | ||
AW_active | mask = AWM_ALL |
||
) |
Insert a sub menu into the last created menu.
name | Name of the sub menu. |
mnemonic | Shortcut (optional) |
mask | Experts only? |
Definition at line 645 of file AW_window.cxx.
References aw_assert, AW_MAX_MENU_DEEP, AW_at::background_color, legal_mask, AW_root::make_sensitive(), AW_window_Motif::menu_bar, AW_window_Motif::menu_deep, NULp, p_w, RES_CONVERT, root, TUNE_SUBMENU, and TuneBackground().
Referenced by AWT_create_mask_submenu(), create_menu(), EXP_create_experiments_submenu(), GDE_load_menu(), GEN_create_gene_species_submenu(), GEN_create_organism_submenu(), GEN_insert_extract_submenu(), GEN_insert_multi_submenu(), ED4_root::generate_window(), insert_color_collapse_submenu(), insert_mark_topics(), NT_insert_collapse_submenu(), NT_insert_mark_submenus(), pars_start_cb(), and popup_new_main_window().
void AW_window::insert_menu_topic | ( | const char * | id, |
const char * | name, | ||
const char * | mnemonic, | ||
const char * | help_text_, | ||
AW_active | mask, | ||
const WindowCallback & | wcb | ||
) |
Insert a menu item into the last created menu or sub menu.
id | Unique id (for macros) |
name | Name of the item. |
mnemonic | Shortcut (optional) |
help_text_ | Name of helpfile (optional) |
mask | Experts only? |
wcb | Callback that should be called when the item is activated. |
Definition at line 595 of file AW_window.cxx.
References aw_assert, AW_label_in_awar_list(), AW_server_callback(), AW_at::background_color, AW_root::define_remote_command(), legal_mask, AW_root::make_sensitive(), AW_window_Motif::menu_bar, AW_window_Motif::menu_deep, NULp, p_w, RES_CONVERT, RES_LABEL_CONVERT, root, TUNE_MENUTOPIC, and TuneBackground().
Referenced by add_common_property_menu_entries(), AWT_create_mask_submenu(), create_phyl_main_window(), QUERY::create_query_box(), DBUI::create_species_query_window(), CreateRNA3DMainWindow(), createSaiProbeMatchWindow(), DI_create_matrix_window(), DI_create_view_matrix_window(), EXP_create_experiment_query_window(), EXP_create_experiments_submenu(), EXP_create_field_items(), GDE_load_menu(), GEN_create_field_items(), GEN_create_gene_query_window(), GEN_create_gene_species_submenu(), GEN_create_genes_submenu(), GEN_create_organism_submenu(), GEN_insert_extract_submenu(), GEN_insert_multi_submenu(), ED4_root::generate_window(), GEN_map_window::init(), insert_color_collapse_submenu(), DBUI::insert_field_admin_menuitems(), insert_macro_menu_entry(), insert_mark_topic(), MERGE_create_main_window(), MG_create_merge_species_window(), NT_insert_collapse_submenu(), pars_start_cb(), popup_new_experiment_window(), popup_new_gene_window(), popup_new_main_window(), popup_new_speciesOrganismWindow(), query_rel_menu_entry(), and start_SECEDIT_plugin().
|
inline |
Definition at line 446 of file aw_window.hxx.
References insert_menu_topic(), and makeWindowPopper().
Referenced by insert_menu_topic().
|
inline |
Definition at line 447 of file aw_window.hxx.
References insert_menu_topic().
Referenced by insert_menu_topic().
|
inline |
Definition at line 448 of file aw_window.hxx.
References insert_menu_topic().
Referenced by insert_menu_topic().
void AW_window::sep______________ | ( | ) |
insert a separator into the currently open menu
Definition at line 753 of file AW_window.cxx.
References AW_window_Motif::menu_bar, AW_window_Motif::menu_deep, NULp, and p_w.
Referenced by AWT_create_mask_submenu(), create_phyl_main_window(), QUERY::create_query_box(), DI_create_matrix_window(), EXP_create_experiments_submenu(), EXP_create_field_items(), GEN_create_field_items(), GEN_create_gene_species_submenu(), GEN_create_genes_submenu(), GEN_create_hide_submenu(), GEN_create_organism_submenu(), ED4_root::generate_window(), GEN_map_window::init(), DBUI::insert_field_admin_menuitems(), insert_macro_menu_entry(), insert_mark_topics(), MERGE_create_main_window(), MG_create_merge_species_window(), NT_insert_collapse_submenu(), NT_insert_mark_submenus(), pars_start_cb(), popup_new_gene_window(), popup_new_main_window(), popup_new_speciesOrganismWindow(), and start_SECEDIT_plugin().
void AW_window::close_sub_menu | ( | ) |
Closes the currently open sub menu. If no menu is open this method will crash.
Definition at line 486 of file AW_window.cxx.
References AW_window_Motif::menu_deep, and p_w.
Referenced by AWT_create_mask_submenu(), EXP_create_experiments_submenu(), GDE_load_menu(), GEN_create_gene_species_submenu(), GEN_create_organism_submenu(), GEN_insert_extract_submenu(), GEN_insert_multi_submenu(), ED4_root::generate_window(), insert_color_collapse_submenu(), insert_mark_topics(), NT_insert_collapse_submenu(), NT_insert_mark_submenus(), pars_start_cb(), and popup_new_main_window().
void AW_window::insert_help_topic | ( | const char * | labeli, |
const char * | mnemonic, | ||
const char * | helpText, | ||
AW_active | mask, | ||
const WindowCallback & | cb | ||
) |
Definition at line 569 of file AW_window.cxx.
References aw_assert, AW_server_callback(), AW_window_Motif::help_pull_down, legal_mask, AW_root::make_sensitive(), NULp, p_w, RES_CONVERT, and root.
Referenced by aw_insert_default_help_entries(), createSaiProbeMatchWindow(), DI_create_matrix_window(), ED4_root::generate_window(), MERGE_create_main_window(), pars_start_cb(), and popup_new_main_window().
|
inline |
Definition at line 454 of file aw_window.hxx.
References insert_help_topic().
Referenced by insert_help_topic().
int AW_window::create_mode | ( | const char * | pixmap, |
const char * | help_text_, | ||
AW_active | mask, | ||
const WindowCallback & | cb | ||
) |
Definition at line 2986 of file AW_window.cxx.
References ARB_calloc(), aw_assert, AW_get_pixmapPath(), aw_mode_callback(), AW_NUMBER_OF_F_KEYS, AW_server_callback(), AW_at::background_color, legal_mask, AW_root::make_sensitive(), AW_at::max_y_size, AW_window_Motif::mode_area, AW_window_Motif::modes_f_callbacks, AW_window_Motif::modes_widgets, NULp, AW_window_Motif::number_of_modes, p_global, p_w, RES_CONVERT, root, TUNE_BUTTON, TuneBackground(), and yoffset_for_mode_button().
Referenced by ED4_root::generate_window(), GEN_map_window::init(), pars_start_cb(), popup_new_main_window(), and start_SECEDIT_plugin().
void AW_window::select_mode | ( | int | mode | ) |
Definition at line 2965 of file AW_window.cxx.
References AW_window_Motif::modes_widgets, NULp, AW_window_Motif::number_of_modes, p_global, p_w, and AW_window_Motif::selected_mode.
Referenced by aw_mode_callback().
void AW_window::tell_scrolled_picture_size | ( | AW_screen_area | rectangle | ) |
Definition at line 823 of file AW_window.cxx.
References AW_screen_area::b, AW_screen_area::l, picture, AW_screen_area::r, and AW_screen_area::t.
Referenced by PH_display::resized(), and ED4_window::update_scrolled_rectangle().
void AW_window::tell_scrolled_picture_size | ( | AW_world | rectangle | ) |
Definition at line 830 of file AW_window.cxx.
References AW_world::b, AW_screen_area::b, AW_world::l, AW_screen_area::l, picture, AW_world::r, AW_screen_area::r, AW_world::t, and AW_screen_area::t.
AW_pos AW_window::get_scrolled_picture_width | ( | ) | const |
Definition at line 837 of file AW_window.cxx.
References AW_screen_area::l, picture, and AW_screen_area::r.
Referenced by calculate_scrollbars().
AW_pos AW_window::get_scrolled_picture_height | ( | ) | const |
Definition at line 841 of file AW_window.cxx.
References AW_screen_area::b, picture, and AW_screen_area::t.
Referenced by calculate_scrollbars(), and ED4_terminal::scroll_into_view().
void AW_window::reset_scrolled_picture_size | ( | ) |
Definition at line 845 of file AW_window.cxx.
References AW_screen_area::b, AW_screen_area::l, picture, AW_screen_area::r, and AW_screen_area::t.
Referenced by AW_window().
void AW_window::get_scrollarea_size | ( | AW_screen_area * | square | ) |
Definition at line 867 of file AW_window.cxx.
References _get_area_size(), AW_MIDDLE_AREA, AW_screen_area::b, and AW_screen_area::r.
Referenced by calculate_scrollbars(), and update_scrollbar_settings_from_awars().
void AW_window::calculate_scrollbars | ( | ) |
Definition at line 873 of file AW_window.cxx.
References AW_HORIZONTAL, AW_VERTICAL, AW_screen_area::b, get_scrollarea_size(), get_scrolled_picture_height(), get_scrolled_picture_width(), NULp, p_w, AW_screen_area::r, AW_window_Motif::scroll_bar_horizontal, AW_window_Motif::scroll_bar_vertical, slider_pos_horizontal, slider_pos_vertical, and update_scrollbar_settings_from_awars().
Referenced by PH_display::resized(), and ED4_window::update_scrolled_rectangle().
void AW_window::set_vertical_scrollbar_position | ( | int | position | ) |
Definition at line 989 of file AW_window.cxx.
References NULp, p_w, AW_window_Motif::scroll_bar_vertical, and slider_pos_vertical.
Referenced by ed4_scroll(), ED4_scrollbar_change_cb(), ED4_vertical_change_cb(), PH_display::resized(), and ED4_terminal::scroll_into_view().
void AW_window::set_horizontal_scrollbar_position | ( | int | position | ) |
Definition at line 998 of file AW_window.cxx.
References NULp, p_w, AW_window_Motif::scroll_bar_horizontal, and slider_pos_horizontal.
Referenced by ED4_horizontal_change_cb(), ed4_scroll(), ED4_scrollbar_change_cb(), ED4_cursor::jump_screen_pos(), PH_display::resized(), and ED4_cursor::set_screen_relative_pos().
void AW_window::set_vertical_change_callback | ( | const WindowCallback & | wcb | ) |
Definition at line 1033 of file AW_window.cxx.
References drag_scroll_bar_vertical(), p_w, AW_window_Motif::scroll_bar_vertical, and value_changed_scroll_bar_vertical().
Referenced by AWT_canvas::AWT_canvas(), DI_create_view_matrix_window(), ED4_window::insert_window(), ph_calc_filter_cb(), and ph_view_species_cb().
void AW_window::set_horizontal_change_callback | ( | const WindowCallback & | wcb | ) |
Definition at line 1049 of file AW_window.cxx.
References drag_scroll_bar_horizontal(), p_w, AW_window_Motif::scroll_bar_horizontal, and value_changed_scroll_bar_horizontal().
Referenced by AWT_canvas::AWT_canvas(), DI_create_view_matrix_window(), ED4_window::insert_window(), ph_calc_filter_cb(), and ph_view_species_cb().
void AW_window::set_vertical_scrollbar_top_indent | ( | int | indent | ) |
Definition at line 852 of file AW_window.cxx.
References NULp, p_w, and AW_window_Motif::scroll_bar_vertical.
void AW_window::set_horizontal_scrollbar_left_indent | ( | int | indent | ) |
Definition at line 857 of file AW_window.cxx.
References NULp, p_w, and AW_window_Motif::scroll_bar_horizontal.
void AW_window::update_scrollbar_settings_from_awars | ( | AW_orientation | orientation | ) |
Definition at line 2050 of file AW_window.cxx.
References AW_HORIZONTAL, AW_screen_area::b, get_scrollarea_size(), NULp, p_w, AW_screen_area::r, AW_window_Motif::scroll_bar_horizontal, AW_window_Motif::scroll_bar_vertical, and window_local_awar().
Referenced by calculate_scrollbars(), horizontal_scrollbar_redefinition_cb(), and vertical_scrollbar_redefinition_cb().
Definition at line 1216 of file AW_window.cxx.
References aw_awar_name_height, aw_awar_name_posx, aw_awar_name_posy, aw_awar_name_reset, aw_awar_name_width, AW_root::awar_int(), AW_root::awar_string(), cmp, get_root(), AW_awar::read_char_pntr(), and AW_awar::write_string().
Referenced by aw_create_shell().
Definition at line 109 of file AW_window.cxx.
References AW_at::max_x_size, AW_at::max_y_size, AW_window_Motif::menu_bar, NULp, and p_w.
Referenced by at_attach(), show(), and window_fit().
void AW_window::window_fit | ( | ) |
Definition at line 1086 of file AW_window.cxx.
References get_window_size().
Referenced by aw_input(), and show().
Definition at line 720 of file AW_window.cxx.
References AW_INFO_AREA, AW_RESIZE_ANY, AW_xfigCB_info_area(), AW_xfig::create_gcs(), get_device(), get_root(), HIGHER_THAN_SCREEN, AW_at::max_x_size, AW_at::max_y_size, AW_xfig::maxx, AW_xfig::maxy, AW_xfig::minx, AW_xfig::miny, recalc_size_atShow(), set_expose_callback(), and WIDER_THAN_SCREEN.
Referenced by AP_create_con_expert_window(), AP_create_max_freq_window(), awt_create_select_cancel_window(), AWT_create_www_window(), AWTC_create_rename_window(), AWTC_create_submission_window(), create_aciapp_config_window(), create_boolchain_config_window(), create_expert_naligner_window(), create_island_hopping_window(), create_IUPAC_resolve_window(), create_kernighan_properties_window(), create_key_map_window(), create_matrix_config_window(), create_naligner_window(), create_nds_export_window(), create_pars_init_window(), create_probe_expert_window(), create_SAI_group_window(), create_select_alignment_window(), create_special_naligner_window(), DBUI::create_species_query_window(), create_translator_config_window(), create_tree_export_window(), create_tree_import_window(), CreateChangeMolecule_window(), CreateDisplayBases_window(), CreateDisplayHelices_window(), CreateDisplayOptions_window(), CreateMapSequenceData_window(), createOptimizeWindow(), DI_create_matrix_window(), ED4_create_editor_options_window(), ED4_create_nds_window(), ED4_create_replace_window(), ED4_zoom_message_window(), EXP_create_experiment_query_window(), FastAligner_create_window(), GEN_create_gene_query_window(), ED4_root::generate_window(), MERGE_create_main_window(), MG_create_merge_alignment_window(), MG_create_merge_names_window(), MG_create_merge_species_window(), NT_create_compare_taxonomy_window(), NT_create_compareTopologies_window(), nt_create_intro_window(), NT_create_moveGroupInfo_window(), NT_create_realign_dna_window(), NT_create_resort_window(), NT_create_searchManuallyNames_window(), NT_create_trackAliChanges_window(), NT_createConcatenationWindow(), PH_create_filter_window(), popup_new_experiment_window(), popup_new_gene_window(), popup_new_speciesOrganismWindow(), SEC_importExport(), SQ_create_seq_quality_window(), and STAT_create_main_window().
Definition at line 512 of file AW_window.cxx.
References AW_xfig::add_line(), aw_assert, AW_RESIZE_ANY, HIGHER_THAN_SCREEN, max, AW_at::max_x_size, AW_at::max_y_size, AW_xfig::maxx, AW_xfig::maxy, AW_xfig::minx, AW_xfig::miny, recalc_size_atShow(), and WIDER_THAN_SCREEN.
void AW_window::label_length | ( | int | length | ) |
Definition at line 284 of file AW_at.cxx.
References length, and AW_at::length_of_label_for_inputfield.
Referenced by AW_preset_window(), AW_gc_manager::create_gc_buttons(), new_input_window(), and pars_start_cb().
void AW_window::button_length | ( | int | length | ) |
Definition at line 288 of file AW_at.cxx.
References length, and AW_at::length_of_buttons.
Referenced by InfoWindow::add_detach_area(), UNTYPED::awt_create_collect_buttons(), awt_create_PTSERVER_selection_button(), awt_create_subset_selection_list(), AWT_insert_config_manager(), AW_gc_manager::create_gc_buttons(), create_itemfield_selection_button(), create_phyl_main_window(), QUERY::create_query_box(), DBUI::create_species_query_window(), LocationEditor::createEditFields(), CreateRNA3DMainWindow(), DI_create_matrix_window(), EXP_create_experiment_query_window(), GEN_create_gene_query_window(), ED4_root::generate_window(), GEN_map_window::init(), MERGE_create_main_window(), MG_create_merge_species_window(), new_input_window(), pars_start_cb(), popup_new_experiment_window(), popup_new_gene_window(), popup_new_main_window(), popup_new_speciesOrganismWindow(), and start_SECEDIT_plugin().
void AW_window::button_height | ( | int | height | ) |
Definition at line 1082 of file AW_window.cxx.
References AW_at::height_of_buttons.
int AW_window::get_button_length | ( | ) | const |
Definition at line 292 of file AW_at.cxx.
References AW_at::length_of_buttons.
Referenced by awt_create_PTSERVER_selection_button(), awt_create_subset_selection_list(), AWT_insert_config_manager(), and create_itemfield_selection_button().
void AW_window::highlight | ( | ) |
make next created button default button
Definition at line 122 of file AW_window.cxx.
References AW_at::highlight.
Definition at line 273 of file AW_at.cxx.
References AW_at::auto_increment_x, AW_at::auto_increment_y, AW_at::biggest_height_of_buttons, AW_at::do_auto_increment, AW_at::do_auto_space, AW_at::x_for_newline, AW_at::x_for_next_button, and y.
Referenced by create_dna_matrix_window().
Definition at line 259 of file AW_at.cxx.
References AW_at::auto_space_x, AW_at::auto_space_y, AW_at::biggest_height_of_buttons, AW_at::do_auto_increment, AW_at::do_auto_space, AW_at::x_for_newline, AW_at::x_for_next_button, and y.
Referenced by InfoWindow::add_detach_area(), UNTYPED::awt_create_collect_buttons(), UNTYPED::awt_create_order_buttons(), FormatTester::create_common_gui(), create_common_next_neighbour_fields(), create_group_species_by_field_window(), create_matrix_settings_window(), create_phyl_main_window(), create_PTSERVER_selection_window(), QUERY::create_query_box(), CreateRNA3DMainWindow(), DI_create_view_matrix_window(), ED4_root::generate_window(), GEN_map_window::init(), new_input_window(), NT_create_twoTreeSelection(), pars_start_cb(), popup_new_main_window(), and start_SECEDIT_plugin().
void AW_window::shadow_width | ( | int | shadow_thickness | ) |
Definition at line 1078 of file AW_window.cxx.
References AW_at::shadow_thickness.
Referenced by CreateRNA3DMainWindow(), ED4_root::generate_window(), GEN_map_window::init(), MG_create_merge_species_window(), pars_start_cb(), and popup_new_main_window().
Definition at line 3172 of file AW_window.cxx.
References aw_assert, NULp, p_global, and set_background().
Referenced by create_input_field(), create_mode(), create_option_menu(), create_selection_list(), create_text_field(), insert_menu_topic(), insert_sub_menu(), and TuneOrSetBackground().
Definition at line 3141 of file AW_window.cxx.
References set_background(), TUNE_BRIGHT, TUNE_DARK, and TuneBackground().
Referenced by _create_option_entry(), and create_button().
Definition at line 93 of file AW_at.cxx.
References at_x(), and at_y().
Referenced by at(), at_shift(), AW_create_gc_window_named(), UNTYPED::awt_create_collect_buttons(), UNTYPED::awt_create_order_buttons(), awt_create_select_filter_win(), awt_create_selection_list_with_input_field(), awt_create_subset_selection_list(), AWTC_create_common_next_neighbour_fields(), bindAdmin(), DbScanner::create(), FormatTester::create_common_gui(), create_common_next_neighbour_fields(), TreeAdmin::create_copy_or_rename_window(), create_dup_config_window_cb(), create_group_rename_window_cb(), File_selection::create_gui_elements(), create_itemfield_selection_button(), create_itemfield_selection_list(), create_phyl_main_window(), QUERY::create_query_box(), RefEntries::create_refentries_window(), DBUI::create_species_query_window(), LocationEditor::createEditFields(), CreateRNA3DMainWindow(), DI_create_matrix_window(), ED4_configure_species_flags(), ED4_pfold_create_props_window(), EXP_create_experiment_query_window(), GEN_create_gene_query_window(), ED4_root::generate_window(), GEN_map_window::init(), insert_search_fields(), insertShapeSelection(), MERGE_create_main_window(), MG_create_merge_species_window(), new_input_window(), NT_create_multifurcate_tree_window(), NT_create_twoTreeSelection(), pars_start_cb(), popup_new_experiment_window(), popup_new_gene_window(), popup_new_main_window(), popup_new_speciesOrganismWindow(), and start_SECEDIT_plugin().
void AW_window::at_x | ( | int | x | ) |
Definition at line 98 of file AW_at.cxx.
References AW_at::max_x_size, and AW_at::x_for_next_button.
Referenced by at(), at_attach(), at_newline(), and pars_start_cb().
void AW_window::at_y | ( | int | y | ) |
Definition at line 104 of file AW_at.cxx.
References AW_at::biggest_height_of_buttons, AW_at::max_y_size, y, and AW_at::y_for_next_button.
Referenced by at(), at_attach(), and at_newline().
Definition at line 115 of file AW_at.cxx.
References at(), AW_at::x_for_next_button, and AW_at::y_for_next_button.
Referenced by increment_at_commands().
void AW_window::at_newline | ( | ) |
Definition at line 119 of file AW_at.cxx.
References at_x(), at_y(), AW_at::auto_increment_y, AW_at::auto_space_y, AW_at::biggest_height_of_buttons, AW_at::do_auto_increment, AW_at::do_auto_space, GBK_terminate(), AW_at::x_for_newline, and AW_at::y_for_next_button.
Referenced by UNTYPED::awt_create_collect_buttons(), UNTYPED::awt_create_order_buttons(), AW_gc_manager::create_gc_buttons(), AP_userdef_matrix::create_input_fields(), CreateRNA3DMainWindow(), GEN_map_window::init(), insert_section_header(), new_input_window(), pars_start_cb(), popup_new_main_window(), start_SECEDIT_plugin(), and tree_insert_jump_option_menu().
void AW_window::at | ( | const char * | id | ) |
Definition at line 27 of file AW_at.cxx.
References at(), AW_xfig::at_pos_hash, AW_at::attach_any, AW_at::attach_lx, AW_at::attach_ly, AW_at::attach_x, AW_at::attach_y, AW_xfig_pos::center, AW_at::correct_for_at_center, GBK_terminatef(), GBS_read_hash(), AW_xfig::minx, AW_xfig::miny, AW_at::to_position_exists, AW_at::to_position_x, AW_at::to_position_y, AW_xfig_pos::x, and AW_xfig_pos::y.
bool AW_window::at_ifdef | ( | const char * | id | ) |
Definition at line 134 of file AW_at.cxx.
References AW_xfig::at_pos_hash, aw_assert, buffer, and GBS_read_hash().
Referenced by File_selection::create_gui_elements().
void AW_window::label | ( | const char * | label | ) |
Definition at line 102 of file AW_window.cxx.
References aw_assert, AW_at::label_for_inputfield, and NULp.
Referenced by AW_preset_create_color_button(), AW_preset_create_font_chooser(), AWT_insert_DBcompression_selector(), AWT_insert_DBsaveType_selector(), awt_input_field::build_widget(), awt_text_viewport::build_widget(), awt_check_box::build_widget(), AW_gc_manager::create_gc_buttons(), QUERY::create_query_box(), create_toggle_field(), DI_create_matrix_window(), DI_create_view_matrix_window(), pars_start_cb(), and tree_insert_jump_option_menu().
Definition at line 296 of file AW_at.cxx.
References AW_at::x_for_next_button, and AW_at::y_for_next_button.
Referenced by UNTYPED::awt_create_collect_buttons(), UNTYPED::awt_create_order_buttons(), QUERY::create_query_box(), CreateRNA3DMainWindow(), ED4_root::generate_window(), GEN_map_window::init(), pars_start_cb(), and popup_new_main_window().
int AW_window::get_at_xposition | ( | ) | const |
Definition at line 301 of file AW_at.cxx.
References AW_at::x_for_next_button.
Referenced by awt_create_subset_selection_list(), ED4_root::generate_window(), and popup_new_main_window().
int AW_window::get_at_yposition | ( | ) | const |
Definition at line 305 of file AW_at.cxx.
References AW_at::y_for_next_button.
Referenced by UNTYPED::awt_create_collect_buttons(), UNTYPED::awt_create_order_buttons(), pars_start_cb(), popup_new_main_window(), and start_SECEDIT_plugin().
void AW_window::dump_at_position | ( | const char * | debug_label | ) | const |
Definition at line 736 of file AW_button.cxx.
References AW_at::x_for_next_button, and AW_at::y_for_next_button.
Definition at line 157 of file AW_at.cxx.
References at_x(), at_y(), AW_at::attach_any, AW_at::attach_lx, AW_at::attach_ly, aw_assert, AW_at::correct_for_at_center, and get_window_size().
Definition at line 187 of file AW_at.cxx.
References AW_at::attach_any, AW_at::attach_x, AW_at::attach_y, aw_assert, AW_at::correct_for_at_center, AW_at::max_x_size, AW_at::max_y_size, AW_at::to_position_exists, AW_at::to_position_x, AW_at::to_position_y, AW_at::x_for_next_button, and AW_at::y_for_next_button.
Referenced by popup_new_main_window().
void AW_window::at_unattach | ( | ) |
Definition at line 211 of file AW_at.cxx.
References AW_at::attach_any, AW_at::attach_lx, AW_at::attach_ly, AW_at::attach_x, AW_at::attach_y, AW_at::correct_for_at_center, and AW_at::to_position_exists.
void AW_window::unset_at_commands | ( | ) |
Definition at line 220 of file AW_at.cxx.
References _callback, _d_callback, AW_at::background_color, AW_at::correct_for_at_center, AW_at::helptext_for_next_button, AW_at::highlight, AW_at::label_for_inputfield, NULp, and AW_at::to_position_exists.
Referenced by _aw_create_toggle_entry(), create_button(), create_input_field(), create_input_field_with_scaler(), create_selection_list(), create_text_field(), refresh_toggle_field(), and update_option_menu().
|
inline |
Definition at line 559 of file aw_window.hxx.
References AW_at_storage::store().
Referenced by AW_at_storage::make().
|
inline |
Definition at line 560 of file aw_window.hxx.
References AW_at_storage::restore().
Referenced by UNTYPED::awt_create_collect_buttons(), UNTYPED::awt_create_order_buttons(), QUERY::create_query_box(), pars_start_cb(), and start_SECEDIT_plugin().
void AW_window::sens_mask | ( | AW_active | mask | ) |
Set up sensitivity mask for next widget (action)
Definition at line 127 of file AW_window.cxx.
References aw_assert, legal_mask, and AW_at::widget_mask.
Referenced by DI_create_matrix_window(), MERGE_create_main_window(), and MG_create_merge_species_window().
void AW_window::help_text | ( | const char * | id | ) |
set help text for next created button
Definition at line 116 of file AW_window.cxx.
References AW_at::helptext_for_next_button.
Referenced by create_phyl_main_window(), QUERY::create_query_box(), CreateRNA3DMainWindow(), ED4_root::generate_window(), GEN_map_window::init(), insert_search_fields(), MERGE_create_main_window(), pars_start_cb(), popup_new_main_window(), and start_SECEDIT_plugin().
|
inlinestatic |
Definition at line 570 of file aw_window.hxx.
Referenced by callback(), GDE_load_menu(), and insert_menu_topic().
|
inlinestatic |
Definition at line 573 of file aw_window.hxx.
Referenced by startup_merge_prompting_for_nonexplicit_dbs(), and startup_merge_prompting_for_nonexplicit_dst_db().
void AW_window::callback | ( | const WindowCallback & | cb | ) |
Register callback for the next action implicitly created when making a widget.
Definition at line 133 of file AW_window.cxx.
References _callback.
Referenced by InfoWindow::add_detach_area(), UNTYPED::awt_create_collect_buttons(), UNTYPED::awt_create_order_buttons(), awt_create_PTSERVER_selection_button(), AWT_insert_config_manager(), bindAdmin(), create_color_button(), FormatTester::create_common_gui(), create_font_button(), create_itemfield_selection_button(), create_phyl_main_window(), QUERY::create_query_box(), DBUI::create_species_query_window(), SelectionListSpec::createButton(), LocationEditor::createEditFields(), CreateRNA3DMainWindow(), DI_create_matrix_window(), ED4_pfold_select_SAI_and_update_option_menu(), EXP_create_experiment_query_window(), GEN_create_gene_query_window(), ED4_root::generate_window(), GEN_map_window::init(), insert_search_fields(), MERGE_create_main_window(), MG_create_merge_species_window(), new_input_window(), NT_create_twoTreeSelection(), pars_start_cb(), popup_new_experiment_window(), popup_new_gene_window(), popup_new_main_window(), popup_new_speciesOrganismWindow(), and start_SECEDIT_plugin().
|
inline |
Definition at line 580 of file aw_window.hxx.
References callback(), and makeWindowPopper().
Referenced by callback().
|
inline |
|
inline |
void AW_window::d_callback | ( | const WindowCallback & | cb | ) |
Register double click callback for the next action implicitly created when making a widget.
Definition at line 141 of file AW_window.cxx.
References _d_callback.
Referenced by QUERY::create_query_box().
void AW_window::create_button | ( | const char * | macro_name, |
AW_label | label, | ||
const char * | mnemonic = NULp , |
||
const char * | color = NULp |
||
) |
Definition at line 448 of file AW_button.cxx.
References _callback, _set_activate_callback(), aw_xargs::add(), aw_xargs::assign_to_widget(), AW_at::attach_any, aw_assert, aw_attach_widget(), AW_IS_IMAGEREF(), AW_JUSTIFY_LABEL, AW_label_in_awar_list(), aw_message(), AW_at::background_color, BUTTON_GRAPHIC_PADDING, BUTTON_TEXT_X_PADDING, BUTTON_TEXT_Y_PADDING, calculate_textsize(), AW_at::correct_for_at_center, AW_root::define_remote_command(), detect_bitmap_size(), FLAT_GRAPHIC_PADDING, GBS_global_string(), GBS_global_string_copy(), get_root(), AW_at::height_of_buttons, AW_at::highlight, AW_cb::id, increment_at_commands(), INFO_FORM, INFO_WIDGET, AW_at::label_for_inputfield, AW_root::label_is_awar(), label_widget(), AW_at::length_of_buttons, AW_root::make_sensitive(), NULp, p_global, p_w, RES_LABEL_CONVERT, root, AW_at::shadow_thickness, SPACE_BEHIND_BUTTON, SPACE_BEHIND_LABEL, AW_at::to_position_exists, AW_at::to_position_x, AW_at::to_position_y, AW_window_Motif::toggle_field, TUNE_BUTTON, TuneOrSetBackground(), unset_at_commands(), AW_at::widget_mask, window_defaults_name, AW_at::x_for_next_button, and AW_at::y_for_next_button.
Referenced by InfoWindow::add_detach_area(), UNTYPED::awt_create_collect_buttons(), UNTYPED::awt_create_order_buttons(), awt_create_PTSERVER_selection_button(), AWT_insert_config_manager(), bindAdmin(), create_autosize_button(), create_color_button(), FormatTester::create_common_gui(), create_font_button(), AW_gc_manager::create_gc_buttons(), AP_userdef_matrix::create_input_fields(), create_itemfield_selection_button(), create_phyl_main_window(), QUERY::create_query_box(), DBUI::create_species_query_window(), SelectionListSpec::createButton(), LocationEditor::createEditFields(), CreateRNA3DMainWindow(), DI_create_matrix_window(), EXP_create_experiment_query_window(), GEN_create_gene_query_window(), ED4_root::generate_window(), GEN_map_window::init(), insert_search_fields(), MERGE_create_main_window(), MG_create_merge_species_window(), new_input_window(), pars_start_cb(), popup_new_experiment_window(), popup_new_gene_window(), popup_new_main_window(), popup_new_speciesOrganismWindow(), and start_SECEDIT_plugin().
void AW_window::create_autosize_button | ( | const char * | macro_name, |
AW_label | label, | ||
const char * | mnemonic = NULp , |
||
unsigned | xtraSpace = 1 |
||
) |
Definition at line 421 of file AW_button.cxx.
References aw_assert, aw_detect_text_size(), AW_IS_IMAGEREF(), create_button(), get_root(), AW_at::height_of_buttons, AW_root::label_is_awar(), AW_at::length_of_buttons, AW_awar::read_as_string(), and AW_at::to_position_exists.
Referenced by InfoWindow::add_detach_area(), CreateRNA3DMainWindow(), DI_create_matrix_window(), insert_section_header(), MG_create_merge_species_window(), NT_create_twoTreeSelection(), and popup_new_speciesOrganismWindow().
Widget AW_window::get_last_widget | ( | ) | const |
Definition at line 401 of file AW_button.cxx.
References p_global.
void AW_window::create_toggle | ( | const char * | awar_name | ) |
Definition at line 844 of file AW_button.cxx.
Referenced by CreateRNA3DMainWindow(), DI_create_matrix_window(), ED4_root::generate_window(), GEN_map_window::init(), insert_search_fields(), and MG_create_merge_species_window().
void AW_window::create_inverse_toggle | ( | const char * | awar_name | ) |
Definition at line 848 of file AW_button.cxx.
void AW_window::create_toggle | ( | const char * | awar_name, |
const char * | nobitmap, | ||
const char * | yesbitmap, | ||
int | buttonWidth = 0 |
||
) |
Definition at line 818 of file AW_button.cxx.
References aw_assert, AW_IS_IMAGEREF(), aw_toggle_data::bitmapOrText, aw_toggle_data::buttonWidth, and aw_toggle_data::isTextToggle.
void AW_window::create_text_toggle | ( | const char * | var_name, |
const char * | noText, | ||
const char * | yesText, | ||
int | buttonWidth = 0 |
||
) |
Definition at line 833 of file AW_button.cxx.
References aw_toggle_data::bitmapOrText, aw_toggle_data::buttonWidth, and aw_toggle_data::isTextToggle.
Referenced by ED4_root::generate_window().
Definition at line 857 of file AW_button.cxx.
References _callback, _d_callback, AW_at::attach_any, aw_attach_widget(), AW_server_callback(), AW_value_changed_callback(), AW_variable_update_callback(), AW_WIDGET_INPUT_FIELD, AW_root::awar(), AW_at::background_color, AW_at::correct_for_at_center, AW_root::define_remote_command(), GBS_global_string_copy(), get_root(), increment_at_commands(), INFO_FORM, INFO_WIDGET, AW_at::label_for_inputfield, label_widget(), AW_at::length_of_buttons, NULp, p_global, AW_awar::read_as_string(), RES_LABEL_CONVERT, root, AW_awar::tie_widget(), AW_at::to_position_exists, AW_at::to_position_x, TUNE_INPUT, TuneBackground(), unset_at_commands(), AW_at::widget_mask, AW_at::x_for_next_button, AW_root::y_correction_for_input_labels, and AW_at::y_for_next_button.
Referenced by awt_create_selection_list_with_input_field(), awt_input_field::build_widget(), awt_text_viewport::build_widget(), create_common_next_neighbour_fields(), AW_gc_manager::create_gc_buttons(), File_selection::create_gui_elements(), create_input_field_with_scaler(), AP_userdef_matrix::create_input_fields(), QUERY::create_query_box(), DI_create_matrix_window(), ED4_root::generate_window(), insert_search_fields(), and new_input_window().
Definition at line 988 of file AW_button.cxx.
References _callback, aw_xargs::add(), aw_xargs::assign_to_widget(), aw_attach_widget(), AW_value_changed_callback(), AW_variable_update_callback(), AW_WIDGET_TEXT_FIELD, AW_root::awar(), AW_at::background_color, AW_at::correct_for_at_center, increment_at_commands(), INFO_FORM, INFO_WIDGET, AW_at::label_for_inputfield, label_widget(), NULp, p_global, AW_awar::read_string(), RES_LABEL_CONVERT, root, short, AW_awar::tie_widget(), AW_at::to_position_exists, AW_at::to_position_x, AW_at::to_position_y, TUNE_INPUT, TuneBackground(), unset_at_commands(), AW_at::widget_mask, AW_at::x_for_next_button, and AW_at::y_for_next_button.
Referenced by ED4_root::generate_window(), and MG_create_merge_species_window().
void AW_window::create_input_field_with_scaler | ( | const char * | awar_name, |
int | textcolumns = 4 , |
||
int | scaler_length = 250 , |
||
AW_ScalerType | scalerType = AW_SCALER_LINEAR |
||
) |
Definition at line 1143 of file AW_button.cxx.
References _callback, AW_at::attach_any, AW_WIDGET_SCALER, AW_root::awar(), calculate_scaler_value(), create_input_field(), increment_at_commands(), INFO_FORM, INFO_WIDGET, AW_root::make_sensitive(), NULp, root, SCALER_MAX_VALUE, SCALER_MIN_VALUE, scalerChanged_cb(), VarUpdateInfo::set_scalerType(), AW_awar::tie_widget(), unset_at_commands(), AW_at::widget_mask, AW_at::x_for_next_button, and AW_at::y_for_next_button.
Referenced by AWTC_create_common_next_neighbour_fields(), create_common_next_neighbour_fields(), and DI_create_view_matrix_window().
AW_option_menu_struct * AW_window::create_option_menu | ( | const char * | awar_name | ) |
Definition at line 32 of file AW_option_toggle.cxx.
References aw_xargs::add(), aw_xargs::assign_to_widget(), AW_at::attach_any, AW_at::attach_lx, AW_at::attach_ly, AW_at::attach_x, AW_at::attach_y, aw_assert, AW_IS_IMAGEREF(), AW_WIDGET_CHOICE_MENU, AW_root::awar(), AW_at::background_color, AW_at::correct_for_at_center, get_root(), INFO_FORM, INFO_WIDGET, AW_at::label_for_inputfield, AW_root::make_sensitive(), NULp, AW_root::number_of_option_menus, p_global, RES_CONVERT, root, AW_at::saved_x, AW_awar::tie_widget(), TUNE_BUTTON, TuneBackground(), AW_awar::variable_type, AW_at::widget_mask, AW_at::x_for_next_button, and AW_at::y_for_next_button.
Referenced by AW_preset_create_font_chooser(), AWT_insert_DBcompression_selector(), AWT_insert_DBsaveType_selector(), AWTC_create_common_next_neighbour_fields(), create_common_next_neighbour_fields(), QUERY::create_query_box(), DI_create_matrix_window(), ED4_root::generate_window(), MG_create_merge_species_window(), popup_new_main_window(), and tree_insert_jump_option_menu().
void AW_window::clear_option_menu | ( | AW_option_menu_struct * | oms | ) |
Definition at line 143 of file AW_option_toggle.cxx.
References AW_option_menu_struct::default_choice, AW_option_menu_struct::first_choice, AW_option_menu_struct::last_choice, AW_widget_value_pair::next, NULp, p_global, remove_option_from_option_menu(), and root.
Referenced by ED4_pfold_select_SAI_and_update_option_menu().
void AW_window::insert_option | ( | AW_label | choice_label, |
const char * | mnemonic, | ||
const char * | var_value, | ||
const char * | name_of_color = NULp |
||
) |
Definition at line 260 of file AW_option_toggle.cxx.
Referenced by AW_preset_create_font_chooser(), AWT_insert_DBcompression_selector(), AWT_insert_DBsaveType_selector(), AWTC_create_common_next_neighbour_fields(), create_common_next_neighbour_fields(), QUERY::create_query_box(), DI_create_matrix_window(), ED4_pfold_select_SAI_and_update_option_menu(), ED4_root::generate_window(), MG_create_merge_species_window(), popup_new_main_window(), and tree_insert_jump_option_menu().
void AW_window::insert_default_option | ( | AW_label | choice_label, |
const char * | mnemonic, | ||
const char * | var_value, | ||
const char * | name_of_color = NULp |
||
) |
Definition at line 261 of file AW_option_toggle.cxx.
Referenced by AW_preset_create_font_chooser(), AWT_insert_DBcompression_selector(), AWT_insert_DBsaveType_selector(), AWTC_create_common_next_neighbour_fields(), create_common_next_neighbour_fields(), QUERY::create_query_box(), DI_create_matrix_window(), ED4_pfold_select_SAI_and_update_option_menu(), ED4_root::generate_window(), popup_new_main_window(), and tree_insert_jump_option_menu().
void AW_window::insert_option | ( | AW_label | choice_label, |
const char * | mnemonic, | ||
int | var_value, | ||
const char * | name_of_color = NULp |
||
) |
Definition at line 262 of file AW_option_toggle.cxx.
void AW_window::insert_default_option | ( | AW_label | choice_label, |
const char * | mnemonic, | ||
int | var_value, | ||
const char * | name_of_color = NULp |
||
) |
Definition at line 263 of file AW_option_toggle.cxx.
void AW_window::insert_option | ( | AW_label | choice_label, |
const char * | mnemonic, | ||
float | var_value, | ||
const char * | name_of_color = NULp |
||
) |
Definition at line 264 of file AW_option_toggle.cxx.
void AW_window::insert_default_option | ( | AW_label | choice_label, |
const char * | mnemonic, | ||
float | var_value, | ||
const char * | name_of_color = NULp |
||
) |
Definition at line 265 of file AW_option_toggle.cxx.
void AW_window::update_option_menu | ( | ) |
Definition at line 268 of file AW_option_toggle.cxx.
References AW_at::attach_any, aw_attach_widget(), AW_option_menu_struct::correct_for_at_center_intern, increment_at_commands(), AW_option_menu_struct::label_widget, NULp, p_global, refresh_option_menu(), AW_at::saved_x, SPACE_BEHIND_BUTTON, AW_at::to_position_exists, and unset_at_commands().
Referenced by AW_preset_create_font_chooser(), AWT_insert_DBcompression_selector(), AWT_insert_DBsaveType_selector(), AWTC_create_common_next_neighbour_fields(), create_common_next_neighbour_fields(), QUERY::create_query_box(), DI_create_matrix_window(), ED4_pfold_select_SAI_and_update_option_menu(), ED4_root::generate_window(), MG_create_merge_species_window(), popup_new_main_window(), and tree_insert_jump_option_menu().
void AW_window::refresh_option_menu | ( | AW_option_menu_struct * | oms | ) |
Definition at line 300 of file AW_option_toggle.cxx.
References AW_root::awar(), AW_option_menu_struct::default_choice, AW_option_menu_struct::first_choice, get_root(), AW_option_menu_struct::label_widget, AW_widget_value_pair::next, NULp, root, AW_widget_value_pair::value, AW_option_menu_struct::variable_name, and AW_widget_value_pair::widget.
Referenced by aw_cp_awar_2_widget_cb(), and update_option_menu().
void AW_window::create_toggle_field | ( | const char * | awar_name, |
AW_label | label, | ||
AW_orientation | orientation = AW_VERTICAL |
||
) |
Begins a radio button group with a label
Definition at line 319 of file AW_option_toggle.cxx.
References aw_assert, and label().
Referenced by awt_radio_button::build_widget(), QUERY::create_query_box(), and insertShapeSelection().
void AW_window::create_toggle_field | ( | const char * | awar_name, |
AW_orientation | orientation = AW_VERTICAL |
||
) |
Begins a radio button group
var_name | name of awar |
orientation | layout of toggles (vertical or horizontal) |
Definition at line 329 of file AW_option_toggle.cxx.
References aw_xargs::add(), aw_xargs::assign_to_widget(), AW_at::attach_any, aw_attach_widget(), AW_HORIZONTAL, AW_WIDGET_TOGGLE_FIELD, AW_root::awar(), AW_at::correct_for_at_center, get_root(), INFO_FORM, INFO_WIDGET, AW_at::label_for_inputfield, AW_root::make_sensitive(), NULp, AW_root::number_of_toggle_fields, p_global, p_w, RES_CONVERT, root, AW_at::saved_x, AW_at::saved_xoff_for_label, AW_awar::tie_widget(), AW_window_Motif::toggle_field, AW_window_Motif::toggle_field_var_name, AW_window_Motif::toggle_field_var_type, AW_window_Motif::toggle_label, AW_awar::variable_type, AW_at::widget_mask, AW_at::x_for_next_button, and AW_at::y_for_next_button.
void AW_window::insert_toggle | ( | AW_label | toggle_label, |
const char * | mnemonic, | ||
const char * | var_value | ||
) |
Definition at line 493 of file AW_option_toggle.cxx.
Referenced by awt_radio_button::build_widget(), QUERY::create_query_box(), insert_fieldtype_toggles(), and insertShapeSelection().
void AW_window::insert_default_toggle | ( | AW_label | toggle_label, |
const char * | mnemonic, | ||
const char * | var_value | ||
) |
Definition at line 494 of file AW_option_toggle.cxx.
Referenced by awt_radio_button::build_widget().
Definition at line 495 of file AW_option_toggle.cxx.
void AW_window::insert_default_toggle | ( | AW_label | toggle_label, |
const char * | mnemonic, | ||
int | var_value | ||
) |
Definition at line 496 of file AW_option_toggle.cxx.
Definition at line 497 of file AW_option_toggle.cxx.
void AW_window::insert_default_toggle | ( | AW_label | toggle_label, |
const char * | mnemonic, | ||
float | var_value | ||
) |
Definition at line 498 of file AW_option_toggle.cxx.
void AW_window::update_toggle_field | ( | ) |
Definition at line 500 of file AW_option_toggle.cxx.
References get_root(), and refresh_toggle_field().
Referenced by awt_radio_button::build_widget(), QUERY::create_query_box(), and insertShapeSelection().
AW_selection_list * AW_window::create_selection_list | ( | const char * | awar_name, |
int | columns, | ||
int | rows | ||
) |
Definition at line 1215 of file AW_button.cxx.
References _callback, _d_callback, aw_xargs::add(), aw_xargs::assign_to_widget(), aw_assert, aw_attach_widget(), AW_server_callback(), AW_variable_update_callback(), AW_WIDGET_SELECTION_LIST, AW_root::awar(), AW_at::background_color, AW_at::correct_for_at_center, GB_STRING, increment_at_commands(), INFO_FORM, INFO_WIDGET, AW_at::label_for_inputfield, AW_root::make_sensitive(), NULp, p_global, root, scroll_sellist_dn(), scroll_sellist_up(), VarUpdateInfo::set_sellist(), AW_awar::tie_widget(), AW_at::to_position_exists, AW_at::to_position_x, AW_at::to_position_y, TUNE_INPUT, TuneBackground(), type, unset_at_commands(), AW_awar::variable_type, AW_at::widget_mask, AW_at::x_for_next_button, and AW_at::y_for_next_button.
Referenced by awt_create_CONFIG_selection_list(), awt_create_PTSERVER_selection_list(), awt_create_selection_list_with_input_field(), awt_create_TREE_selection_list(), buildClrTransTabNamesList(), File_selection::create_gui_elements(), create_itemfield_selection_list(), SelectionListSpec::create_list(), QUERY::create_query_box(), and createValNameList().
|
inline |
Definition at line 648 of file aw_window.hxx.
References create_selection_list().
Referenced by create_selection_list().
|
protected |
Definition at line 272 of file aw_window.hxx.
Referenced by clear_option_menu(), create_button(), create_input_field(), create_input_field_with_scaler(), create_mode(), create_option_menu(), create_selection_list(), create_text_field(), create_toggle_field(), get_root(), AW_window_menu_modes_opengl::init(), AW_window_menu_modes::init(), AW_window_menu::init(), AW_window_simple_menu::init(), AW_window_message::init(), insert_help_topic(), insert_menu_topic(), insert_sub_menu(), refresh_option_menu(), refresh_toggle_field(), and reset_layout().
AW_event AW_window::event |
Definition at line 283 of file aw_window.hxx.
Referenced by AW_inputCB_draw_area(), AW_motionCB(), and get_event().
unsigned long AW_window::click_time |
Definition at line 284 of file aw_window.hxx.
long AW_window::color_table_size |
Definition at line 285 of file aw_window.hxx.
Referenced by alloc_named_data_color(), and AW_area_management::create_devices().
AW_rgb* AW_window::color_table |
Definition at line 286 of file aw_window.hxx.
Referenced by alloc_named_data_color(), and AW_area_management::create_devices().
int AW_window::number_of_timed_title_changes |
Definition at line 287 of file aw_window.hxx.
Referenced by message(), and timed_window_title_cb().
AW_window_Motif* AW_window::p_w |
Definition at line 288 of file aw_window.hxx.
Referenced by alloc_named_data_color(), allow_delete_window(), AW_get_AreaWidget(), AW_map_AreaGC(), calculate_scrollbars(), close_sub_menu(), create_button(), create_devices(), create_menu(), create_mode(), create_toggle_field(), force_expose(), get_window_size(), hide(), AW_window_menu_modes_opengl::init(), AW_window_menu_modes::init(), AW_window_menu::init(), AW_window_simple_menu::init(), AW_window_message::init(), insert_help_topic(), insert_menu_topic(), insert_sub_menu(), message(), refresh_toggle_field(), run_popup_callbacks(), select_mode(), sep______________(), set_bottom_area_height(), set_horizontal_change_callback(), set_horizontal_scrollbar_left_indent(), set_horizontal_scrollbar_position(), set_info_area_height(), set_popup_callback(), set_vertical_change_callback(), set_vertical_scrollbar_position(), set_vertical_scrollbar_top_indent(), set_window_title(), set_window_title_intern(), show(), update_scrollbar_settings_from_awars(), wm_activate(), and ~AW_window().
AW_cb* AW_window::_callback |
Definition at line 289 of file aw_window.hxx.
Referenced by _set_activate_callback(), callback(), create_button(), create_input_field(), create_input_field_with_scaler(), create_selection_list(), create_text_field(), and unset_at_commands().
AW_cb* AW_window::_d_callback |
Definition at line 290 of file aw_window.hxx.
Referenced by create_input_field(), create_selection_list(), d_callback(), and unset_at_commands().
char* AW_window::window_name |
Definition at line 346 of file aw_window.hxx.
Referenced by aw_create_shell(), get_window_title(), AW_window_menu_modes_opengl::init(), and message().
char* AW_window::window_defaults_name |
window title
Definition at line 347 of file aw_window.hxx.
Referenced by aw_create_shell(), aw_size_awar_name(), create_button(), get_window_id(), AW_window_menu_modes_opengl::init(), AW_window_menu_modes::init(), AW_window_menu::init(), AW_window_simple_menu::init(), AW_window_message::init(), start_macro_cb(), and window_local_awarname().
int AW_window::slider_pos_vertical |
window id
Definition at line 349 of file aw_window.hxx.
Referenced by calculate_scrollbars(), drag_scroll_bar_vertical(), ed4_scroll(), ED4_scrollbar_change_cb(), ED4_vertical_change_cb(), MatrixDisplay::handle_move(), PH_display::monitor_vertical_scroll_cb(), MatrixDisplay::monitor_vertical_scroll_cb(), MatrixDisplay::scroll_cells(), scroll_vert_cb(), ED4_window::scrollbars_and_scrolledRect_inSync(), set_vertical_scrollbar_position(), ED4_window::update_scrolled_rectangle(), ED4_window::update_window_coords(), and value_changed_scroll_bar_vertical().
int AW_window::slider_pos_horizontal |
current position of the vertical slider
Definition at line 350 of file aw_window.hxx.
Referenced by calculate_scrollbars(), ED4_horizontal_change_cb(), ed4_scroll(), ED4_scrollbar_change_cb(), MatrixDisplay::handle_move(), ED4_cursor::jump_screen_pos(), PH_display::monitor_horizontal_scroll_cb(), MatrixDisplay::monitor_horizontal_scroll_cb(), MatrixDisplay::scroll_cells(), scroll_hor_cb(), ED4_window::scrollbars_and_scrolledRect_inSync(), set_horizontal_scrollbar_position(), ED4_cursor::set_screen_relative_pos(), ED4_window::update_scrolled_rectangle(), and ED4_window::update_window_coords().
bool AW_window::window_is_shown |
current position of the horizontal slider
Definition at line 352 of file aw_window.hxx.
Referenced by hide(), is_shown(), and show().
AW_screen_area* AW_window::picture |
Definition at line 354 of file aw_window.hxx.
Referenced by get_scrolled_picture_height(), get_scrolled_picture_width(), reset_scrolled_picture_size(), tell_scrolled_picture_size(), and ~AW_window().