Guitarix
gx_gui::UiSwitchFloat Class Reference

#include <gx_main_boxes.h>

Inheritance diagram for gx_gui::UiSwitchFloat:
Collaboration diagram for gx_gui::UiSwitchFloat:

Public Member Functions

 UiSwitchFloat (gx_engine::GxMachineBase &machine, const char *sw_type, gx_engine::FloatParameter &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 (float 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::FloatParameterparam
 

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 65 of file gx_main_boxes.h.

Constructor & Destructor Documentation

◆ UiSwitchFloat()

gx_gui::UiSwitchFloat::UiSwitchFloat ( gx_engine::GxMachineBase machine,
const char *  sw_type,
gx_engine::FloatParameter param 
)

Definition at line 350 of file gxw_mm_controllers.cpp.

Member Function Documentation

◆ on_toggled()

void gx_gui::UiSwitchFloat::on_toggled ( )
protected

Definition at line 342 of file gxw_mm_controllers.cpp.

◆ set_value()

void gx_gui::UiSwitchFloat::set_value ( float  v)
protected

Definition at line 346 of file gxw_mm_controllers.cpp.

Referenced by UiSwitchFloat().

Member Data Documentation

◆ machine

gx_engine::GxMachineBase& gx_gui::UiSwitchFloat::machine
protected

Definition at line 67 of file gx_main_boxes.h.

Referenced by on_toggled(), and UiSwitchFloat().

◆ param

gx_engine::FloatParameter& gx_gui::UiSwitchFloat::param
protected

Definition at line 68 of file gx_main_boxes.h.

Referenced by on_toggled(), and UiSwitchFloat().


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