ARB
|
#include "nds.h"
#include <awt_config_manager.hxx>
#include <awt_sel_boxes.hxx>
#include <aw_awar.hxx>
#include <aw_file.hxx>
#include <aw_msg.hxx>
#include <aw_root.hxx>
#include <aw_select.hxx>
#include <TreeNode.h>
#include <items.h>
#include <item_sel_list.h>
#include <gb_aci.h>
#include <arb_msg_fwd.h>
#include <arb_global_defs.h>
#include <arb_strbuf.h>
Go to the source code of this file.
Classes | |
class | NodeTextBuilder |
Macros | |
#define | nds_assert(cond) arb_assert(cond) |
#define | NDS_PER_PAGE 10 |
#define | NDS_PAGES 6 |
#define | NDS_COUNT (NDS_PER_PAGE*NDS_PAGES) |
#define | AWAR_NDS_USE_ALL "arb_presets/all" |
#define | AWAR_NDS_PAGE "arb_presets/page" |
#define | VIEWKEY_LENGTH_MAX 1000000 |
Variables | |
static bool | in_pre_update = false |
#define nds_assert | ( | cond | ) | arb_assert(cond) |
Definition at line 30 of file nds.cxx.
Referenced by map_viewkey(), map_viewkeys(), NodeTextBuilder::max_columns(), viewkeyAwarName(), and NodeTextBuilder::work().
#define NDS_PER_PAGE 10 |
Definition at line 32 of file nds.cxx.
Referenced by NodeTextBuilder::init(), map_viewkeys(), NDS_create_window(), nds_delete_database_entries(), nds_init_config(), and viewkeyAwarName().
#define NDS_PAGES 6 |
Definition at line 33 of file nds.cxx.
Referenced by map_viewkeys(), and NDS_create_window().
#define NDS_COUNT (NDS_PER_PAGE*NDS_PAGES) |
Definition at line 35 of file nds.cxx.
Referenced by map_viewkeys(), nds_delete_database_entries(), nds_maintain_viewkeys(), nds_restore_config(), and NodeTextBuilder::NodeTextBuilder().
#define AWAR_NDS_USE_ALL "arb_presets/all" |
Definition at line 37 of file nds.cxx.
Referenced by nds_create_vars(), and NDS_create_window().
#define AWAR_NDS_PAGE "arb_presets/page" |
Definition at line 38 of file nds.cxx.
Referenced by map_viewkeys(), NDS_create_window(), and nds_restore_config().
#define VIEWKEY_LENGTH_MAX 1000000 |
Definition at line 97 of file nds.cxx.
Referenced by nds_length_changed_cb(), and nds_maintain_viewkeys().
Definition at line 84 of file nds.cxx.
References GBS_global_string(), nds_assert, and NDS_PER_PAGE.
Referenced by NDS_create_window(), nds_init_config(), and viewkeyAwar().
|
inline |
Definition at line 89 of file nds.cxx.
References AW_root::awar_int(), AW_root::awar_string(), NULp, and viewkeyAwarName().
Referenced by map_viewkey().
Definition at line 99 of file nds.cxx.
References AW_awar::read_int(), VIEWKEY_LENGTH_MAX, and AW_awar::write_int().
Referenced by map_viewkey().
|
static |
Definition at line 109 of file nds.cxx.
References AW_awar::add_callback(), GB_entry(), AW_awar::map(), nds_assert, nds_length_changed_cb(), and viewkeyAwar().
Referenced by map_viewkeys().
Definition at line 143 of file nds.cxx.
References AW_awar::add_callback(), AW_root::awar(), AW_root::awar_int(), AWAR_NDS_PAGE, GB_CREATE_CONTAINER, GB_entry(), GB_nextEntry(), GB_search(), initialized, map_viewkey(), nds_assert, NDS_COUNT, NDS_PAGES, NDS_PER_PAGE, NULp, AW_awar::read_int(), and ta.
Referenced by nds_create_vars().
|
static |
Definition at line 177 of file nds.cxx.
References GB_transaction::close(), error(), GB_await_error(), GB_child(), GB_create_container(), GB_delete(), GB_entry(), GB_FIND, GB_nextChild(), GB_nextEntry(), GB_read_key_pntr(), GB_search(), NDS_COUNT, NDS_PER_PAGE, NULp, and ta.
Referenced by nds_restore_config().
|
static |
Definition at line 217 of file nds.cxx.
References GB_transaction::close(), error(), GB_await_error(), GB_create(), GB_CREATE_CONTAINER, GB_create_container(), GB_delete(), GB_entry(), GB_nextEntry(), GB_read_char_pntr(), GB_read_int(), GB_search(), GB_searchOrCreate_int(), GB_searchOrCreate_string(), GB_STRING, GB_write_int(), GB_write_string(), GBS_global_string(), group, NDS_COUNT, NULp, ta, and VIEWKEY_LENGTH_MAX.
Referenced by nds_create_vars().
|
static |
Definition at line 357 of file nds.cxx.
References AW_root::awar_int(), AWAR_NDS_USE_ALL, GB_transaction::close(), error(), map_viewkeys(), nds_maintain_viewkeys(), and ta.
Referenced by NDS_create_vars(), and nds_restore_config().
void NDS_create_vars | ( | AW_root * | aw_root, |
AW_default | awdef, | ||
GBDATA * | gb_main | ||
) |
Definition at line 366 of file nds.cxx.
References aw_message_if(), and nds_create_vars().
Referenced by nt_create_all_awars(), and pars_create_all_awars().
Definition at line 370 of file nds.cxx.
Referenced by awt_pre_to_view(), and awt_select_pre_from_view().
|
static |
Definition at line 377 of file nds.cxx.
References AW_root::awar(), AWAR_SELECT_ACISRT, AWAR_SELECT_ACISRT_PRE, in_pre_update, AW_awar::read_char_pntr(), script_part_of(), and AW_awar::write_string().
Referenced by NDS_popup_select_srtaci_window().
|
static |
Definition at line 385 of file nds.cxx.
References AW_root::awar(), AWAR_SELECT_ACISRT, AWAR_SELECT_ACISRT_PRE, in_pre_update, AW_awar::read_char_pntr(), script_part_of(), and AW_awar::write_string().
Referenced by NDS_popup_select_srtaci_window().
Definition at line 406 of file nds.cxx.
References AW_window::activate(), AW_awar::add_callback(), aw_message(), AW_POPDOWN(), AW_root::awar(), AWAR_SELECT_ACISRT, AWAR_SELECT_ACISRT_PRE, AW_root::awar_string(), awt_pre_to_view(), awt_select_pre_from_view(), error(), GB_path_in_ARBLIB(), AW_window::get_root(), StorableSelectionList::load(), makeHelpCallback(), AW_awar::map(), NULp, and win.
Referenced by createDisplayField_window(), GEN_open_nds_window(), and NDS_create_window().
|
static |
Definition at line 450 of file nds.cxx.
References AWT_config_definition::add(), NDS_PER_PAGE, and viewkeyAwarName().
Referenced by nds_restore_config(), and nds_store_config().
|
static |
Definition at line 460 of file nds.cxx.
References nds_init_config(), and AWT_config_definition::read().
Referenced by NDS_create_window().
Definition at line 466 of file nds.cxx.
References aw_message(), aw_message_if(), AW_ROOT_DEFAULT, AW_root::awar(), AWAR_NDS_PAGE, GB_transaction::close(), AWT_config::config_string(), AWT_config::delete_entry(), error(), GB_export_errorf(), GBS_global_string(), GBS_global_string_copy(), AWT_config::get_entry(), group, AWT_config::has_entry(), NDS_COUNT, nds_create_vars(), nds_delete_database_entries(), nds_init_config(), NULp, AW_awar::read_int(), AWT_config_definition::reset(), AWT_config::set_entry(), AW_root::SINGLETON, ta, and AWT_config_definition::write().
Referenced by NDS_create_window().
Definition at line 586 of file nds.cxx.
References AW_POPDOWN(), AW_ROOT_DEFAULT, AWAR_NDS_PAGE, AWAR_NDS_USE_ALL, AWT_insert_config_manager(), create_itemfield_selection_button(), FIELD_FILTER_NDS, GBS_global_string(), GBS_global_string_copy(), makeHelpCallback(), NDS_PAGES, NDS_PER_PAGE, NDS_popup_select_srtaci_window(), nds_restore_config(), nds_store_config(), NULp, SPECIES_get_selector(), and viewkeyAwarName().
Referenced by pars_start_cb(), and popup_new_main_window().
Definition at line 750 of file nds.cxx.
References GBS_global_string_copy(), and NULp.
Referenced by NodeTextBuilder::work().
|
static |
Definition at line 959 of file nds.cxx.
Referenced by NDS_mask_nonprintable_chars().
Definition at line 974 of file nds.cxx.
References createReplaceTable(), and safeCharIndex().
Referenced by ED4_get_NDS_text(), GEN_make_node_text_nds(), and NodeTextBuilder::work().
|
static |
Definition at line 375 of file nds.cxx.
Referenced by awt_pre_to_view(), and awt_select_pre_from_view().