ardour
|
#include <led.h>
Public Member Functions | |
LED () | |
virtual | ~LED () |
void | set_diameter (float) |
Public Member Functions inherited from CairoWidget | |
CairoWidget () | |
virtual | ~CairoWidget () |
void | set_dirty () |
Gtkmm2ext::ActiveState | active_state () const |
Gtkmm2ext::VisualState | visual_state () const |
virtual void | set_active_state (Gtkmm2ext::ActiveState) |
virtual void | set_visual_state (Gtkmm2ext::VisualState) |
void | unset_active_state () |
void | unset_visual_state () |
void | set_active (bool) |
bool | get_active () |
void | set_draw_background (bool yn) |
Protected Member Functions | |
void | render (cairo_t *, cairo_rectangle_t *) |
void | on_size_request (Gtk::Requisition *req) |
void | on_realize () |
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 > &) |
bool | on_button_press_event (GdkEventButton *) |
Gdk::Color | get_parent_bg () |
virtual void | on_name_changed () |
Private Member Functions | |
void | set_colors_from_style () |
Private Attributes | |
float | _diameter |
float | _red |
float | _green |
float | _blue |
bool | _fixed_diameter |
Additional Inherited Members | |
Static Public Member Functions inherited from CairoWidget | |
static void | provide_background_for_cairo_widget (Gtk::Widget &w, const Gdk::Color &bg) |
static void | set_flat_buttons (bool yn) |
static bool | flat_buttons () |
static void | set_widget_prelight (bool yn) |
static bool | widget_prelight () |
static void | set_source_rgb_a (cairo_t *cr, Gdk::Color, float a=1.0) |
static void | set_focus_handler (sigc::slot< void >) |
Public Attributes inherited from CairoWidget | |
sigc::signal< void > | StateChanged |
Protected Attributes inherited from CairoWidget | |
Gtkmm2ext::ActiveState | _active_state |
Gtkmm2ext::VisualState | _visual_state |
bool | _need_bg |
bool | _grabbed |
Static Protected Attributes inherited from CairoWidget | |
static bool | _flat_buttons = false |
static bool | _widget_prelight = true |
static sigc::slot< void > | focus_handler |
|
protected |
|
protectedvirtual |
Implements CairoWidget.