Ardour  9.0-pre0-582-g084a23a80d
RegionEditor::RegionFxEntry Class Reference
Inheritance diagram for RegionEditor::RegionFxEntry:
[legend]

Public Member Functions

 RegionFxEntry (std::shared_ptr< ARDOUR::RegionFxPlugin >, bool pre)
 
Gtk::EventBoxaction_widget ()
 
Gtk::Widgetwidget ()
 
std::string drag_text () const
 
bool is_selectable () const
 
bool can_copy_state (Gtkmm2ext::DnDVBoxChild *) const
 
void set_visual_state (Gtkmm2ext::VisualState, bool)
 
bool drag_data_get (Glib::RefPtr< Gdk::DragContext > const, Gtk::SelectionData &)
 
std::shared_ptr< ARDOUR::RegionFxPluginregion_fx_plugin () const
 
- Public Member Functions inherited from Gtkmm2ext::DnDVBoxChild
virtual ~DnDVBoxChild ()
 

Private Member Functions

std::string name () const
 

Private Attributes

Gtk::VBox _box
 
ArdourWidgets::ArdourButton _fx_btn
 
std::shared_ptr< ARDOUR::RegionFxPlugin_rfx
 
ARDOUR::PluginPresetPtr _plugin_preset_pointer
 
bool _selectable
 

Detailed Description

Definition at line 77 of file region_editor.h.

Constructor & Destructor Documentation

◆ RegionFxEntry()

RegionEditor::RegionFxEntry::RegionFxEntry ( std::shared_ptr< ARDOUR::RegionFxPlugin ,
bool  pre 
)

Member Function Documentation

◆ action_widget()

Gtk::EventBox& RegionEditor::RegionFxEntry::action_widget ( )
inlinevirtual
Returns
An EventBox containing the widget that should be used for selection, dragging etc.

Implements Gtkmm2ext::DnDVBoxChild.

Definition at line 82 of file region_editor.h.

◆ can_copy_state()

bool RegionEditor::RegionFxEntry::can_copy_state ( Gtkmm2ext::DnDVBoxChild ) const
virtual

◆ drag_data_get()

bool RegionEditor::RegionFxEntry::drag_data_get ( Glib::RefPtr< Gdk::DragContext > const  ,
Gtk::SelectionData  
)
virtual

Reimplemented from Gtkmm2ext::DnDVBoxChild.

◆ drag_text()

std::string RegionEditor::RegionFxEntry::drag_text ( ) const
inlinevirtual
Returns
Text to use in the icon that is dragged

Implements Gtkmm2ext::DnDVBoxChild.

Definition at line 84 of file region_editor.h.

◆ is_selectable()

bool RegionEditor::RegionFxEntry::is_selectable ( ) const
inlinevirtual
Returns
True if the child can be selected in the list ( if you don't want it to copy/paste/drag then turn this off )

Implements Gtkmm2ext::DnDVBoxChild.

Definition at line 85 of file region_editor.h.

◆ name()

std::string RegionEditor::RegionFxEntry::name ( ) const
private

◆ region_fx_plugin()

std::shared_ptr<ARDOUR::RegionFxPlugin> RegionEditor::RegionFxEntry::region_fx_plugin ( ) const
inline

Definition at line 89 of file region_editor.h.

◆ set_visual_state()

void RegionEditor::RegionFxEntry::set_visual_state ( Gtkmm2ext::VisualState  ,
bool  onoff 
)
virtual

Set the child's visual state

Implements Gtkmm2ext::DnDVBoxChild.

◆ widget()

Gtk::Widget& RegionEditor::RegionFxEntry::widget ( )
inlinevirtual
Returns
The widget that is to be put into the DnDVBox

Implements Gtkmm2ext::DnDVBoxChild.

Definition at line 83 of file region_editor.h.

Member Data Documentation

◆ _box

Gtk::VBox RegionEditor::RegionFxEntry::_box
private

Definition at line 94 of file region_editor.h.

◆ _fx_btn

ArdourWidgets::ArdourButton RegionEditor::RegionFxEntry::_fx_btn
private

Definition at line 95 of file region_editor.h.

◆ _plugin_preset_pointer

ARDOUR::PluginPresetPtr RegionEditor::RegionFxEntry::_plugin_preset_pointer
private

Definition at line 97 of file region_editor.h.

◆ _rfx

std::shared_ptr<ARDOUR::RegionFxPlugin> RegionEditor::RegionFxEntry::_rfx
private

Definition at line 96 of file region_editor.h.

◆ _selectable

bool RegionEditor::RegionFxEntry::_selectable
private

Definition at line 98 of file region_editor.h.


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