Ardour  9.0-pre0-822-g12e3bc5c20
ArdourWidgets::HSliderController Class Reference

#include <slider_controller.h>

Inheritance diagram for ArdourWidgets::HSliderController:
[legend]

Public Member Functions

 HSliderController (Gtk::Adjustment *adj, std::shared_ptr< PBD::Controllable > mc, int, int)
 
- Public Member Functions inherited from ArdourWidgets::SliderController
 SliderController (Gtk::Adjustment *adj, std::shared_ptr< PBD::Controllable > mc, int orien)
 
virtual ~SliderController ()
 
Gtk::SpinButton & get_spin_button ()
 
void set_controllable (std::shared_ptr< PBD::Controllable > c)
 
- Public Member Functions inherited from ArdourWidgets::FaderWidget
 FaderWidget (Gtk::Adjustment &, int orient)
 
virtual ~FaderWidget ()
 
void set_tweaks (Tweaks)
 
Tweaks tweaks () const
 
int orientation () const
 
- Public Member Functions inherited from CairoWidget
 CairoWidget ()
 
virtual ~CairoWidget ()
 
void set_canvas_widget ()
 
void use_nsglview (bool retina=true)
 
void use_image_surface (bool yn=true)
 
void queue_draw ()
 
void queue_resize ()
 
int get_width () const
 
int get_height () const
 
void size_allocate (Gtk::Allocation &)
 
void set_dirty (cairo_rectangle_t *area=0)
 
Gtkmm2ext::ActiveState active_state () const
 
Gtkmm2ext::VisualState visual_state () const
 
virtual void set_active_state (Gtkmm2ext::ActiveState)
 
virtual void set_visual_state (Gtkmm2ext::VisualState)
 
void unset_active_state ()
 
void unset_visual_state ()
 
void set_active (bool)
 
bool get_active () const
 
void set_draw_background (bool yn)
 
uint32_t background_color ()
 
- Public Member Functions inherited from Gtkmm2ext::CairoCanvas
virtual ~CairoCanvas ()
 
- Public Member Functions inherited from ArdourWidgets::ArdourFader
 ArdourFader (Gtk::Adjustment &adjustment, int orientation, int span, int girth)
 
virtual ~ArdourFader ()
 
void set_default_value (float)
 
void set_text (const std::string &, bool centered=true, bool expose=true)
 
void set_bg (Gtkmm2ext::Color)
 
void set_fg (Gtkmm2ext::Color)
 
void unset_bg ()
 
void unset_fg ()
 

Additional Inherited Members

- Public Types inherited from ArdourWidgets::FaderWidget
enum  Tweaks { NoShowUnityLine = 0x1 , NoButtonForward = 0x2 , NoVerticalScroll = 0x4 , DoubleClickReset = 0x8 }
 
enum  Orientation { VERT , HORIZ }
 
- Static Public Member Functions inherited from CairoWidget
static void provide_background_for_cairo_widget (Gtk::Widget &w, const Gdk::Color &bg)
 
static void set_source_rgb_a (cairo_t *cr, Gdk::Color, float a=1.0)
 
static void set_source_rgb_a (cairo_t *cr, Gtkmm2ext::Color, float a=1.0)
 
static void set_focus_handler (sigc::slot< void, Gtk::Widget * >)
 
- Static Public Member Functions inherited from Gtkmm2ext::CairoTheme
static void set_flat_buttons (bool yn)
 
static void set_boxy_buttons (bool yn)
 
static void set_widget_prelight (bool yn)
 
static bool flat_buttons ()
 
static bool boxy_buttons ()
 
static bool widget_prelight ()
 
- Static Public Member Functions inherited from ArdourWidgets::ArdourFader
static void flush_pattern_cache ()
 
- Public Attributes inherited from ArdourWidgets::FaderWidget
sigc::signal< void, int > StartGesture
 
sigc::signal< void, int > StopGesture
 
sigc::signal< void > OnExpose
 
- Public Attributes inherited from CairoWidget
sigc::signal< void > StateChanged
 
sigc::signal< bool > QueueDraw
 
sigc::signal< bool > QueueResize
 
- Protected Member Functions inherited from ArdourWidgets::SliderController
bool on_button_press_event (GdkEventButton *ev)
 
bool on_enter_notify_event (GdkEventCrossing *ev)
 
bool on_leave_notify_event (GdkEventCrossing *ev)
 
void ctrl_adjusted ()
 
void spin_adjusted ()
 
- Protected Member Functions inherited from ArdourWidgets::FaderWidget
bool on_button_press_event (GdkEventButton *)
 
bool on_button_release_event (GdkEventButton *)
 
bool on_touch_begin_event (GdkEventTouch *)
 
bool on_touch_end_event (GdkEventTouch *)
 
bool on_enter_notify_event (GdkEventCrossing *ev)
 
bool on_leave_notify_event (GdkEventCrossing *ev)
 
bool on_scroll_event (GdkEventScroll *ev)
 
bool on_grab_broken_event (GdkEventGrabBroken *)
 
void adjustment_changed ()
 
- Protected Member Functions inherited from CairoWidget
virtual bool on_expose_event (GdkEventExpose *)
 
void on_size_allocate (Gtk::Allocation &)
 
void on_state_changed (Gtk::StateType)
 
void on_style_changed (const Glib::RefPtr< Gtk::Style > &)
 
void on_realize ()
 
bool on_button_press_event (GdkEventButton *)
 
Gdk::Color get_parent_bg ()
 
void on_map ()
 
void on_unmap ()
 
virtual void on_name_changed ()
 
- Protected Member Functions inherited from ArdourWidgets::ArdourFader
void on_size_request (GtkRequisition *)
 
void on_size_allocate (Gtk::Allocation &alloc)
 
void render (Cairo::RefPtr< Cairo::Context > const &, cairo_rectangle_t *)
 
bool on_motion_notify_event (GdkEventMotion *)
 
bool on_touch_update_event (GdkEventTouch *)
 
void on_state_changed (Gtk::StateType)
 
void on_style_changed (const Glib::RefPtr< Gtk::Style > &)
 
- Protected Attributes inherited from ArdourWidgets::SliderController
BindingProxy _binding_proxy
 
std::shared_ptr< PBD::Controllable_ctrl
 
Gtk::Adjustment * _ctrl_adj
 
Gtk::Adjustment _spin_adj
 
Gtk::SpinButton _spin
 
bool _ctrl_ignore
 
bool _spin_ignore
 
- Protected Attributes inherited from ArdourWidgets::FaderWidget
Gtk::Adjustment & _adjustment
 
Tweaks _tweaks
 
int _orien
 
bool _dragging
 
bool _hovering
 
float _default_value
 
GdkWindow * _grab_window
 
double _grab_loc
 
double _grab_start
 
- Protected Attributes inherited from CairoWidget
Gtkmm2ext::ActiveState _active_state
 
Gtkmm2ext::VisualState _visual_state
 
bool _need_bg
 
bool _grabbed
 
- Static Protected Attributes inherited from CairoWidget
static sigc::slot< void, Gtk::Widget * > focus_handler
 

Detailed Description

Definition at line 75 of file slider_controller.h.

Constructor & Destructor Documentation

◆ HSliderController()

ArdourWidgets::HSliderController::HSliderController ( Gtk::Adjustment *  adj,
std::shared_ptr< PBD::Controllable mc,
int  ,
int   
)

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