ardour
Public Member Functions | Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
Gtkmm2ext::BarController Class Reference

#include <barcontroller.h>

Inheritance diagram for Gtkmm2ext::BarController:
AutomationBarController LatencyBarController

Public Member Functions

 BarController (Gtk::Adjustment &adj, boost::shared_ptr< PBD::Controllable >)
 
virtual ~BarController ()
 
void set_sensitive (bool yn)
 
PixFader::Tweaks tweaks () const
 
void set_tweaks (PixFader::Tweaks t)
 
Gtk::Widget & event_widget ()
 

Public Attributes

sigc::signal< void > StartGesture
 
sigc::signal< void > 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 ()
 
void passtrhu_gesture_stop ()
 

Private Attributes

HSliderController _slider
 
bool _switching
 
bool _switch_on_release
 

Detailed Description

Definition at line 31 of file barcontroller.h.

Constructor & Destructor Documentation

BarController::BarController ( Gtk::Adjustment &  adj,
boost::shared_ptr< PBD::Controllable mc 
)

Definition at line 40 of file barcontroller.cc.

BarController::~BarController ( )
virtual

Definition at line 67 of file barcontroller.cc.

Member Function Documentation

void BarController::before_expose ( )
private

Definition at line 157 of file barcontroller.cc.

void BarController::entry_activated ( )
private

Definition at line 144 of file barcontroller.cc.

bool BarController::entry_focus_out ( GdkEventFocus *  )
private

Definition at line 150 of file barcontroller.cc.

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

Definition at line 47 of file barcontroller.h.

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

Reimplemented in LatencyBarController, and AutomationBarController.

Definition at line 59 of file barcontroller.h.

bool BarController::on_button_press_event ( GdkEventButton *  ev)
protected

Definition at line 72 of file barcontroller.cc.

bool BarController::on_button_release_event ( GdkEventButton *  ev)
protected

Definition at line 87 of file barcontroller.cc.

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

Definition at line 100 of file barcontroller.cc.

void Gtkmm2ext::BarController::passtrhu_gesture_start ( )
inlineprivate

Definition at line 76 of file barcontroller.h.

void Gtkmm2ext::BarController::passtrhu_gesture_stop ( )
inlineprivate

Definition at line 77 of file barcontroller.h.

void BarController::set_sensitive ( bool  yn)

Definition at line 164 of file barcontroller.cc.

void Gtkmm2ext::BarController::set_tweaks ( PixFader::Tweaks  t)
inline

Definition at line 41 of file barcontroller.h.

gint BarController::switch_to_bar ( )
private

Definition at line 106 of file barcontroller.cc.

gint BarController::switch_to_spinner ( )
private

Definition at line 122 of file barcontroller.cc.

PixFader::Tweaks Gtkmm2ext::BarController::tweaks ( ) const
inline

Definition at line 40 of file barcontroller.h.

Member Data Documentation

HSliderController Gtkmm2ext::BarController::_slider
private

Definition at line 64 of file barcontroller.h.

bool Gtkmm2ext::BarController::_switch_on_release
private

Definition at line 73 of file barcontroller.h.

bool Gtkmm2ext::BarController::_switching
private

Definition at line 72 of file barcontroller.h.

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

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

Definition at line 52 of file barcontroller.h.

sigc::signal<void> Gtkmm2ext::BarController::StartGesture

Definition at line 43 of file barcontroller.h.

sigc::signal<void> Gtkmm2ext::BarController::StopGesture

Definition at line 44 of file barcontroller.h.


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