33 "Are you sure to delete species ??\n"
34 "This will destroy primary data !!!"))
40 GBDATA *gb_species, *gb_next;
50 error = ta.
close(error);
61 static std::map<std::string,AW_window*> tree_select_windows;
62 if (tree_select_windows.find(awar_tree) == tree_select_windows.end()) {
63 AW_window_simple *aws =
new AW_window_simple;
65 const char *
id = strrchr(awar_tree,
'/');
70 aws->load_xfig(
"select_simple.fig");
76 aws->auto_space(5, 5);
77 aws->button_length(6);
81 aws->create_button(
"CLOSE",
"CLOSE",
"C");
84 aws->help_text(
"treeadm.hlp");
85 aws->create_button(
"MODIFY",
"ADMIN",
"A");
87 tree_select_windows[awar_tree] = aws;
89 return tree_select_windows[awar_tree];
106 awar_def_ali->
map(gb_use);
111 if (aw_popmedown) aw_popmedown->
hide();
120 static AW_window_simple *aws =
NULp;
122 aws =
new AW_window_simple;
124 aws->init(awr,
"SELECT_ALIGNMENT",
"SELECT AN ALIGNMENT");
125 aws->load_xfig(
"select_simple.fig");
127 aws->at(
"selection");
131 aws->auto_space(5, 5);
132 aws->button_length(6);
136 aws->create_button(
"CLOSE",
"CLOSE",
"C");
139 aws->help_text(
"ad_align.hlp");
140 aws->create_button(
"MODIFY",
"ADMIN",
"A");
GBDATA * GBT_first_marked_species(GBDATA *gb_main)
AW_window * ALI_create_admin_window(AW_root *root, AliAdmin *admin)
#define GB_DEFAULT_ALIGNMENT
const char * GBT_name_of_bottom_tree(GBDATA *gb_main)
#define AWAR_DEFAULT_ALIGNMENT
const char * GBS_global_string(const char *templat,...)
AW_DB_selection * awt_create_TREE_selection_list(GBDATA *gb_main, AW_window *aws, const char *varname)
void AW_POPDOWN(AW_window *window)
void NT_create_alignment_vars(AW_root *aw_root, AW_default aw_def, GBDATA *gb_main)
void NT_delete_mark_all_cb(AW_window *, TREE_canvas *ntw)
AW_awar * add_callback(const RootCallback &cb)
GB_ERROR GB_delete(GBDATA *&source)
AW_window * NT_create_select_alignment_window(AW_root *awr)
void awt_auto_popdown_cb(AW_root *, AW_window_simple *aw_popup)
void popup_tree_admin_window(AW_window *awp)
AW_window * NT_create_select_tree_window(AW_root *awr, const char *awar_tree)
AW_window * NT_create_alignment_admin_window(AW_root *root, AW_window *aw_popmedown)
static void error(const char *msg)
GBDATA * GBT_next_marked_species(GBDATA *gb_species)
AW_awar * awar(const char *awar)
AW_DB_selection * awt_create_ALI_selection_list(GBDATA *gb_main, AW_window *aws, const char *varname, const char *ali_type_match)
bool aw_ask_sure(const char *unique_id, const char *msg)
GB_ERROR close(GB_ERROR error)
AW_awar * map(const char *awarn)
void aw_message(const char *msg)
void NT_select_bottom_tree(AW_window *aww, const char *awar_tree)
GB_ERROR write_string(const char *aw_string)
GB_transaction ta(gb_var)
AW_awar * awar_string(const char *var_name, const char *default_value="", AW_default default_file=AW_ROOT_DEFAULT)
GBDATA * GB_search(GBDATA *gbd, const char *fieldpath, GB_TYPES create)