ARB
|
#include "phylo.hxx"
#include "phwin.hxx"
#include "PH_display.hxx"
#include <awt_sel_boxes.hxx>
#include <aw_preset.hxx>
#include <aw_awar.hxx>
#include <aw_msg.hxx>
#include <awt.hxx>
#include <aw_root.hxx>
#include <arbdbt.h>
#include <arb_strarray.h>
#include <macros.hxx>
#include <aw_question.hxx>
Go to the source code of this file.
Functions | |
static bool | valid_alignment_selected (AW_root *aw_root, GBDATA *gb_main) |
static void | startup_sequence_cb (AW_window *alisel_window, AW_window *main_window, PH_root *ph_root) |
static __ATTR__NORETURN void | ph_exit (AW_window *aw_window, PH_root *ph_root) |
void | expose_cb () |
static void | resize_cb () |
static void | gc_changed_cb (GcChange whatChanged) |
static GB_ERROR | PH_create_ml_multiline_SAI (GB_CSTR sai_name, int nr, GBDATA **gb_sai_ptr, PH_root *ph_root) |
static void | PH_save_ml_multiline_cb (AW_window *aww, PH_root *ph_root) |
static void | PH_save_ml_cb (AW_window *aww, PH_root *ph_root) |
static AW_window * | PH_save_markerline (AW_root *root, PH_root *ph_root, int multi_line) |
static AW_window * | create_phyl_main_window (AW_root *aw_root, PH_root *ph_root) |
static AW_window * | create_select_alignment_window (AW_root *aw_root, AW_window *main_window, PH_root *ph_root) |
static void | create_variables (AW_root *aw_root, AW_default def, GBDATA *gb_main) |
int | ARB_main (int argc, char *argv[]) |
Variables | |
AW_HEADER_MAIN const char * | filter_text [FILTER_MODES] |
Definition at line 38 of file PH_main.cxx.
References AW_root::awar(), AWAR_PHYLO_ALIGNMENT, GB_clear_error(), GBT_get_alignment_len(), AW_awar::read_char_pntr(), and ta.
Referenced by startup_sequence_cb().
|
static |
Definition at line 48 of file PH_main.cxx.
References AW_window::activate(), aw_message(), AW_root::awar(), AWAR_PHYLO_ALIGNMENT, AWAR_PHYLO_FILTER_STARTCOL, AWAR_PHYLO_FILTER_STOPCOL, error(), gb_main, GB_set_cache_size(), GBK_terminate(), GBT_set_startup_alignment(), PH_root::get_gb_main(), AW_window::get_root(), PHDATA::get_seq_len(), AW_window::hide(), PHDATA::load(), PH_DB_CACHE_SIZE, ph_view_species_cb(), AW_awar::read_string(), PHDATA::ROOT, AW_awar::set_minmax(), valid_alignment_selected(), and AW_awar::write_int().
Referenced by ARB_main(), and create_select_alignment_window().
|
static |
Definition at line 86 of file PH_main.cxx.
References EXIT_SUCCESS, GB_close(), gb_main, PH_root::get_gb_main(), AW_window::get_root(), shutdown_macro_recording(), and AW_root::unlink_awars_from_DB().
Referenced by create_phyl_main_window(), and create_select_alignment_window().
void expose_cb | ( | ) |
Definition at line 103 of file PH_main.cxx.
References PH_display::clear_window(), DISP_NONE, PH_display::display(), and PH_display::ph_display.
Referenced by create_phyl_main_window(), gc_changed_cb(), TREE_install_update_callbacks(), and update_on_config_change_cb().
|
static |
Definition at line 110 of file PH_main.cxx.
References PH_display::display(), PH_display::ph_display, and PH_display::resized().
Referenced by create_phyl_main_window(), gc_changed_cb(), and TREE_install_update_callbacks().
|
static |
Definition at line 117 of file PH_main.cxx.
References expose_cb(), FALLTHROUGH, GC_COLOR_CHANGED, GC_COLOR_GROUP_USE_CHANGED, GC_FONT_CHANGED, ph_assert, and resize_cb().
Referenced by create_phyl_main_window().
|
static |
Definition at line 131 of file PH_main.cxx.
References AW_root::awar(), AWAR_PHYLO_FILTER_MAXHOM, AWAR_PHYLO_FILTER_MINHOM, AWAR_PHYLO_FILTER_STARTCOL, AWAR_PHYLO_FILTER_STOPCOL, buffer, digit(), error(), GB_await_error(), GB_child(), GB_delete(), GB_FIND, GB_fopen_tempfile(), GB_nextChild(), GB_read_key_pntr(), GB_remove_on_exit(), GB_search(), GB_STRING, GB_unique_filename(), GB_write_string(), GBS_global_string(), GBT_add_data(), GBT_find_or_create_SAI(), PH_root::get_gb_main(), AW_window::get_root(), PHDATA::get_seq_len(), PHDATA::markerline, NULp, ph_assert, ph_check_initialized(), PH_used_windows::phylo_main_window, AW_awar::read_int(), PHDATA::ROOT, and PH_used_windows::windowList.
Referenced by PH_save_ml_multiline_cb().
Definition at line 270 of file PH_main.cxx.
References aw_message_if(), AW_root::awar(), AWAR_PHYLO_MARKERLINENAME, GB_transaction::close(), error(), PH_root::get_gb_main(), AW_window::get_root(), NULp, PH_create_ml_multiline_SAI(), AW_awar::read_string(), and ta.
Referenced by PH_save_markerline().
Definition at line 295 of file PH_main.cxx.
References aw_message_if(), AW_root::awar(), AWAR_PHYLO_FILTER_MAXHOM, AWAR_PHYLO_FILTER_MINHOM, AWAR_PHYLO_FILTER_STARTCOL, AWAR_PHYLO_FILTER_STOPCOL, AWAR_PHYLO_MARKERLINENAME, buffer, GB_transaction::close(), error(), GB_await_error(), GB_BITS, GB_child(), GB_delete(), GB_FIND, gb_main, GB_nextChild(), GB_read_key_pntr(), GB_search(), GB_STRING, GB_write_bits(), GB_write_string(), GBT_add_data(), GBT_find_or_create_SAI(), PH_root::get_gb_main(), AW_window::get_root(), PHDATA::get_seq_len(), PHDATA::markerline, NULp, ph_check_initialized(), PH_used_windows::phylo_main_window, AW_awar::read_int(), AW_awar::read_string(), PHDATA::ROOT, ta, and PH_used_windows::windowList.
Referenced by PH_save_markerline().
Definition at line 393 of file PH_main.cxx.
References AW_POPDOWN(), AW_ROOT_DEFAULT, AWAR_PHYLO_MARKERLINENAME, AW_root::awar_string(), awt_create_SAI_selection_list(), PH_root::get_gb_main(), makeHelpCallback(), PH_save_ml_cb(), and PH_save_ml_multiline_cb().
Referenced by create_phyl_main_window().
Definition at line 431 of file PH_main.cxx.
References AW_window::at(), AW_window::auto_space(), AW_BOTTOM_AREA, AW_create_gc_window(), AW_GCM_DATA_AREA, AW_GCM_WINDOW_AREA, AW_insert_common_property_menu_entries(), AW_manage_GC(), AW_MIDDLE_AREA, AW_preset_window(), AW_save_properties(), awm, AWM_ALL, AW_window::button_length(), AW_window::callback(), AW_window::create_button(), AW_window::create_menu(), display_status_cb(), expose_cb(), gc_changed_cb(), AW_window::get_device(), AW_window::get_window_id(), AW_window::help_text(), AW_window_menu_modes::init(), insert_macro_menu_entry(), AW_window::insert_menu_topic(), makeHelpCallback(), NULp, ph_calc_filter_cb(), PH_create_filter_window(), ph_exit(), PH_GC_BOTTOM_DRAG, PH_GC_DRAG, PH_save_markerline(), resize_cb(), AW_window::sep______________(), AW_window::set_bottom_area_height(), AW_window::set_expose_callback(), AW_window::set_info_area_height(), and AW_window::set_resize_callback().
Referenced by ARB_main().
|
static |
Definition at line 517 of file PH_main.cxx.
References AWAR_PHYLO_ALIGNMENT, awt_create_ALI_selection_list(), PH_root::get_gb_main(), AW_window::load_xfig(), ph_exit(), and startup_sequence_cb().
Referenced by ARB_main().
|
static |
Definition at line 550 of file PH_main.cxx.
References AWAR_PHYLO_ALIGNMENT, AWAR_PHYLO_FILTER_FILTER, AW_root::awar_string(), and PH_create_filter_variables().
Referenced by ARB_main().
Definition at line 556 of file PH_main.cxx.
References ARB_init_global_awars(), ARB_strdup(), aw_initstatus(), aw_message_if(), aw_popup_exit(), AW_ROOT_DEFAULT, AW_root::awar(), AWAR_PHYLO_ALIGNMENT, AWT_create_root(), AWT_install_cb_guards(), configure_macro_recording(), create_phyl_main_window(), create_select_alignment_window(), create_variables(), error(), EXIT_FAILURE, EXIT_SUCCESS, GB_await_error(), gb_main, GB_pop_transaction(), GB_push_transaction(), GBS_global_string(), GBT_get_alignment_names(), GBT_get_default_alignment(), PH_root::get_gb_main(), AW_root::main_loop(), need_macro_ability(), NULp, PH_root::open(), PH_display::ph_display, PH_used_windows::phylo_main_window, AW_window::show(), startup_sequence_cb(), PH_used_windows::windowList, and AW_awar::write_string().
AW_HEADER_MAIN const char* filter_text[FILTER_MODES] |
Definition at line 29 of file PH_main.cxx.
Referenced by display_status_cb(), and PH_create_filter_window().