21 #define aw_assert(bed) arb_assert(bed)
24 #if defined(ASSERTION_USED)
25 #define legal_mask(m) (((m)&AWM_ALL) == (m))
26 #endif // ASSERTION_USED
36 char *
aw_input(
const char *
title,
const char *prompt,
const char *default_input);
37 char *
aw_input(
const char *prompt,
const char *default_input);
92 void create_colormap();
95 void exit_variables();
97 void init_root(
const char *programname,
bool no_exit);
99 AW_default load_properties(
const char *default_name);
129 #if defined(UNIT_TESTS) // UT_DIFF
130 AW_root(
const char *properties, UnittestMock mock);
163 return aw_props ? aw_props : application_database;
186 size_t callallcallbacks(
int mode);
206 #error aw_root.hxx included twice
void track_action(const char *) OVERRIDE
enum AW_root::@65 color_mode
void define_remote_command(class AW_cb *cbs)
bool ARB_global_awars_initialized()
AW_root(const char *propertyFile, const char *program, bool no_exit, UserActionTracker *user_tracker)
virtual void track_action(const char *action_id)=0
__ATTR__USERESULT_TODO GB_ERROR ARB_init_global_awars(AW_root *aw_root, AW_default aw_def, GBDATA *gb_main)
GB_HASH * hash_for_windows
bool remove_button_from_sens_list(Widget button)
AW_awar * label_is_awar(const char *label)
void aw_set_local_message()
UserActionTracker * get_tracker()
GB_ERROR save_properties(const char *filename=NULp) __ATTR__USERESULT
bool ARB_in_expert_mode(AW_root *awr)
void dont_save_awars_with_default_value(GBDATA *gb_db)
AW_window * current_modal_window
int y_correction_for_input_labels
virtual bool is_replaceable() const =0
void add_timed_callback_never_disabled(int ms, const TimedCallback &tcb)
void add_timed_callback(int ms, const TimedCallback &tcb)
AW_cb * search_remote_command(const char *action)
void setUserActionTracker(UserActionTracker *user_tracker)
GB_HASH * hash_table_for_variables
char AW_ERROR_BUFFER[1024]
static AW_root * SINGLETON
AW_awar * awar_float(const char *var_name, float default_value=0.0, AW_default default_file=AW_ROOT_DEFAULT)
void process_pending_events()
AW_default check_properties(AW_default aw_props)
virtual ~UserActionTracker()
void track_awar_change(AW_awar *changed_awar)
AW_default get_AW_ROOT_DEFAULT()
void set_active(Widget w, bool active)
int number_of_option_menus
bool is_replaceable() const OVERRIDE
AW_awar * awar_no_error(const char *awar)
end timer stuff
bool ARB_in_novice_mode(AW_root *awr)
void set_tracking(bool track)
AW_awar * awar(const char *awar)
void unlink_awars_from_DB(GBDATA *gb_main)
AW_awar * awar_int(const char *var_name, long default_value=0, AW_default default_file=AW_ROOT_DEFAULT)
void apply_focus_policy(bool follow_mouse)
#define __ATTR__USERESULT
void make_sensitive(Widget w, AW_active mask)
void apply_sensitivity(AW_active mask)
UserActionTracker * getTracker()
virtual void track_awar_change(AW_awar *awar)=0
AW_ProcessEventType peek_key_event(AW_window *)
Widget changer_of_variable
char * aw_input(const char *title, const char *prompt, const char *default_input)
#define __ATTR__USERESULT_TODO
AW_awar * awar_string(const char *var_name, const char *default_value="", AW_default default_file=AW_ROOT_DEFAULT)
char * aw_modal_file_selection(const char *title, const char *dir, const char *def_name, const char *suffix)
AW_awar * awar_pointer(const char *var_name, GBDATA *default_value=NULp, AW_default default_file=AW_ROOT_DEFAULT)
int number_of_toggle_fields
void track_awar_change(AW_awar *) OVERRIDE
void ARB_declare_global_awars(AW_root *aw_root, AW_default aw_def)
struct _WidgetRec * Widget
void window_hide(AW_window *aww)
GB_ERROR ARB_bind_global_awars(GBDATA *gb_main) __ATTR__USERESULT
void track_action(const char *action_id)