Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
AppCategoryPreferences Class Reference

Public Member Functions

 AppCategoryPreferences (AppPreferences *prefs, const CoreString &name)
 
 AppCategoryPreferences (const AppCategoryPreferences &src)
 
void operator= (const AppCategoryPreferences &category)
 
CoreString get_name () const
 
AppItemPreferences add_bool (const CoreString &item_name, const bool &value, AppPreferences::InitPrefCallback callback_init=0, AppPreferences::ChangePrefCallback callback_changed=0, const CoreString &group="", void *callback_data=0)
 
AppItemPreferences add_long (const CoreString &item_name, const long &value, const CoreString &unit="", AppPreferences::InitPrefCallback callback_init=0, AppPreferences::ChangePrefCallback callback_changed=0, const CoreString &group="", void *callback_data=0)
 
AppItemPreferences add_double (const CoreString &item_name, const double &value, const CoreString &unit="", AppPreferences::InitPrefCallback callback_init=0, AppPreferences::ChangePrefCallback callback_changed=0, const CoreString &group="", void *callback_data=0)
 
AppItemPreferences add_string (const CoreString &item_name, const CoreString &value, AppPreferences::InitPrefCallback callback_init=0, AppPreferences::ChangePrefCallback callback_changed=0, const CoreString &group="", void *callback_data=0)
 
AppItemPreferences add_open_file (const CoreString &item_name, const CoreString &value, AppPreferences::InitPrefCallback callback_init=0, AppPreferences::ChangePrefCallback callback_changed=0, const CoreString &group="", void *callback_data=0)
 
AppItemPreferences add_open_folder (const CoreString &item_name, const CoreString &value, AppPreferences::InitPrefCallback callback_init=0, AppPreferences::ChangePrefCallback callback_changed=0, const CoreString &group="", void *callback_data=0)
 
AppItemPreferences add_save_file (const CoreString &item_name, const CoreString &value, AppPreferences::InitPrefCallback callback_init=0, AppPreferences::ChangePrefCallback callback_changed=0, const CoreString &group="", void *callback_data=0)
 
AppItemPreferences add_color (const CoreString &item_name, const AppPreferences::ColorDepth &depth, AppPreferences::InitPrefCallback callback_init=0, AppPreferences::ChangePrefCallback callback_changed=0, const CoreString &group="", void *callback_data=0)
 
AppItemPreferences add_vec2d (const CoreString &item_name, const GMathVec2d &value, const CoreString &unit="", AppPreferences::InitPrefCallback callback_init=0, AppPreferences::ChangePrefCallback callback_changed=0, const CoreString &group="", void *callback_data=0)
 
bool set_bool_value (const CoreString &item_name, const bool &value)
 
bool set_long_value (const CoreString &item_name, const long &value)
 
bool set_double_value (const CoreString &item_name, const double &value)
 
bool set_string_value (const CoreString &item_name, const CoreString &value)
 
bool set_color_value (const CoreString &item_name, const double &value, const unsigned int &index)
 
bool set_rgba_value (const CoreString &item_name, const GMathVec4d &rgba)
 
bool set_vec2d_value (const CoreString &item_name, const GMathVec2d &rgxyba)
 
bool set_preset_value (const CoreString &item_name, const CoreString &str_value)
 
bool get_bool_value (const CoreString &item_name) const
 
long get_long_value (const CoreString &item_name) const
 
double get_double_value (const CoreString &item_name) const
 
CoreString get_string_value (const CoreString &item_name) const
 
double get_color_value (const CoreString &item_name, const unsigned int &index) const
 
GMathVec2d get_vec2d_value (const CoreString &item_name) const
 
CoreString get_preset_label (const CoreString &item_name, const unsigned int &index) const
 
CoreString get_preset_value (const CoreString &item_name, const unsigned int &index) const
 
int get_preset_value_count (const CoreString &item_name) const
 
bool remove_all_presets (const CoreString &item_name)
 
bool add_preset_value (const CoreString &item_name, const CoreString &title, const CoreString &value)
 
bool set_numeric_range (const CoreString &item_name, const double &min, const double &max)
 
bool enable_range (const CoreString &item_name, const bool &value)
 
bool set_numeric_ui_range (const CoreString &item_name, const double &min, const double &max)
 
bool enable_ui_range (const CoreString &item_name, const bool &value)
 
bool set_read_only (const CoreString &item_name, const bool &value)
 
bool set_doc (const CoreString &item_name, const CoreString &text)
 
bool set_hidden (const bool &value)
 
bool set_hidden (const CoreString &item_name, const bool &value)
 
bool set_filename_extensions (const CoreString &item_name, const CoreVector< CoreString > &extensions)
 
bool set_saveable (const CoreString &item_name, const bool &flag)
 
bool set_saveable (const bool &flag)
 
bool add_value_validator (const CoreString &item_name, OfAttr::ValidatorBool validator, void *data=0)
 
bool add_value_validator (const CoreString &item_name, OfAttr::ValidatorLong validator, void *data=0)
 
bool add_value_validator (const CoreString &item_name, OfAttr::ValidatorDouble validator, void *data=0)
 
bool add_value_validator (const CoreString &item_name, OfAttr::ValidatorString validator, void *data=0)
 
AppItemPreferences get_item (const CoreString &name)
 
bool item_exists (const CoreString &item_name) const
 
bool item_exists (const AppPreferences::Mode &force_mode, const CoreString &item_name) const
 
bool connect_attrs_change (AppPreferences::ChangePrefCallback object_change_callback, void *data=0)
 
bool disconnect_attrs_change (AppPreferences::ChangePrefCallback object_change_callback, void *data=0)
 
OfObjectget_object_category_from_vars ()
 

Static Public Member Functions

static CoreString get_category_name (const OfObject &category_object)
 
static CoreString get_category_name (const CoreString &category_name)