Ardour  9.0-pre0-822-g12e3bc5c20
MonoPanner Class Reference

#include <mono_panner.h>

Inheritance diagram for MonoPanner:
[legend]

Classes

struct  ColorScheme
 

Public Member Functions

 MonoPanner (std::shared_ptr< ARDOUR::PannerShell >)
 
 ~MonoPanner ()
 
std::shared_ptr< PBD::Controllableget_controllable () const
 
- Public Member Functions inherited from PannerInterface
 PannerInterface (std::shared_ptr< ARDOUR::Panner >)
 
virtual ~PannerInterface ()
 
std::shared_ptr< ARDOUR::Pannerpanner ()
 
void edit ()
 
void set_send_drawing_mode (bool)
 
- Public Member Functions inherited from PBD::Destructible
virtual ~Destructible ()
 
virtual void drop_references ()
 

Public Attributes

sigc::signal< void > StartGesture
 
sigc::signal< void > StopGesture
 
- Public Attributes inherited from PBD::Destructible
PBD::Signal< void()> Destroyed
 
PBD::Signal< void()> DropReferences
 

Protected Member Functions

bool on_expose_event (GdkEventExpose *)
 
bool on_button_press_event (GdkEventButton *)
 
bool on_button_release_event (GdkEventButton *)
 
bool on_motion_notify_event (GdkEventMotion *)
 
bool on_scroll_event (GdkEventScroll *)
 
bool on_key_press_event (GdkEventKey *)
 
std::weak_ptr< PBD::Controllableproxy_controllable () const
 
- Protected Member Functions inherited from PannerInterface
void value_change ()
 
bool on_enter_notify_event (GdkEventCrossing *)
 
bool on_leave_notify_event (GdkEventCrossing *)
 
bool on_key_release_event (GdkEventKey *)
 
bool on_button_press_event (GdkEventButton *)
 
bool on_button_release_event (GdkEventButton *)
 

Private Member Functions

PannerEditoreditor ()
 
void set_tooltip ()
 
void color_handler ()
 
void bypass_handler ()
 
void pannable_handler ()
 

Static Private Member Functions

static void set_colors ()
 

Private Attributes

std::shared_ptr< ARDOUR::PannerShell_panner_shell
 
std::shared_ptr< PBD::Controllableposition_control
 
PBD::ScopedConnectionList panvalue_connections
 
PBD::ScopedConnectionList panshell_connections
 
int drag_start_x
 
int last_drag_x
 
double accumulated_delta
 
bool detented
 
ArdourWidgets::BindingProxy position_binder
 
bool _dragging
 

Static Private Attributes

static Pango::AttrList panner_font_attributes
 
static bool have_font
 
static ColorScheme colors
 
static bool have_colors
 

Additional Inherited Members

- Protected Attributes inherited from PannerInterface
std::shared_ptr< ARDOUR::Panner_panner
 
PannerPersistentTooltip _tooltip
 
bool _send_mode
 

Detailed Description

Definition at line 39 of file mono_panner.h.

Constructor & Destructor Documentation

◆ MonoPanner()

MonoPanner::MonoPanner ( std::shared_ptr< ARDOUR::PannerShell )

◆ ~MonoPanner()

MonoPanner::~MonoPanner ( )

Member Function Documentation

◆ bypass_handler()

void MonoPanner::bypass_handler ( )
private

◆ color_handler()

void MonoPanner::color_handler ( )
private

◆ editor()

PannerEditor* MonoPanner::editor ( )
privatevirtual

Implements PannerInterface.

◆ get_controllable()

std::shared_ptr<PBD::Controllable> MonoPanner::get_controllable ( ) const
inline

Definition at line 45 of file mono_panner.h.

◆ on_button_press_event()

bool MonoPanner::on_button_press_event ( GdkEventButton *  )
protected

◆ on_button_release_event()

bool MonoPanner::on_button_release_event ( GdkEventButton *  )
protected

◆ on_expose_event()

bool MonoPanner::on_expose_event ( GdkEventExpose *  )
protected

◆ on_key_press_event()

bool MonoPanner::on_key_press_event ( GdkEventKey *  )
protected

◆ on_motion_notify_event()

bool MonoPanner::on_motion_notify_event ( GdkEventMotion *  )
protected

◆ on_scroll_event()

bool MonoPanner::on_scroll_event ( GdkEventScroll *  )
protected

◆ pannable_handler()

void MonoPanner::pannable_handler ( )
private

◆ proxy_controllable()

std::weak_ptr<PBD::Controllable> MonoPanner::proxy_controllable ( ) const
inlineprotectedvirtual

Implements PannerInterface.

Definition at line 58 of file mono_panner.h.

◆ set_colors()

static void MonoPanner::set_colors ( )
staticprivate

◆ set_tooltip()

void MonoPanner::set_tooltip ( )
privatevirtual

Implements PannerInterface.

Member Data Documentation

◆ _dragging

bool MonoPanner::_dragging
private

Definition at line 90 of file mono_panner.h.

◆ _panner_shell

std::shared_ptr<ARDOUR::PannerShell> MonoPanner::_panner_shell
private

Definition at line 65 of file mono_panner.h.

◆ accumulated_delta

double MonoPanner::accumulated_delta
private

Definition at line 72 of file mono_panner.h.

◆ colors

ColorScheme MonoPanner::colors
staticprivate

Definition at line 95 of file mono_panner.h.

◆ detented

bool MonoPanner::detented
private

Definition at line 73 of file mono_panner.h.

◆ drag_start_x

int MonoPanner::drag_start_x
private

Definition at line 70 of file mono_panner.h.

◆ have_colors

bool MonoPanner::have_colors
staticprivate

Definition at line 97 of file mono_panner.h.

◆ have_font

bool MonoPanner::have_font
staticprivate

Definition at line 93 of file mono_panner.h.

◆ last_drag_x

int MonoPanner::last_drag_x
private

Definition at line 71 of file mono_panner.h.

◆ panner_font_attributes

Pango::AttrList MonoPanner::panner_font_attributes
staticprivate

Definition at line 92 of file mono_panner.h.

◆ panshell_connections

PBD::ScopedConnectionList MonoPanner::panshell_connections
private

Definition at line 69 of file mono_panner.h.

◆ panvalue_connections

PBD::ScopedConnectionList MonoPanner::panvalue_connections
private

Definition at line 68 of file mono_panner.h.

◆ position_binder

ArdourWidgets::BindingProxy MonoPanner::position_binder
private

Definition at line 75 of file mono_panner.h.

◆ position_control

std::shared_ptr<PBD::Controllable> MonoPanner::position_control
private

Definition at line 67 of file mono_panner.h.

◆ StartGesture

sigc::signal<void> MonoPanner::StartGesture

Definition at line 47 of file mono_panner.h.

◆ StopGesture

sigc::signal<void> MonoPanner::StopGesture

Definition at line 48 of file mono_panner.h.


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