Ardour  9.0-pre0-822-g12e3bc5c20
PluginDisplay Class Reference

#include <plugin_display.h>

Inheritance diagram for PluginDisplay:
[legend]

Public Member Functions

 PluginDisplay (std::shared_ptr< ARDOUR::Plugin >, uint32_t max_height=80)
 
virtual ~PluginDisplay ()
 

Protected Member Functions

bool on_expose_event (GdkEventExpose *)
 
void on_size_request (Gtk::Requisition *req)
 
bool on_button_press_event (GdkEventButton *ev)
 
bool on_button_release_event (GdkEventButton *ev)
 
void plugin_going_away ()
 
virtual void update_height_alloc (uint32_t inline_height)
 
virtual uint32_t render_inline (cairo_t *, uint32_t width)
 
virtual void display_frame (cairo_t *cr, double w, double h)
 

Protected Attributes

std::shared_ptr< ARDOUR::Plugin_plug
 
PBD::ScopedConnection _qdraw_connection
 
PBD::ScopedConnection _death_connection
 
cairo_surface_t * _surf
 
uint32_t _max_height
 
uint32_t _cur_height
 
bool _scroll
 

Detailed Description

Definition at line 26 of file plugin_display.h.

Constructor & Destructor Documentation

◆ PluginDisplay()

PluginDisplay::PluginDisplay ( std::shared_ptr< ARDOUR::Plugin ,
uint32_t  max_height = 80 
)

◆ ~PluginDisplay()

virtual PluginDisplay::~PluginDisplay ( )
virtual

Member Function Documentation

◆ display_frame()

virtual void PluginDisplay::display_frame ( cairo_t *  cr,
double  w,
double  h 
)
protectedvirtual

◆ on_button_press_event()

bool PluginDisplay::on_button_press_event ( GdkEventButton *  ev)
protected

◆ on_button_release_event()

bool PluginDisplay::on_button_release_event ( GdkEventButton *  ev)
protected

◆ on_expose_event()

bool PluginDisplay::on_expose_event ( GdkEventExpose *  )
protected

◆ on_size_request()

void PluginDisplay::on_size_request ( Gtk::Requisition *  req)
protected

◆ plugin_going_away()

void PluginDisplay::plugin_going_away ( )
inlineprotected

Definition at line 38 of file plugin_display.h.

◆ render_inline()

virtual uint32_t PluginDisplay::render_inline ( cairo_t *  ,
uint32_t  width 
)
protectedvirtual

◆ update_height_alloc()

virtual void PluginDisplay::update_height_alloc ( uint32_t  inline_height)
protectedvirtual

Member Data Documentation

◆ _cur_height

uint32_t PluginDisplay::_cur_height
protected

Definition at line 52 of file plugin_display.h.

◆ _death_connection

PBD::ScopedConnection PluginDisplay::_death_connection
protected

Definition at line 49 of file plugin_display.h.

◆ _max_height

uint32_t PluginDisplay::_max_height
protected

Definition at line 51 of file plugin_display.h.

◆ _plug

std::shared_ptr<ARDOUR::Plugin> PluginDisplay::_plug
protected

Definition at line 47 of file plugin_display.h.

◆ _qdraw_connection

PBD::ScopedConnection PluginDisplay::_qdraw_connection
protected

Definition at line 48 of file plugin_display.h.

◆ _scroll

bool PluginDisplay::_scroll
protected

Definition at line 53 of file plugin_display.h.

◆ _surf

cairo_surface_t* PluginDisplay::_surf
protected

Definition at line 50 of file plugin_display.h.


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