ARB
|
#include <arbdb.h>
#include <ad_cb.h>
#include <aw_global_awars.hxx>
#include <aw_awars.hxx>
#include <aw_root.hxx>
#include <aw_window.hxx>
Go to the source code of this file.
Macros | |
#define | TEMP_DB_PATH "tmp/global_awars" |
#define | OPENURL "xdg-open" |
#define | MAX_GLOBAL_AWARS 5 |
Functions | |
const char * | get_db_path (const AW_awar *awar) |
static void | awar_updated_cb (AW_root *, AW_awar *awar) |
static void | db_updated_cb (GBDATA *gbd, AW_awar *awar) |
bool | ARB_global_awars_initialized () |
bool | ARB_in_expert_mode (AW_root *awr) |
static void | AWAR_AWM_MASK_changed_cb (AW_root *awr) |
static void | AWAR_AW_FOCUS_FOLLOWS_MOUSE_changed_cb (AW_root *awr) |
void | declare_awar_global (AW_awar *awar) |
void | ARB_declare_global_awars (AW_root *aw_root, AW_default aw_def) |
GB_ERROR | ARB_bind_global_awars (GBDATA *gb_main) |
Variables | |
static GBDATA * | gb_main4awar = NULp |
static bool | in_global_awar_cb = false |
static bool | initialized = false |
static AW_awar * | declared_awar [MAX_GLOBAL_AWARS] |
static int | declared_awar_count = 0 |
#define TEMP_DB_PATH "tmp/global_awars" |
Definition at line 13 of file AW_global_awars.cxx.
Referenced by get_db_path().
#define OPENURL "xdg-open" |
Definition at line 119 of file AW_global_awars.cxx.
Referenced by ARB_declare_global_awars().
#define MAX_GLOBAL_AWARS 5 |
Definition at line 122 of file AW_global_awars.cxx.
Referenced by declare_awar_global().
Definition at line 24 of file AW_global_awars.cxx.
References AW_awar::awar_name, GBS_global_string(), and TEMP_DB_PATH.
Referenced by awar_updated_cb(), and AW_awar::make_global().
Definition at line 30 of file AW_global_awars.cxx.
References aw_assert, GB_FIND, GB_search(), GB_write_string(), get_db_path(), in_global_awar_cb, AW_awar::read_as_string(), and ta.
Referenced by AW_awar::make_global().
Definition at line 45 of file AW_global_awars.cxx.
References GB_read_char_pntr(), in_global_awar_cb, ta, and AW_awar::write_as_string().
Referenced by AW_awar::make_global().
bool ARB_global_awars_initialized | ( | ) |
Definition at line 90 of file AW_global_awars.cxx.
References initialized.
Referenced by ARB_in_expert_mode(), and awt_create_aww_vars().
bool ARB_in_expert_mode | ( | AW_root * | awr | ) |
Definition at line 94 of file AW_global_awars.cxx.
References ARB_global_awars_initialized(), aw_assert, AW_root::awar(), AWAR_AWM_MASK, AWM_MASK_EXPERT, and AW_awar::read_int().
Referenced by ARB_in_novice_mode(), DI_create_matrix_window(), and species_rename_handler().
|
static |
Definition at line 100 of file AW_global_awars.cxx.
References AW_root::apply_sensitivity(), AW_root::awar(), AWAR_AWM_MASK, and AW_awar::read_int().
Referenced by ARB_declare_global_awars().
|
static |
Definition at line 108 of file AW_global_awars.cxx.
References AW_root::apply_focus_policy(), AW_root::awar(), AWAR_AW_FOCUS_FOLLOWS_MOUSE, and AW_awar::read_int().
Referenced by ARB_declare_global_awars().
|
inline |
Definition at line 127 of file AW_global_awars.cxx.
References aw_assert, and MAX_GLOBAL_AWARS.
Referenced by ARB_declare_global_awars().
void ARB_declare_global_awars | ( | AW_root * | aw_root, |
AW_default | aw_def | ||
) |
Definition at line 132 of file AW_global_awars.cxx.
References AW_awar::add_callback(), aw_assert, AWAR_ARB_TREE_RENAMED, AWAR_AW_FOCUS_FOLLOWS_MOUSE, AWAR_AW_FOCUS_FOLLOWS_MOUSE_changed_cb(), AWAR_AWM_MASK, AWAR_AWM_MASK_changed_cb(), AW_root::awar_int(), AWAR_SAVED_DB_PATH, AW_root::awar_string(), AWAR_WWW_BROWSER, AWM_MASK_UNKNOWN, declare_awar_global(), AW_root::focus_follows_mouse, and OPENURL.
Referenced by ARB_init_global_awars(), and startup_gui().
Definition at line 146 of file AW_global_awars.cxx.
References aw_assert, error(), gb_main, initialized, AW_awar::make_global(), and NULp.
Referenced by ARB_init_global_awars(), and nt_create_all_awars().
Definition at line 22 of file AW_global_awars.cxx.
|
static |
Definition at line 28 of file AW_global_awars.cxx.
Referenced by awar_updated_cb(), and db_updated_cb().
|
static |
Definition at line 88 of file AW_global_awars.cxx.
Referenced by ARB_bind_global_awars(), and ARB_global_awars_initialized().
|
static |
Definition at line 124 of file AW_global_awars.cxx.
|
static |
Definition at line 125 of file AW_global_awars.cxx.