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

#include <barcontroller.h>

Inheritance diagram for ArdourWidgets::BarController:
[legend]

Public Member Functions

 BarController (Gtk::Adjustment &adj, std::shared_ptr< PBD::Controllable >)
 
virtual ~BarController ()
 
void set_sensitive (bool yn)
 
void set_digits (guint d)
 
ArdourFader::Tweaks tweaks () const
 
void set_tweaks (ArdourFader::Tweaks t)
 
Gtk::Widget & event_widget ()
 

Public Attributes

sigc::signal< void, int > StartGesture
 
sigc::signal< void, int > StopGesture
 
sigc::signal< void, bool > SpinnerActive
 

Protected Member Functions

bool on_button_press_event (GdkEventButton *)
 
bool on_button_release_event (GdkEventButton *)
 
void on_style_changed (const Glib::RefPtr< Gtk::Style > &)
 
virtual std::string get_label (double &)
 

Private Member Functions

bool entry_focus_out (GdkEventFocus *)
 
void entry_activated ()
 
void before_expose ()
 
gint switch_to_bar ()
 
gint switch_to_spinner ()
 
void passtrhu_gesture_start (int state)
 
void passtrhu_gesture_stop (int state)
 

Private Attributes

HSliderController _slider
 
bool _switching
 
bool _switch_on_release
 

Detailed Description

Definition at line 32 of file barcontroller.h.

Constructor & Destructor Documentation

◆ BarController()

ArdourWidgets::BarController::BarController ( Gtk::Adjustment &  adj,
std::shared_ptr< PBD::Controllable  
)

◆ ~BarController()

virtual ArdourWidgets::BarController::~BarController ( )
virtual

Member Function Documentation

◆ before_expose()

void ArdourWidgets::BarController::before_expose ( )
private

◆ entry_activated()

void ArdourWidgets::BarController::entry_activated ( )
private

◆ entry_focus_out()

bool ArdourWidgets::BarController::entry_focus_out ( GdkEventFocus *  )
private

◆ event_widget()

Gtk::Widget& ArdourWidgets::BarController::event_widget ( )
inline

Definition at line 49 of file barcontroller.h.

◆ get_label()

virtual std::string ArdourWidgets::BarController::get_label ( double &  )
inlineprotectedvirtual

Reimplemented in TimeCtlBarController, and AutomationBarController.

Definition at line 61 of file barcontroller.h.

◆ on_button_press_event()

bool ArdourWidgets::BarController::on_button_press_event ( GdkEventButton *  )
protected

◆ on_button_release_event()

bool ArdourWidgets::BarController::on_button_release_event ( GdkEventButton *  )
protected

◆ on_style_changed()

void ArdourWidgets::BarController::on_style_changed ( const Glib::RefPtr< Gtk::Style > &  )
protected

◆ passtrhu_gesture_start()

void ArdourWidgets::BarController::passtrhu_gesture_start ( int  state)
inlineprivate

Definition at line 77 of file barcontroller.h.

◆ passtrhu_gesture_stop()

void ArdourWidgets::BarController::passtrhu_gesture_stop ( int  state)
inlineprivate

Definition at line 78 of file barcontroller.h.

◆ set_digits()

void ArdourWidgets::BarController::set_digits ( guint  d)
inline

Definition at line 40 of file barcontroller.h.

◆ set_sensitive()

void ArdourWidgets::BarController::set_sensitive ( bool  yn)

◆ set_tweaks()

void ArdourWidgets::BarController::set_tweaks ( ArdourFader::Tweaks  t)
inline

Definition at line 43 of file barcontroller.h.

◆ switch_to_bar()

gint ArdourWidgets::BarController::switch_to_bar ( )
private

◆ switch_to_spinner()

gint ArdourWidgets::BarController::switch_to_spinner ( )
private

◆ tweaks()

ArdourFader::Tweaks ArdourWidgets::BarController::tweaks ( ) const
inline

Definition at line 42 of file barcontroller.h.

Member Data Documentation

◆ _slider

HSliderController ArdourWidgets::BarController::_slider
private

Definition at line 66 of file barcontroller.h.

◆ _switch_on_release

bool ArdourWidgets::BarController::_switch_on_release
private

Definition at line 75 of file barcontroller.h.

◆ _switching

bool ArdourWidgets::BarController::_switching
private

Definition at line 74 of file barcontroller.h.

◆ SpinnerActive

sigc::signal<void, bool> ArdourWidgets::BarController::SpinnerActive

Emitted when the adjustment spinner is activated or deactivated; the parameter is true on activation, false on deactivation.

Definition at line 54 of file barcontroller.h.

◆ StartGesture

sigc::signal<void,int> ArdourWidgets::BarController::StartGesture

Definition at line 45 of file barcontroller.h.

◆ StopGesture

sigc::signal<void,int> ArdourWidgets::BarController::StopGesture

Definition at line 46 of file barcontroller.h.


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