Classes | Public Member Functions | Public Attributes

fl7::Config Class Reference

#include <Config.h>

List of all members.

Classes

struct  ArrowDown
struct  ArrowLeft
struct  ArrowRight
struct  ArrowUp
struct  Button
struct  CheckBox
struct  Cursor
struct  Dialog
struct  EditBox
struct  Face
struct  Focus
struct  Frame
struct  GroupBox
struct  HemmedFace
struct  Hover
struct  Label
struct  ListBox
struct  PictureBox
struct  Popup
struct  ProgressBar
struct  RadioButton
struct  Rect
struct  Selection
struct  Slider
struct  StatefulHemmedFace
struct  StatefulTexturedFace
struct  TexturedFace
struct  Window

Public Member Functions

 Config (void)
 ~Config (void)
 Config (const Config &rhs)
Configoperator= (const Config &rhs)
bool Init (const cl7::string_type &ini_file_name)
bool _Read (cl7::string_type *str, const cl7::string_type &section, const cl7::string_type &key, xl7::io::IniFile &ini_file)
bool _Read (float *f, const cl7::string_type &section, const cl7::string_type &key, xl7::io::IniFile &ini_file)
bool _Read (unsigned long *ul, const cl7::string_type &section, const cl7::string_type &key, xl7::io::IniFile &ini_file)
bool _Read (Rect *rect, const cl7::string_type &section, const cl7::string_type &key, xl7::io::IniFile &ini_file)
bool _Read (xl7::direct3d::fonts::TextStyle *text_style, const cl7::string_type &section, const cl7::string_type &key, xl7::io::IniFile &ini_file)
bool _Read (Face *face, const cl7::string_type &section, xl7::io::IniFile &ini_file)
bool _Read (TexturedFace *textured_face, const cl7::string_type &section, xl7::io::IniFile &ini_file)
bool _Read (HemmedFace *hemmed_face, const cl7::string_type &section, xl7::io::IniFile &ini_file)
bool _Read (StatefulTexturedFace *stateful_textured_face, const cl7::string_type &section, xl7::io::IniFile &ini_file)
bool _Read (StatefulHemmedFace *stateful_hemmed_face, const cl7::string_type &section, xl7::io::IniFile &ini_file)
bool _Read (Frame *frame, const cl7::string_type &section, xl7::io::IniFile &ini_file)

Public Attributes

cl7::string_type hover_sound_file_name
cl7::string_type focus_sound_file_name
cl7::string_type click_sound_file_name
cl7::string_type texture_file_name
cl7::string_type typeface_name
ml7::Vector2 texture_metric
unsigned long color
xl7::direct3d::fonts::TextStyle text_style
float ref_height
Rect margin
Face face
fl7::Config::Label label
fl7::Config::ProgressBar progress_bar
fl7::Config::Button button
fl7::Config::CheckBox check_box
fl7::Config::EditBox edit_box
fl7::Config::RadioButton radio_button
fl7::Config::Slider slider
fl7::Config::ListBox list_box
fl7::Config::GroupBox group_box
fl7::Config::PictureBox picture_box
fl7::Config::Window window
fl7::Config::Frame frame
fl7::Config::Dialog dialog
fl7::Config::Popup popup
fl7::Config::ArrowUp arrow_up
fl7::Config::ArrowDown arrow_down
fl7::Config::ArrowLeft arrow_left
fl7::Config::ArrowRight arrow_right
fl7::Config::Selection selection
fl7::Config::Focus focus
fl7::Config::Hover hover
fl7::Config::Cursor cursor

Constructor & Destructor Documentation

fl7::Config::Config ( void   ) 

Default constructor.

fl7::Config::~Config ( void   ) 

Destructor.

fl7::Config::Config ( const Config rhs  ) 

Copy constructor.


Member Function Documentation

bool fl7::Config::_Read ( cl7::string_type str,
const cl7::string_type section,
const cl7::string_type key,
xl7::io::IniFile ini_file 
)
bool fl7::Config::_Read ( Frame frame,
const cl7::string_type section,
xl7::io::IniFile ini_file 
)
bool fl7::Config::_Read ( float *  f,
const cl7::string_type section,
const cl7::string_type key,
xl7::io::IniFile ini_file 
)
bool fl7::Config::_Read ( StatefulTexturedFace stateful_textured_face,
const cl7::string_type section,
xl7::io::IniFile ini_file 
)
bool fl7::Config::_Read ( HemmedFace hemmed_face,
const cl7::string_type section,
xl7::io::IniFile ini_file 
)
bool fl7::Config::_Read ( Face face,
const cl7::string_type section,
xl7::io::IniFile ini_file 
)
bool fl7::Config::_Read ( TexturedFace textured_face,
const cl7::string_type section,
xl7::io::IniFile ini_file 
)
bool fl7::Config::_Read ( xl7::direct3d::fonts::TextStyle text_style,
const cl7::string_type section,
const cl7::string_type key,
xl7::io::IniFile ini_file 
)
bool fl7::Config::_Read ( StatefulHemmedFace stateful_hemmed_face,
const cl7::string_type section,
xl7::io::IniFile ini_file 
)
bool fl7::Config::_Read ( unsigned long *  ul,
const cl7::string_type section,
const cl7::string_type key,
xl7::io::IniFile ini_file 
)
bool fl7::Config::_Read ( Rect rect,
const cl7::string_type section,
const cl7::string_type key,
xl7::io::IniFile ini_file 
)
bool fl7::Config::Init ( const cl7::string_type ini_file_name  ) 
Config & fl7::Config::operator= ( const Config rhs  ) 

Copy assignment operator.


Member Data Documentation

The file name of the sound to play on click events.

unsigned long fl7::Config::color

The default color.

The default face configuration.

The file name of the sound to play on focus events.

The file name of the sound to play on hover events.

The default margin;

The reference (line/text/what ever) height.

The default text style.

The file name of the texture containing the graphics.

The "metric" of the texture.

The typeface name of the font for displaying text.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines