Public Member Functions | Public Attributes | List of all members
gc_desc Struct Reference
Collaboration diagram for gc_desc:
Collaboration graph

Public Member Functions

 gc_desc (int gc_, gc_type type_)
bool is_color_group () const
bool belongs_to_range () const
int get_range_index () const
int get_color_index () const
const charparse_decl (const char *decl, const char *id_prefix)

Public Attributes

int gc
string colorlabel
string key
bool has_font
bool fixed_width_font
bool same_line
gc_type type

Detailed Description

Definition at line 162 of file AW_preset.cxx.

Constructor & Destructor Documentation

gc_desc::gc_desc ( int  gc_,
gc_type  type_ 

Definition at line 177 of file AW_preset.cxx.

Member Function Documentation

bool gc_desc::is_color_group ( ) const

Definition at line 185 of file AW_preset.cxx.

References GC_TYPE_GROUP.

Referenced by AW_gc_manager::add_gc(), and AW_gc_manager::create_gc_buttons().

bool gc_desc::belongs_to_range ( ) const
int gc_desc::get_range_index ( ) const

Definition at line 188 of file AW_preset.cxx.

References aw_assert, belongs_to_range(), and RANGE_INDEX_MASK.

Referenced by AW_gc_manager::create_gc_buttons().

int gc_desc::get_color_index ( ) const

Definition at line 189 of file AW_preset.cxx.

References aw_assert, belongs_to_range(), and RANGE_INDEX_BITS.

Referenced by AW_gc_manager::create_gc_buttons().

const char* gc_desc::parse_decl ( const char decl,
const char id_prefix 

Definition at line 207 of file AW_preset.cxx.

References default_color(), name2ID(), NULp, offset, and string().

Referenced by AW_gc_manager::add_gc().

Member Data Documentation

int gc_desc::gc

Definition at line 167 of file AW_preset.cxx.

Referenced by AW_gc_manager::update_gc_color(), and AW_gc_manager::update_gc_font().

string gc_desc::colorlabel
string gc_desc::key
bool gc_desc::has_font
bool gc_desc::fixed_width_font
bool gc_desc::same_line

Definition at line 174 of file AW_preset.cxx.

Referenced by AW_gc_manager::create_gc_buttons().

gc_type gc_desc::type

Definition at line 175 of file AW_preset.cxx.

The documentation for this struct was generated from the following file: