ARB
|
#include "ed4_flags.hxx"
#include "ed4_class.hxx"
#include <item_sel_list.h>
#include <awt_config_manager.hxx>
#include <aw_awar.hxx>
#include <aw_root.hxx>
#include <arbdbt.h>
#include <arb_strbuf.h>
Go to the source code of this file.
Macros | |
#define | MAX_SPECIES_FLAGS 5 |
#define | AWAR_FLAGS_PREFIX "arb_edit/flags" |
#define | AWAR_FLAGS_ENABLED AWAR_FLAGS_PREFIX "/display" |
#define | AWAR_FLAG_PREFIX_TEMPLATE AWAR_FLAGS_PREFIX "/flag%i" |
#define | AWAR_FLAG_ENABLE_TEMPLATE AWAR_FLAG_PREFIX_TEMPLATE "/enable" |
#define | AWAR_FLAG_HEADER_TEMPLATE AWAR_FLAG_PREFIX_TEMPLATE "/header" |
#define | AWAR_FLAG_FIELD_TEMPLATE AWAR_FLAG_PREFIX_TEMPLATE "/field" |
#define | MAX_AWARNAME_LENGTH 40 |
Functions | |
const char * | awarname (const char *awarname_template, int idx) |
static void | header_changed_cb (AW_root *) |
static void | init_flag_awars () |
const char * | settingName (const char *name, int idx) |
static void | setup_species_flags_config (AWT_config_definition &cfg) |
AW_window * | ED4_configure_species_flags (AW_root *root, GBDATA *gb_main) |
Variables | |
static AWT_predefined_config | predefined_flag_setup [] |
#define MAX_SPECIES_FLAGS 5 |
Definition at line 26 of file ED4_flags.cxx.
Referenced by awarname(), ED4_configure_species_flags(), init_flag_awars(), and setup_species_flags_config().
#define AWAR_FLAGS_PREFIX "arb_edit/flags" |
Definition at line 28 of file ED4_flags.cxx.
#define AWAR_FLAGS_ENABLED AWAR_FLAGS_PREFIX "/display" |
Definition at line 29 of file ED4_flags.cxx.
Referenced by ED4_configure_species_flags(), init_flag_awars(), and setup_species_flags_config().
#define AWAR_FLAG_PREFIX_TEMPLATE AWAR_FLAGS_PREFIX "/flag%i" |
Definition at line 30 of file ED4_flags.cxx.
#define AWAR_FLAG_ENABLE_TEMPLATE AWAR_FLAG_PREFIX_TEMPLATE "/enable" |
Definition at line 31 of file ED4_flags.cxx.
Referenced by ED4_configure_species_flags(), init_flag_awars(), and setup_species_flags_config().
#define AWAR_FLAG_HEADER_TEMPLATE AWAR_FLAG_PREFIX_TEMPLATE "/header" |
Definition at line 32 of file ED4_flags.cxx.
Referenced by ED4_configure_species_flags(), init_flag_awars(), and setup_species_flags_config().
#define AWAR_FLAG_FIELD_TEMPLATE AWAR_FLAG_PREFIX_TEMPLATE "/field" |
Definition at line 33 of file ED4_flags.cxx.
Referenced by ED4_configure_species_flags(), init_flag_awars(), SpeciesFlag::prepare_itemfield(), and setup_species_flags_config().
#define MAX_AWARNAME_LENGTH 40 |
Definition at line 35 of file ED4_flags.cxx.
Referenced by awarname().
Definition at line 37 of file ED4_flags.cxx.
References buffer, e4_assert, MAX_AWARNAME_LENGTH, and MAX_SPECIES_FLAGS.
Referenced by color_group_name_changed_cb(), content_matrix_cell(), ED4_configure_species_flags(), init_flag_awars(), matrix_config_changed_cb(), SpeciesFlag::prepare_itemfield(), ReplaceArgs(), sai_transtab_awar(), and setup_species_flags_config().
|
static |
Definition at line 50 of file ED4_flags.cxx.
References ED4_request_relayout(), and SpeciesFlags::forget().
Referenced by init_flag_awars().
|
static |
Definition at line 55 of file ED4_flags.cxx.
References AW_awar::add_callback(), AWAR_FLAG_ENABLE_TEMPLATE, AWAR_FLAG_FIELD_TEMPLATE, AWAR_FLAG_HEADER_TEMPLATE, AWAR_FLAGS_ENABLED, AW_root::awar_int(), AW_root::awar_string(), awarname(), ED4_ROOT, ED4_root::get_gb_main(), header_changed_cb(), initialized, MAX_SPECIES_FLAGS, NULp, and AW_root::SINGLETON.
Definition at line 184 of file ED4_flags.cxx.
References buffer, BUFSIZE, and e4_assert.
Referenced by setup_species_flags_config().
|
static |
Definition at line 196 of file ED4_flags.cxx.
References AWT_config_definition::add(), AWAR_FLAG_ENABLE_TEMPLATE, AWAR_FLAG_FIELD_TEMPLATE, AWAR_FLAG_HEADER_TEMPLATE, AWAR_FLAGS_ENABLED, awarname(), MAX_SPECIES_FLAGS, and settingName().
Referenced by ED4_configure_species_flags().
Definition at line 213 of file ED4_flags.cxx.
References AW_window::at(), AW_POPDOWN(), AW_ROOT_DEFAULT, AWAR_FLAG_ENABLE_TEMPLATE, AWAR_FLAG_FIELD_TEMPLATE, AWAR_FLAG_HEADER_TEMPLATE, AWAR_FLAGS_ENABLED, awarname(), AWT_insert_config_manager(), create_itemfield_selection_button(), FIELD_FILTER_BYTE_WRITEABLE, makeHelpCallback(), MAX_SPECIES_FLAGS, NULp, setup_species_flags_config(), SF_ALLOW_NEW, and SPECIES_get_selector().
Referenced by ED4_root::generate_window().
|
static |
Definition at line 206 of file ED4_flags.cxx.