72 if (name) colorsetNames.
put(name);
120 for (
size_t d = 0; d<colorsetDefs.
size(); ++d) {
121 buffer.
cat(colorsetDefs[d]);
void cut_tail(size_t byte_count)
void put(const char *elem)
GBDATA * GBT_colorset_root(GBDATA *gb_main, const char *itemsname)
long GB_read_int(GBDATA *gbd)
GBDATA * GB_nextEntry(GBDATA *entry)
GBDATA * GBT_find_or_create_colorset(GBDATA *gb_colorset_root, const char *name)
const char * GBS_global_string(const char *templat,...)
void cat(const char *from)
char buffer[MESSAGE_BUFFERSIZE]
GB_ERROR GB_delete(GBDATA *&source)
GB_ERROR GB_await_error()
char * GBT_read_string(GBDATA *gb_container, const char *fieldpath)
int GBT_get_color_group(GBDATA *gb_item)
#define GB_COLORGROUP_ENTRY
static void error(const char *msg)
GB_ERROR GBT_save_colorset(GBDATA *gb_colorset, CharPtrArray &colorsetDefs)
GB_ERROR GBT_load_colorset(GBDATA *gb_colorset, ConstStrArray &colorsetDefs)
GB_ERROR GBT_write_string(GBDATA *gb_container, const char *fieldpath, const char *content)
GBDATA * GBT_find_colorset(GBDATA *gb_colorset_root, const char *name)
const char * get_data() const
const char * GBT_get_name(GBDATA *gb_item)
void GBT_get_colorset_names(ConstStrArray &colorsetNames, GBDATA *gb_colorset_root)
GBDATA * GBT_find_item_rel_item_data(GBDATA *gb_item_data, const char *id_field, const char *id_value)
GB_ERROR GBT_write_int(GBDATA *gb_container, const char *fieldpath, long content)
GB_ERROR GBT_set_color_group(GBDATA *gb_item, int color_group)
GBDATA * GB_search(GBDATA *gbd, const char *fieldpath, GB_TYPES create)
void GBT_splitNdestroy_string(ConstStrArray &names, char *&namelist, const char *separator, SplitMode mode)
GBDATA * GBT_find_or_create_item_rel_item_data(GBDATA *gb_item_data, const char *itemname, const char *id_field, const char *id, bool markCreated)
GBDATA * GB_entry(GBDATA *father, const char *key)