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

#include <ardour_button.h>

Inheritance diagram for ArdourWidgets::ArdourButton:
[legend]

Public Types

enum  Element {
  Edge = 0x001 , Body = 0x002 , Text = 0x004 , Indicator = 0x008 ,
  ColorBox = 0x018 , Menu = 0x020 , MetaMenu = 0x040 , Inactive = 0x080 ,
  VectorIcon = 0x100 , IconRenderCallback = 0x200
}
 
enum  Tweaks {
  Square = 0x01 , TrackHeader = 0x02 , OccasionalText = 0x04 , OccasionalLED = 0x08 ,
  ForceBoxy = 0x10 , ForceFlat = 0x20 , ExpandtoSquare = 0x40
}
 
typedef void(* rendercallback_t) (cairo_t *, int, int, uint32_t, void *)
 

Public Member Functions

 ArdourButton (Element e=default_elements, bool toggle=false)
 
 ArdourButton (const std::string &, Element e=default_elements, bool toggle=false)
 
virtual ~ArdourButton ()
 
Tweaks tweaks () const
 
void set_tweaks (Tweaks)
 
void set_active_state (Gtkmm2ext::ActiveState)
 
void set_visual_state (Gtkmm2ext::VisualState)
 
void set_custom_led_color (const uint32_t c, const bool useit=true)
 
void set_act_on_release (bool onRelease)
 
Element elements () const
 
void set_elements (Element)
 
void add_elements (Element)
 
void remove_elements (Element)
 
ArdourIcon::Icon icon () const
 
void set_icon (ArdourIcon::Icon)
 
void set_icon (rendercallback_t, void *)
 
void set_corner_radius (float)
 
void set_text (const std::string &, bool markup=false)
 
const std::string & get_text () const
 
bool get_markup () const
 
void set_angle (const double)
 
void set_alignment (const float, const float)
 
void get_alignment (float &xa, float &ya)
 
void set_led_left (bool yn)
 
void set_distinct_led_click (bool yn)
 
void set_layout_ellipsize_width (int w)
 
void set_layout_font (const Pango::FontDescription &)
 
void set_text_ellipsize (Pango::EllipsizeMode)
 
void set_width_padding (float)
 
void set_sizing_text (std::string const &)
 
void add_sizing_text (std::string const &)
 
void set_sizing_texts (std::vector< std::string > const &)
 
std::shared_ptr< PBD::Controllableget_controllable ()
 
void set_controllable (std::shared_ptr< PBD::Controllable > c)
 
void watch ()
 
void set_related_action (Glib::RefPtr< Gtk::Action >)
 
bool on_button_press_event (GdkEventButton *)
 
bool on_button_release_event (GdkEventButton *)
 
bool on_touch_begin_event (GdkEventTouch *)
 
bool on_touch_end_event (GdkEventTouch *)
 
void set_image (const Glib::RefPtr< Gdk::Pixbuf > &)
 
void set_fixed_colors (const uint32_t active_color, const uint32_t inactive_color)
 
void set_active_color (const uint32_t active_color)
 
void set_inactive_color (const uint32_t inactive_color)
 
void reset_fixed_colors ()
 
void set_fallthrough_to_parent (bool fall)
 
unsigned int char_pixel_width ()
 
unsigned int char_pixel_height ()
 
float char_avg_pixel_width ()
 
- Public Member Functions inherited from CairoWidget
 CairoWidget ()
 
virtual ~CairoWidget ()
 
void set_canvas_widget ()
 
void use_nsglview (bool retina=true)
 
void use_image_surface (bool yn=true)
 
void queue_draw ()
 
void queue_resize ()
 
int get_width () const
 
int get_height () const
 
void size_allocate (Gtk::Allocation &)
 
void set_dirty (cairo_rectangle_t *area=0)
 
Gtkmm2ext::ActiveState active_state () const
 
Gtkmm2ext::VisualState visual_state () const
 
void unset_active_state ()
 
void unset_visual_state ()
 
void set_active (bool)
 
bool get_active () const
 
void set_draw_background (bool yn)
 
uint32_t background_color ()
 
- Public Member Functions inherited from Gtkmm2ext::CairoCanvas
virtual ~CairoCanvas ()
 
- Public Member Functions inherited from Gtkmm2ext::Activatable
virtual ~Activatable ()
 
Glib::RefPtr< Gtk::Action > get_related_action ()
 

Static Public Member Functions

static void set_default_tweaks (Tweaks t)
 
- Static Public Member Functions inherited from CairoWidget
static void provide_background_for_cairo_widget (Gtk::Widget &w, const Gdk::Color &bg)
 
static void set_source_rgb_a (cairo_t *cr, Gdk::Color, float a=1.0)
 
static void set_source_rgb_a (cairo_t *cr, Gtkmm2ext::Color, float a=1.0)
 
static void set_focus_handler (sigc::slot< void, Gtk::Widget * >)
 
- Static Public Member Functions inherited from Gtkmm2ext::CairoTheme
static void set_flat_buttons (bool yn)
 
static void set_boxy_buttons (bool yn)
 
static void set_widget_prelight (bool yn)
 
static bool flat_buttons ()
 
static bool boxy_buttons ()
 
static bool widget_prelight ()
 

Public Attributes

sigc::signal< void, GdkEventButton * > signal_led_clicked
 
sigc::signal< void > signal_clicked
 
- Public Attributes inherited from CairoWidget
sigc::signal< void > StateChanged
 
sigc::signal< bool > QueueDraw
 
sigc::signal< bool > QueueResize
 

Static Public Attributes

static Element default_elements
 
static Element led_default_elements
 
static Element just_led_default_elements
 
static Tweaks default_tweaks
 

Protected Member Functions

void render (Cairo::RefPtr< Cairo::Context > const &, cairo_rectangle_t *)
 
void on_size_request (Gtk::Requisition *req)
 
void on_size_allocate (Gtk::Allocation &)
 
void on_style_changed (const Glib::RefPtr< Gtk::Style > &)
 
void on_name_changed ()
 
void on_realize ()
 
bool on_enter_notify_event (GdkEventCrossing *)
 
bool on_leave_notify_event (GdkEventCrossing *)
 
bool on_grab_broken_event (GdkEventGrabBroken *)
 
bool on_focus_in_event (GdkEventFocus *)
 
bool on_focus_out_event (GdkEventFocus *)
 
bool on_key_release_event (GdkEventKey *)
 
bool on_key_press_event (GdkEventKey *)
 
void controllable_changed ()
 
void set_text_internal ()
 
void recalc_char_pixel_geometry ()
 
void setup_led_rect ()
 
void set_colors ()
 
void color_handler ()
 
void build_patterns ()
 
void ensure_layout ()
 
void action_toggled ()
 
void action_sensitivity_changed ()
 
void action_visibility_changed ()
 
void action_tooltip_changed ()
 
- Protected Member Functions inherited from CairoWidget
virtual bool on_expose_event (GdkEventExpose *)
 
void on_size_allocate (Gtk::Allocation &)
 
void on_state_changed (Gtk::StateType)
 
void on_style_changed (const Glib::RefPtr< Gtk::Style > &)
 
void on_realize ()
 
bool on_button_press_event (GdkEventButton *)
 
Gdk::Color get_parent_bg ()
 
void on_map ()
 
void on_unmap ()
 

Protected Attributes

PBD::ScopedConnection watch_connection
 
Glib::RefPtr< Pango::Layout > _layout
 
Glib::RefPtr< Gdk::Pixbuf > _pixbuf
 
std::string _text
 
std::vector< std::string > _sizing_texts
 
bool _markup
 
Element _elements
 
ArdourIcon::Icon _icon
 
rendercallback_t _icon_render_cb
 
void * _icon_render_cb_data
 
Tweaks _tweaks
 
BindingProxy binding_proxy
 
unsigned int _char_pixel_width
 
unsigned int _char_pixel_height
 
float _char_avg_pixel_width
 
float _width_padding
 
bool _custom_font_set
 
int _text_width
 
int _text_height
 
float _diameter
 
float _corner_radius
 
int _corner_mask
 
double _angle
 
float _xalign
 
float _yalign
 
uint32_t fill_inactive_color
 
uint32_t fill_active_color
 
uint32_t text_active_color
 
uint32_t text_inactive_color
 
uint32_t led_active_color
 
uint32_t led_inactive_color
 
uint32_t led_custom_color
 
bool use_custom_led_color
 
uint32_t outline_color
 
std::optional< int > _squaresize
 
cairo_pattern_t * convex_pattern
 
cairo_pattern_t * concave_pattern
 
cairo_pattern_t * led_inset_pattern
 
cairo_rectangle_t * _led_rect
 
bool _act_on_release
 
bool _auto_toggle
 
bool _led_left
 
bool _distinct_led_click
 
bool _hovering
 
bool _focused
 
int _fixed_colors_set
 
bool _fallthrough_to_parent
 
int _layout_ellipsize_width
 
Pango::EllipsizeMode _ellipsis
 
bool _update_colors
 
int _pattern_height
 
- Protected Attributes inherited from CairoWidget
Gtkmm2ext::ActiveState _active_state
 
Gtkmm2ext::VisualState _visual_state
 
bool _need_bg
 
bool _grabbed
 
- Protected Attributes inherited from Gtkmm2ext::Activatable
Glib::RefPtr< Gtk::Action > _action
 

Additional Inherited Members

- Static Protected Attributes inherited from CairoWidget
static sigc::slot< void, Gtk::Widget * > focus_handler
 

Detailed Description

Definition at line 38 of file ardour_button.h.

Member Typedef Documentation

◆ rendercallback_t

typedef void(* ArdourWidgets::ArdourButton::rendercallback_t) (cairo_t *, int, int, uint32_t, void *)

Definition at line 54 of file ardour_button.h.

Member Enumeration Documentation

◆ Element

Enumerator
Edge 
Body 
Text 
Indicator 
ColorBox 
Menu 
MetaMenu 
Inactive 
VectorIcon 
IconRenderCallback 

Definition at line 41 of file ardour_button.h.

◆ Tweaks

Enumerator
Square 
TrackHeader 
OccasionalText 
OccasionalLED 
ForceBoxy 
ForceFlat 
ExpandtoSquare 

Definition at line 64 of file ardour_button.h.

Constructor & Destructor Documentation

◆ ArdourButton() [1/2]

ArdourWidgets::ArdourButton::ArdourButton ( Element  e = default_elements,
bool  toggle = false 
)

◆ ArdourButton() [2/2]

ArdourWidgets::ArdourButton::ArdourButton ( const std::string &  ,
Element  e = default_elements,
bool  toggle = false 
)

◆ ~ArdourButton()

virtual ArdourWidgets::ArdourButton::~ArdourButton ( )
virtual

Member Function Documentation

◆ action_sensitivity_changed()

void ArdourWidgets::ArdourButton::action_sensitivity_changed ( )
protected

◆ action_toggled()

void ArdourWidgets::ArdourButton::action_toggled ( )
protected

◆ action_tooltip_changed()

void ArdourWidgets::ArdourButton::action_tooltip_changed ( )
protected

◆ action_visibility_changed()

void ArdourWidgets::ArdourButton::action_visibility_changed ( )
protected

◆ add_elements()

void ArdourWidgets::ArdourButton::add_elements ( Element  )

◆ add_sizing_text()

void ArdourWidgets::ArdourButton::add_sizing_text ( std::string const &  )

◆ build_patterns()

void ArdourWidgets::ArdourButton::build_patterns ( )
protected

◆ char_avg_pixel_width()

float ArdourWidgets::ArdourButton::char_avg_pixel_width ( )
inline

Definition at line 145 of file ardour_button.h.

◆ char_pixel_height()

unsigned int ArdourWidgets::ArdourButton::char_pixel_height ( )
inline

Definition at line 144 of file ardour_button.h.

◆ char_pixel_width()

unsigned int ArdourWidgets::ArdourButton::char_pixel_width ( )
inline

Definition at line 143 of file ardour_button.h.

◆ color_handler()

void ArdourWidgets::ArdourButton::color_handler ( )
protected

◆ controllable_changed()

void ArdourWidgets::ArdourButton::controllable_changed ( )
protected

◆ elements()

Element ArdourWidgets::ArdourButton::elements ( ) const
inline

Definition at line 87 of file ardour_button.h.

◆ ensure_layout()

void ArdourWidgets::ArdourButton::ensure_layout ( )
protected

◆ get_alignment()

void ArdourWidgets::ArdourButton::get_alignment ( float &  xa,
float &  ya 
)
inline

Definition at line 103 of file ardour_button.h.

◆ get_controllable()

std::shared_ptr<PBD::Controllable> ArdourWidgets::ArdourButton::get_controllable ( )
inline

Definition at line 123 of file ardour_button.h.

◆ get_markup()

bool ArdourWidgets::ArdourButton::get_markup ( ) const
inline

Definition at line 100 of file ardour_button.h.

◆ get_text()

const std::string& ArdourWidgets::ArdourButton::get_text ( ) const
inline

Definition at line 99 of file ardour_button.h.

◆ icon()

ArdourIcon::Icon ArdourWidgets::ArdourButton::icon ( ) const
inline

Definition at line 92 of file ardour_button.h.

◆ on_button_press_event()

bool ArdourWidgets::ArdourButton::on_button_press_event ( GdkEventButton *  )

◆ on_button_release_event()

bool ArdourWidgets::ArdourButton::on_button_release_event ( GdkEventButton *  )

◆ on_enter_notify_event()

bool ArdourWidgets::ArdourButton::on_enter_notify_event ( GdkEventCrossing *  )
protected

◆ on_focus_in_event()

bool ArdourWidgets::ArdourButton::on_focus_in_event ( GdkEventFocus *  )
protected

◆ on_focus_out_event()

bool ArdourWidgets::ArdourButton::on_focus_out_event ( GdkEventFocus *  )
protected

◆ on_grab_broken_event()

bool ArdourWidgets::ArdourButton::on_grab_broken_event ( GdkEventGrabBroken *  )
protected

◆ on_key_press_event()

bool ArdourWidgets::ArdourButton::on_key_press_event ( GdkEventKey *  )
protected

◆ on_key_release_event()

bool ArdourWidgets::ArdourButton::on_key_release_event ( GdkEventKey *  )
protected

◆ on_leave_notify_event()

bool ArdourWidgets::ArdourButton::on_leave_notify_event ( GdkEventCrossing *  )
protected

◆ on_name_changed()

void ArdourWidgets::ArdourButton::on_name_changed ( )
protectedvirtual

Reimplemented from CairoWidget.

◆ on_realize()

void ArdourWidgets::ArdourButton::on_realize ( )
protected

◆ on_size_allocate()

void ArdourWidgets::ArdourButton::on_size_allocate ( Gtk::Allocation &  )
protected

◆ on_size_request()

void ArdourWidgets::ArdourButton::on_size_request ( Gtk::Requisition *  req)
protected

◆ on_style_changed()

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

◆ on_touch_begin_event()

bool ArdourWidgets::ArdourButton::on_touch_begin_event ( GdkEventTouch *  )

◆ on_touch_end_event()

bool ArdourWidgets::ArdourButton::on_touch_end_event ( GdkEventTouch *  )

◆ recalc_char_pixel_geometry()

void ArdourWidgets::ArdourButton::recalc_char_pixel_geometry ( )
protected

◆ remove_elements()

void ArdourWidgets::ArdourButton::remove_elements ( Element  )

◆ render()

void ArdourWidgets::ArdourButton::render ( Cairo::RefPtr< Cairo::Context > const &  ,
cairo_rectangle_t *   
)
protectedvirtual

Implements Gtkmm2ext::CairoCanvas.

Reimplemented in ArdourWidgets::MetaButton.

◆ reset_fixed_colors()

void ArdourWidgets::ArdourButton::reset_fixed_colors ( )

◆ set_act_on_release()

void ArdourWidgets::ArdourButton::set_act_on_release ( bool  onRelease)
inline

Definition at line 85 of file ardour_button.h.

◆ set_active_color()

void ArdourWidgets::ArdourButton::set_active_color ( const uint32_t  active_color)

◆ set_active_state()

void ArdourWidgets::ArdourButton::set_active_state ( Gtkmm2ext::ActiveState  )
virtual

Reimplemented from CairoWidget.

◆ set_alignment()

void ArdourWidgets::ArdourButton::set_alignment ( const float  ,
const float   
)

◆ set_angle()

void ArdourWidgets::ArdourButton::set_angle ( const double  )

◆ set_colors()

void ArdourWidgets::ArdourButton::set_colors ( )
protected

◆ set_controllable()

void ArdourWidgets::ArdourButton::set_controllable ( std::shared_ptr< PBD::Controllable c)

◆ set_corner_radius()

void ArdourWidgets::ArdourButton::set_corner_radius ( float  )

◆ set_custom_led_color()

void ArdourWidgets::ArdourButton::set_custom_led_color ( const uint32_t  c,
const bool  useit = true 
)

◆ set_default_tweaks()

static void ArdourWidgets::ArdourButton::set_default_tweaks ( Tweaks  t)
inlinestatic

Definition at line 75 of file ardour_button.h.

◆ set_distinct_led_click()

void ArdourWidgets::ArdourButton::set_distinct_led_click ( bool  yn)

◆ set_elements()

void ArdourWidgets::ArdourButton::set_elements ( Element  )

◆ set_fallthrough_to_parent()

void ArdourWidgets::ArdourButton::set_fallthrough_to_parent ( bool  fall)
inline

Definition at line 141 of file ardour_button.h.

◆ set_fixed_colors()

void ArdourWidgets::ArdourButton::set_fixed_colors ( const uint32_t  active_color,
const uint32_t  inactive_color 
)

◆ set_icon() [1/2]

void ArdourWidgets::ArdourButton::set_icon ( ArdourIcon::Icon  )

◆ set_icon() [2/2]

void ArdourWidgets::ArdourButton::set_icon ( rendercallback_t  ,
void *   
)

◆ set_image()

void ArdourWidgets::ArdourButton::set_image ( const Glib::RefPtr< Gdk::Pixbuf > &  )

◆ set_inactive_color()

void ArdourWidgets::ArdourButton::set_inactive_color ( const uint32_t  inactive_color)

◆ set_layout_ellipsize_width()

void ArdourWidgets::ArdourButton::set_layout_ellipsize_width ( int  w)

◆ set_layout_font()

void ArdourWidgets::ArdourButton::set_layout_font ( const Pango::FontDescription &  )

◆ set_led_left()

void ArdourWidgets::ArdourButton::set_led_left ( bool  yn)

◆ set_related_action()

void ArdourWidgets::ArdourButton::set_related_action ( Glib::RefPtr< Gtk::Action >  )
virtual

Reimplemented from Gtkmm2ext::Activatable.

◆ set_sizing_text()

void ArdourWidgets::ArdourButton::set_sizing_text ( std::string const &  )

◆ set_sizing_texts()

void ArdourWidgets::ArdourButton::set_sizing_texts ( std::vector< std::string > const &  )

◆ set_text()

void ArdourWidgets::ArdourButton::set_text ( const std::string &  ,
bool  markup = false 
)

◆ set_text_ellipsize()

void ArdourWidgets::ArdourButton::set_text_ellipsize ( Pango::EllipsizeMode  )

◆ set_text_internal()

void ArdourWidgets::ArdourButton::set_text_internal ( )
protected

◆ set_tweaks()

void ArdourWidgets::ArdourButton::set_tweaks ( Tweaks  )

◆ set_visual_state()

void ArdourWidgets::ArdourButton::set_visual_state ( Gtkmm2ext::VisualState  )
virtual

Reimplemented from CairoWidget.

◆ set_width_padding()

void ArdourWidgets::ArdourButton::set_width_padding ( float  )

◆ setup_led_rect()

void ArdourWidgets::ArdourButton::setup_led_rect ( )
protected

◆ tweaks()

Tweaks ArdourWidgets::ArdourButton::tweaks ( ) const
inline

Definition at line 77 of file ardour_button.h.

◆ watch()

void ArdourWidgets::ArdourButton::watch ( )

Member Data Documentation

◆ _act_on_release

bool ArdourWidgets::ArdourButton::_act_on_release
protected

Definition at line 216 of file ardour_button.h.

◆ _angle

double ArdourWidgets::ArdourButton::_angle
protected

Definition at line 193 of file ardour_button.h.

◆ _auto_toggle

bool ArdourWidgets::ArdourButton::_auto_toggle
protected

Definition at line 217 of file ardour_button.h.

◆ _char_avg_pixel_width

float ArdourWidgets::ArdourButton::_char_avg_pixel_width
protected

Definition at line 183 of file ardour_button.h.

◆ _char_pixel_height

unsigned int ArdourWidgets::ArdourButton::_char_pixel_height
protected

Definition at line 182 of file ardour_button.h.

◆ _char_pixel_width

unsigned int ArdourWidgets::ArdourButton::_char_pixel_width
protected

Definition at line 181 of file ardour_button.h.

◆ _corner_mask

int ArdourWidgets::ArdourButton::_corner_mask
protected

Definition at line 191 of file ardour_button.h.

◆ _corner_radius

float ArdourWidgets::ArdourButton::_corner_radius
protected

Definition at line 190 of file ardour_button.h.

◆ _custom_font_set

bool ArdourWidgets::ArdourButton::_custom_font_set
protected

Definition at line 185 of file ardour_button.h.

◆ _diameter

float ArdourWidgets::ArdourButton::_diameter
protected

Definition at line 189 of file ardour_button.h.

◆ _distinct_led_click

bool ArdourWidgets::ArdourButton::_distinct_led_click
protected

Definition at line 219 of file ardour_button.h.

◆ _elements

Element ArdourWidgets::ArdourButton::_elements
protected

Definition at line 171 of file ardour_button.h.

◆ _ellipsis

Pango::EllipsizeMode ArdourWidgets::ArdourButton::_ellipsis
protected

Definition at line 225 of file ardour_button.h.

◆ _fallthrough_to_parent

bool ArdourWidgets::ArdourButton::_fallthrough_to_parent
protected

Definition at line 223 of file ardour_button.h.

◆ _fixed_colors_set

int ArdourWidgets::ArdourButton::_fixed_colors_set
protected

Definition at line 222 of file ardour_button.h.

◆ _focused

bool ArdourWidgets::ArdourButton::_focused
protected

Definition at line 221 of file ardour_button.h.

◆ _hovering

bool ArdourWidgets::ArdourButton::_hovering
protected

Definition at line 220 of file ardour_button.h.

◆ _icon

ArdourIcon::Icon ArdourWidgets::ArdourButton::_icon
protected

Definition at line 172 of file ardour_button.h.

◆ _icon_render_cb

rendercallback_t ArdourWidgets::ArdourButton::_icon_render_cb
protected

Definition at line 173 of file ardour_button.h.

◆ _icon_render_cb_data

void* ArdourWidgets::ArdourButton::_icon_render_cb_data
protected

Definition at line 174 of file ardour_button.h.

◆ _layout

Glib::RefPtr<Pango::Layout> ArdourWidgets::ArdourButton::_layout
protected

Definition at line 166 of file ardour_button.h.

◆ _layout_ellipsize_width

int ArdourWidgets::ArdourButton::_layout_ellipsize_width
protected

Definition at line 224 of file ardour_button.h.

◆ _led_left

bool ArdourWidgets::ArdourButton::_led_left
protected

Definition at line 218 of file ardour_button.h.

◆ _led_rect

cairo_rectangle_t* ArdourWidgets::ArdourButton::_led_rect
protected

Definition at line 214 of file ardour_button.h.

◆ _markup

bool ArdourWidgets::ArdourButton::_markup
protected

Definition at line 170 of file ardour_button.h.

◆ _pattern_height

int ArdourWidgets::ArdourButton::_pattern_height
protected

Definition at line 227 of file ardour_button.h.

◆ _pixbuf

Glib::RefPtr<Gdk::Pixbuf> ArdourWidgets::ArdourButton::_pixbuf
protected

Definition at line 167 of file ardour_button.h.

◆ _sizing_texts

std::vector<std::string> ArdourWidgets::ArdourButton::_sizing_texts
protected

Definition at line 169 of file ardour_button.h.

◆ _squaresize

std::optional<int> ArdourWidgets::ArdourButton::_squaresize
protected

Definition at line 209 of file ardour_button.h.

◆ _text

std::string ArdourWidgets::ArdourButton::_text
protected

Definition at line 168 of file ardour_button.h.

◆ _text_height

int ArdourWidgets::ArdourButton::_text_height
protected

Definition at line 188 of file ardour_button.h.

◆ _text_width

int ArdourWidgets::ArdourButton::_text_width
protected

Definition at line 187 of file ardour_button.h.

◆ _tweaks

Tweaks ArdourWidgets::ArdourButton::_tweaks
protected

Definition at line 175 of file ardour_button.h.

◆ _update_colors

bool ArdourWidgets::ArdourButton::_update_colors
protected

Definition at line 226 of file ardour_button.h.

◆ _width_padding

float ArdourWidgets::ArdourButton::_width_padding
protected

Definition at line 184 of file ardour_button.h.

◆ _xalign

float ArdourWidgets::ArdourButton::_xalign
protected

Definition at line 194 of file ardour_button.h.

◆ _yalign

float ArdourWidgets::ArdourButton::_yalign
protected

Definition at line 194 of file ardour_button.h.

◆ binding_proxy

BindingProxy ArdourWidgets::ArdourButton::binding_proxy
protected

Definition at line 176 of file ardour_button.h.

◆ concave_pattern

cairo_pattern_t* ArdourWidgets::ArdourButton::concave_pattern
protected

Definition at line 212 of file ardour_button.h.

◆ convex_pattern

cairo_pattern_t* ArdourWidgets::ArdourButton::convex_pattern
protected

Definition at line 211 of file ardour_button.h.

◆ default_elements

Element ArdourWidgets::ArdourButton::default_elements
static

Definition at line 56 of file ardour_button.h.

◆ default_tweaks

Tweaks ArdourWidgets::ArdourButton::default_tweaks
static

Definition at line 74 of file ardour_button.h.

◆ fill_active_color

uint32_t ArdourWidgets::ArdourButton::fill_active_color
protected

Definition at line 197 of file ardour_button.h.

◆ fill_inactive_color

uint32_t ArdourWidgets::ArdourButton::fill_inactive_color
protected

Definition at line 196 of file ardour_button.h.

◆ just_led_default_elements

Element ArdourWidgets::ArdourButton::just_led_default_elements
static

Definition at line 58 of file ardour_button.h.

◆ led_active_color

uint32_t ArdourWidgets::ArdourButton::led_active_color
protected

Definition at line 202 of file ardour_button.h.

◆ led_custom_color

uint32_t ArdourWidgets::ArdourButton::led_custom_color
protected

Definition at line 204 of file ardour_button.h.

◆ led_default_elements

Element ArdourWidgets::ArdourButton::led_default_elements
static

Definition at line 57 of file ardour_button.h.

◆ led_inactive_color

uint32_t ArdourWidgets::ArdourButton::led_inactive_color
protected

Definition at line 203 of file ardour_button.h.

◆ led_inset_pattern

cairo_pattern_t* ArdourWidgets::ArdourButton::led_inset_pattern
protected

Definition at line 213 of file ardour_button.h.

◆ outline_color

uint32_t ArdourWidgets::ArdourButton::outline_color
protected

Definition at line 207 of file ardour_button.h.

◆ signal_clicked

sigc::signal<void> ArdourWidgets::ArdourButton::signal_clicked

Definition at line 121 of file ardour_button.h.

◆ signal_led_clicked

sigc::signal<void, GdkEventButton*> ArdourWidgets::ArdourButton::signal_led_clicked

Definition at line 120 of file ardour_button.h.

◆ text_active_color

uint32_t ArdourWidgets::ArdourButton::text_active_color
protected

Definition at line 199 of file ardour_button.h.

◆ text_inactive_color

uint32_t ArdourWidgets::ArdourButton::text_inactive_color
protected

Definition at line 200 of file ardour_button.h.

◆ use_custom_led_color

bool ArdourWidgets::ArdourButton::use_custom_led_color
protected

Definition at line 205 of file ardour_button.h.

◆ watch_connection

PBD::ScopedConnection ArdourWidgets::ArdourButton::watch_connection
protected

Definition at line 163 of file ardour_button.h.


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