Guitarix
gx_gui::UiSwitchBool Class Reference

#include <gx_main_boxes.h>

Inheritance diagram for gx_gui::UiSwitchBool:
Collaboration diagram for gx_gui::UiSwitchBool:

Public Member Functions

 UiSwitchBool (gx_engine::GxMachineBase &machine, const char *sw_type, gx_engine::BoolParameter &param)
 
- Public Member Functions inherited from gx_gui::UiSwitch
 UiSwitch (const char *sw_type)
 
- Public Member Functions inherited from Gxw::Switch
virtual ~Switch ()
 
GxSwitchgobj ()
 Provides access to the underlying C GtkObject. More...
 
const GxSwitchgobj () const
 Provides access to the underlying C GtkObject. More...
 
 Switch ()
 
 Switch (const Glib::ustring &base_name)
 
void set_label_ref (Gtk::Label *p1)
 
Gtk::Label * get_label_ref ()
 
void set_base_name (const Glib::ustring &p1)
 
Glib::ustring get_base_name ()
 
- Public Member Functions inherited from Gxw::ControlParameter
 ControlParameter (GxControlParameter *castitem)
 
virtual ~ControlParameter ()
 
GxControlParametergobj ()
 Provides access to the underlying C GObject. More...
 
const GxControlParametergobj () const
 Provides access to the underlying C GObject. More...
 
void cp_configure (Glib::ustring group, Glib::ustring name, double lower, double upper, double step)
 
void cp_set_value (double value)
 
double cp_get_value ()
 
int cp_get_int_value ()
 
Glib::ustring cp_get_var ()
 
void cp_set_var (Glib::ustring p1)
 

Protected Member Functions

void on_toggled ()
 
void set_value (bool v)
 
- Protected Member Functions inherited from Gxw::Switch
 Switch (const Glib::ConstructParams &construct_params)
 
 Switch (GxSwitch *castitem)
 
- Protected Member Functions inherited from Gxw::ControlParameter
 ControlParameter ()
 You should derive from this class to use it. More...
 
 ControlParameter (const Glib::Interface_Class &interface_class)
 Called by constructors of derived classes. More...
 

Protected Attributes

gx_engine::GxMachineBasemachine
 
gx_engine::BoolParameterparam
 

Additional Inherited Members

- Public Types inherited from Gxw::Switch
typedef Switch CppObjectType
 
typedef Switch_Class CppClassType
 
typedef GxSwitch BaseObjectType
 
typedef GxSwitchClass BaseClassType
 
- Public Types inherited from Gxw::ControlParameter
typedef ControlParameter CppObjectType
 
typedef ControlParameter_Class CppClassType
 
typedef GxControlParameter BaseObjectType
 
typedef GxControlParameterIface BaseClassType
 
- Static Public Member Functions inherited from gx_gui::UiSwitch
static UiSwitchcreate (gx_engine::GxMachineBase &machine, const char *sw_type, gx_engine::Parameter &param)
 
static UiSwitchcreate (gx_engine::GxMachineBase &machine, const char *sw_type, const std::string &id)
 
- Static Public Member Functions inherited from Gxw::Switch
static GType get_type () G_GNUC_CONST
 
static GType get_base_type () G_GNUC_CONST
 
- Static Public Member Functions inherited from Gxw::ControlParameter
static void add_interface (GType gtype_implementer)
 
static GType get_type () G_GNUC_CONST
 
static GType get_base_type () G_GNUC_CONST
 

Detailed Description

Definition at line 77 of file gx_main_boxes.h.

Constructor & Destructor Documentation

gx_gui::UiSwitchBool::UiSwitchBool ( gx_engine::GxMachineBase machine,
const char *  sw_type,
gx_engine::BoolParameter param 
)

Definition at line 379 of file gxw_mm_controllers.cpp.

Member Function Documentation

void gx_gui::UiSwitchBool::on_toggled ( )
protected

Definition at line 371 of file gxw_mm_controllers.cpp.

void gx_gui::UiSwitchBool::set_value ( bool  v)
protected

Definition at line 375 of file gxw_mm_controllers.cpp.

Referenced by UiSwitchBool().

Member Data Documentation

gx_engine::GxMachineBase& gx_gui::UiSwitchBool::machine
protected

Definition at line 79 of file gx_main_boxes.h.

Referenced by UiSwitchBool().

gx_engine::BoolParameter& gx_gui::UiSwitchBool::param
protected

Definition at line 80 of file gx_main_boxes.h.

Referenced by UiSwitchBool().


The documentation for this class was generated from the following files: