27 const InfoWindow *infoWin = InfoWindowRegistry::infowin.
find(aw_detached);
40 const char *itemname = itemType.
item_name;
44 char *Itemname = strdup(itemname); Itemname[0] = ITEMNAME[0];
51 window_title = strdup(
"<detaching>");
56 aws->
init(aw_root, window_id, window_title);
81 popup_detached_cb(aww,
this);
100 mainInfo->reactivate();
void button_length(int length)
const InfoWindow * find_maininfo_of_same_type_as(const InfoWindow &other)
const char * get_mapped_itemID_awarname() const
static void map_item_cb(AW_root *, const InfoWindow *infoWin)
void bind_to_selected_item() const
static const int MAIN_WINDOW
void on_hide(const WindowCallback &call_on_hide)
static void unlock_detached_cb(AW_window *, const InfoWindow *infoWin)
void(* add_selection_changed_cb)(AW_root *aw_root, const RootCallback &cb)
const char * GBS_global_string(const char *templat,...)
void(* detached_uppopper)(AW_window *, const InfoWindow *)
void init_info_window(AW_root *aw_root, AW_window_simple_menu *aws, const ItemSelector &itemType, int detach_id)
void map_selected_item() const
static InfoWindowRegistry infowin
void attach_selected_item() const
const InfoWindow * find(AW_window *aww)
void detach_selected_item(detached_uppopper popup_detached_cb) const
static void store_unused_detached_info_window_cb(AW_window *aw_detached)
char * ARB_strupper(char *s)
static void detach_selected_item_cb(AW_window *, InfoWindow::detached_uppopper popup_detached_cb, const InfoWindow *infoWin)
void create_autosize_button(const char *macro_name, AW_label label, const char *mnemonic=NULp, unsigned xtraSpace=1)
void auto_space(int xspace, int yspace)
void aw_message(const char *msg)
void add_detach_area(detached_uppopper popup_detached_cb) const
GBDATA * get_selected_item() const
void callback(const WindowCallback &cb)
static void display_selected_item_cb(AW_window *, const InfoWindow *infoWin)
void display_selected_item() const
char * GBS_global_string_copy(const char *templat,...)
void map_item(GBDATA *gb_item) const
void set_used(bool used_) const
void create_button(const char *macro_name, AW_label label, const char *mnemonic=NULp, const char *color=NULp)