Classes | Macros | Functions | Variables
nds.cxx File Reference
#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 dependency graph for nds.cxx:

Go to the source code of this file.


class  NodeTextBuilder


#define nds_assert(cond)   arb_assert(cond)
#define NDS_PER_PAGE   10
#define NDS_PAGES   6
#define AWAR_NDS_USE_ALL   "arb_presets/all"
#define AWAR_NDS_PAGE   "arb_presets/page"
#define NDS_STRING_SIZE   4000


const charviewkeyAwarName (int i, const char *name)
AW_awarviewkeyAwar (AW_root *aw_root, AW_default awdef, int i, const char *name, bool string_awar)
static void map_viewkey (AW_root *aw_root, AW_default awdef, int i, GBDATA *gb_viewkey)
static void map_viewkeys (AW_root *aw_root, GBDATA *awdef, GBDATA *gb_main)
void NDS_create_vars (AW_root *aw_root, AW_default awdef, GBDATA *gb_main, bool force_reinit)
static const charscript_part_of (const char *predef_entry)
static void awt_pre_to_view (AW_root *aw_root)
static void awt_select_pre_from_view (AW_root *aw_root, AW_selection_list *programs)
void NDS_popup_select_srtaci_window (AW_window *aww, const char *acisrt_awarname)
static void nds_init_config (AWT_config_definition &cdef)
static charnds_store_config ()
static void nds_restore_config (const char *stored, GBDATA *gb_main)
AW_windowNDS_create_window (AW_root *aw_root, GBDATA *gb_main)
static charquoted_if_containing_separator (const char *text, char separator)
static const charcreateReplaceTable ()
charNDS_mask_nonprintable_chars (char *const str)


static bool in_pre_update = false

Macro Definition Documentation

#define nds_assert (   cond)    arb_assert(cond)

Definition at line 29 of file nds.cxx.

Referenced by map_viewkey(), map_viewkeys(), viewkeyAwarName(), and NodeTextBuilder::work().

#define NDS_PER_PAGE   10
#define NDS_PAGES   6

Definition at line 32 of file nds.cxx.

Referenced by map_viewkeys(), and NDS_create_window().

#define AWAR_NDS_USE_ALL   "arb_presets/all"

Definition at line 36 of file nds.cxx.

Referenced by NDS_create_vars(), and NDS_create_window().

#define AWAR_NDS_PAGE   "arb_presets/page"

Definition at line 37 of file nds.cxx.

Referenced by map_viewkeys(), and NDS_create_window().

#define NDS_STRING_SIZE   4000

Definition at line 42 of file nds.cxx.

Function Documentation

const char* viewkeyAwarName ( int  i,
const char name 

Definition at line 134 of file nds.cxx.

References GBS_global_string(), nds_assert, and NDS_PER_PAGE.

Referenced by NDS_create_window(), nds_init_config(), and viewkeyAwar().

AW_awar* viewkeyAwar ( AW_root aw_root,
AW_default  awdef,
int  i,
const char name,
bool  string_awar 

Definition at line 139 of file nds.cxx.

References AW_root::awar_int(), AW_root::awar_string(), NULp, and viewkeyAwarName().

Referenced by map_viewkey().

static void map_viewkey ( AW_root aw_root,
AW_default  awdef,
int  i,
GBDATA gb_viewkey 

Definition at line 147 of file nds.cxx.

References GB_entry(), AW_awar::map(), nds_assert, AW_awar::set_minmax(), and viewkeyAwar().

Referenced by map_viewkeys().

static void map_viewkeys ( AW_root aw_root,
GBDATA awdef,
GBDATA gb_main 
void NDS_create_vars ( AW_root aw_root,
AW_default  awdef,
GBDATA gb_main,
bool  force_reinit 
static const char* script_part_of ( const char predef_entry)

Definition at line 300 of file nds.cxx.

Referenced by awt_pre_to_view(), and awt_select_pre_from_view().

static void awt_pre_to_view ( AW_root aw_root)
static void awt_select_pre_from_view ( AW_root aw_root,
AW_selection_list programs 
void NDS_popup_select_srtaci_window ( AW_window aww,
const char acisrt_awarname 
static void nds_init_config ( AWT_config_definition cdef)

Definition at line 380 of file nds.cxx.

References AWT_config_definition::add(), NDS_PER_PAGE, and viewkeyAwarName().

Referenced by nds_restore_config(), and nds_store_config().

static char* nds_store_config ( )

Definition at line 390 of file nds.cxx.

References nds_init_config(), and AWT_config_definition::read().

Referenced by NDS_create_window().

static void nds_restore_config ( const char stored,
GBDATA gb_main 
AW_window* NDS_create_window ( AW_root aw_root,
GBDATA gb_main 
static char* quoted_if_containing_separator ( const char text,
char  separator 

Definition at line 665 of file nds.cxx.

References GBS_global_string_copy(), and NULp.

Referenced by NodeTextBuilder::work().

static const char* createReplaceTable ( )

Definition at line 880 of file nds.cxx.

Referenced by NDS_mask_nonprintable_chars().

char* NDS_mask_nonprintable_chars ( char *const  str)

Definition at line 895 of file nds.cxx.

References createReplaceTable(), and safeCharIndex().

Referenced by ED4_get_NDS_text(), GEN_make_node_text_nds(), and NodeTextBuilder::work().

Variable Documentation

bool in_pre_update = false

Definition at line 305 of file nds.cxx.

Referenced by awt_pre_to_view(), and awt_select_pre_from_view().