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 | Public Attributes | Protected Member Functions | Friends | List of all members
GuiGlHudSettings Class Reference

Public Member Functions

 GuiGlHudSettings (GuiGlHudSettingsData &data, bool shared)
 
void set_data (GuiGlHudSettingsData &data, bool shared)
 
void add_option (const CoreString &label, bool value, unsigned int id, const CoreString &tip="", const CoreString &subgroup="", bool same_row=false)
 
void add_title (const CoreString &label, bool value, unsigned int id, const CoreString &tip="")
 
void add_option (const CoreString &label, double value, unsigned int id, const CoreString &tip="", const CoreString &subgroup="", bool same_row=false)
 
void add_option (const CoreString &label, const GMathVec2d &value, unsigned int id, const CoreString &tip="", const CoreString &subgroup="", bool same_row=false)
 
void add_option (const CoreString &label, long value, const CoreArray< CoreString > &presets, unsigned int id, const CoreString &tip="", const CoreString &subgroup="", bool same_row=false)
 
bool get_value_by_id (unsigned int id) const
 for compatibility
 
bool get_bool_by_id (unsigned int id) const
 
double get_double_by_id (unsigned int id) const
 
GMathVec2d get_vec2d_by_id (unsigned int id) const
 
long get_long_by_id (unsigned int id) const
 
void create_pref (AppPreferences &prefs)
 

Static Public Member Functions

static void sync_hud_prefs (const CoreString &pref_category_name, const OfAttr &other_class_changing_attr)
 

Public Attributes

bool m_show_overlay
 

Protected Member Functions

GuiGlHudSettingsData::Type get_type (unsigned int i) const
 
const CoreStringget_label (unsigned int i) const
 
bool get_bool (unsigned int i) const
 
void set_bool (const int i, bool value)
 
double get_double (unsigned int i) const
 
void set_double (const int i, double value)
 
GMathVec2d get_vec2d (unsigned int i) const
 
void set_vec2d (const int i, const GMathVec2d &value)
 
long get_long (unsigned int i) const
 
void set_long (const int i, long value)
 
void set_values (const CoreVector< GuiGlHudSettingsData::Value > &values)
 
void get_values (CoreVector< GuiGlHudSettingsData::Value > &values) const
 
unsigned int get_count () const
 
void load_pref (AppPreferences &prefs)
 
void save_pref (AppPreferences &prefs) const
 

Friends

class GuiGlWidget
 
class GuiGlHudOptions