|
ARB
|
#include "items.h"#include <arb_msg.h>#include <arb_str.h>#include <aw_window.hxx>#include <arbdb.h>
Go to the source code of this file.
Functions | |
| const char * | ITEMS_get_key (ItemSelector &selector) |
| const char * | ITEMS_get_type_key (QUERY_ITEM_TYPE itemtype) |
| const char * | ITEMS_get_possible_former_itemname (ItemSelector &selector) |
| char * | itemTypeSpecificWindowID (QUERY_ITEM_TYPE itemtype, const char *window_id) |
| char * | itemSpecificWindowID (const ItemSelector &selector, const char *window_id, bool force_suffix) |
| void | init_itemType_specific_window (AW_root *aw_root, AW_window_simple *aws, const ItemSelector &itemType, const char *id, const char *title_format, bool plural) |
| void | init_item_specific_window (AW_root *aw_root, AW_window_simple *aws, const ItemSelector &itemType, const char *id, bool force_suffix, const char *title_format, bool plural) |
Variables | |
| static const char * | type_key [QUERY_ITEM_TYPES] |
| const char* ITEMS_get_key | ( | ItemSelector & | selector | ) |
Definition at line 21 of file itemtools.cxx.
References GBS_string_2_key(), and MutableItemSelector::items_name.
Referenced by colorset_data::get_items_key(), and itemSpecificWindowID().
| const char* ITEMS_get_type_key | ( | QUERY_ITEM_TYPE | itemtype | ) |
Definition at line 45 of file itemtools.cxx.
Referenced by colorset_data::get_items_type_key(), and itemTypeSpecificWindowID().
| const char* ITEMS_get_possible_former_itemname | ( | ItemSelector & | selector | ) |
Definition at line 49 of file itemtools.cxx.
References GB_check_key(), MutableItemSelector::item_name, NULp, and MutableItemSelector::type.
Referenced by create_modify_fields_window().
|
inline |
Definition at line 58 of file itemtools.cxx.
References ARB_strdup(), ARB_strupper(), GBS_global_string_copy(), ITEMS_get_type_key(), and speciesOrOrganism().
Referenced by init_itemType_specific_window().
|
inline |
Definition at line 70 of file itemtools.cxx.
References ARB_strdup(), GBS_global_string_copy(), MutableItemSelector::item_name, ITEMS_get_key(), QUERY_ITEM_SPECIES, and MutableItemSelector::type.
Referenced by init_item_specific_window().
| void init_itemType_specific_window | ( | AW_root * | aw_root, |
| AW_window_simple * | aws, | ||
| const ItemSelector & | itemType, | ||
| const char * | id, | ||
| const char * | title_format, | ||
| bool | plural | ||
| ) |
Definition at line 81 of file itemtools.cxx.
References GBS_global_string_copy(), MutableItemSelector::item_name, MutableItemSelector::items_name, itemTypeSpecificWindowID(), and MutableItemSelector::type.
Referenced by create_field_convert_window(), DBUI::create_field_create_window(), DBUI::create_field_delete_window(), and DBUI::create_fields_reorder_window().
| void init_item_specific_window | ( | AW_root * | aw_root, |
| AW_window_simple * | aws, | ||
| const ItemSelector & | itemType, | ||
| const char * | id, | ||
| bool | force_suffix, | ||
| const char * | title_format, | ||
| bool | plural | ||
| ) |
Init new window in an item specific manner.
| aw_root | window root. |
| aws | window to initialize. |
| itemType | specifies type of item. |
| id | the base macro id for this window. will be suffixed specific for itemtype. |
| force_suffix | force suffixing for normal 'species'? (false = similar to behavior of init_itemType_specific_window). recommended value is 'true'. |
| title_format | format string for title. |
| plural | use plural in title? |
Definition at line 90 of file itemtools.cxx.
References GBS_global_string_copy(), MutableItemSelector::item_name, MutableItemSelector::items_name, and itemSpecificWindowID().
Referenced by create_colorize_window(), create_modify_fields_window(), create_set_protection_window(), and create_writeFieldOfListed_window().
|
static |
Definition at line 37 of file itemtools.cxx.
1.8.8