ardour
|
#include <volume_controller.h>
Public Member Functions | |
VolumeController (Glib::RefPtr< Gdk::Pixbuf >, boost::shared_ptr< PBD::Controllable >, double def, double step, double page, bool with_numeric=true, int image_width=40, int image_height=40, bool linear=true) | |
virtual | ~VolumeController () |
Public Member Functions inherited from Gtkmm2ext::MotionFeedback | |
MotionFeedback (Glib::RefPtr< Gdk::Pixbuf >, Type type, boost::shared_ptr< PBD::Controllable >, double default_value, double step_increment, double page_increment, const char *widget_name=NULL, bool with_numeric_display=true, int sub_image_width=40, int sub_image_height=40) | |
virtual | ~MotionFeedback () |
Gtk::Widget & | eventwin () |
boost::shared_ptr < PBD::Controllable > | controllable () const |
virtual void | set_controllable (boost::shared_ptr< PBD::Controllable > c) |
void | set_print_func (void(*pf)(char buf[32], const boost::shared_ptr< PBD::Controllable > &, void *), void *arg) |
Static Public Member Functions | |
static void | _dB_printer (char buf[32], const boost::shared_ptr< PBD::Controllable > &adj, void *arg) |
Static Public Member Functions inherited from Gtkmm2ext::MotionFeedback | |
static void | set_lamp_color (const std::string &) |
static Glib::RefPtr< Gdk::Pixbuf > | render_pixbuf (int size) |
Protected Member Functions | |
double | to_control_value (double) |
double | to_display_value (double) |
double | adjust (double nominal_delta) |
double | display_value () const |
double | control_value () const |
Protected Member Functions inherited from Gtkmm2ext::MotionFeedback | |
void | pixwin_size_request (GtkRequisition *) |
bool | pixwin_button_press_event (GdkEventButton *) |
bool | pixwin_button_release_event (GdkEventButton *) |
bool | pixwin_motion_notify_event (GdkEventMotion *) |
bool | pixwin_key_press_event (GdkEventKey *) |
bool | pixwin_enter_notify_event (GdkEventCrossing *) |
bool | pixwin_leave_notify_event (GdkEventCrossing *) |
bool | pixwin_focus_in_event (GdkEventFocus *) |
bool | pixwin_focus_out_event (GdkEventFocus *) |
bool | pixwin_expose_event (GdkEventExpose *) |
bool | pixwin_scroll_event (GdkEventScroll *) |
Private Member Functions | |
void | dB_printer (char buf[32], const boost::shared_ptr< PBD::Controllable > &adj) |
Private Attributes | |
bool | _linear |
Additional Inherited Members | |
Public Types inherited from Gtkmm2ext::MotionFeedback | |
enum | Type { Rotary, CenterSpring, Endless } |
Protected Attributes inherited from Gtkmm2ext::MotionFeedback | |
boost::shared_ptr < PBD::Controllable > | _controllable |
Gtk::Label * | value |
double | default_value |
double | step_inc |
double | page_inc |
Definition at line 27 of file volume_controller.h.
VolumeController::VolumeController | ( | Glib::RefPtr< Gdk::Pixbuf > | p, |
boost::shared_ptr< PBD::Controllable > | c, | ||
double | def, | ||
double | step, | ||
double | page, | ||
bool | with_numeric = true , |
||
int | image_width = 40 , |
||
int | image_height = 40 , |
||
bool | linear = true |
||
) |
Definition at line 38 of file volume_controller.cc.
|
inlinevirtual |
Definition at line 40 of file volume_controller.h.
|
static |
Definition at line 56 of file volume_controller.cc.
|
protectedvirtual |
Implements Gtkmm2ext::MotionFeedback.
Definition at line 140 of file volume_controller.cc.
|
protected |
|
private |
Definition at line 63 of file volume_controller.cc.
|
protected |
|
protectedvirtual |
Implements Gtkmm2ext::MotionFeedback.
Definition at line 109 of file volume_controller.cc.
|
protectedvirtual |
Implements Gtkmm2ext::MotionFeedback.
Definition at line 126 of file volume_controller.cc.
|
private |
Definition at line 53 of file volume_controller.h.