mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-18 20:56:28 +01:00
[P4/git history rebuild] changes to pixfader to allow use of image
This commit is contained in:
parent
9c715e4926
commit
4cefe3096a
1 changed files with 2 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ class LIBGTKMM2EXT_API PixFader : public Gtk::DrawingArea
|
||||||
|
|
||||||
void set_default_value (float);
|
void set_default_value (float);
|
||||||
void set_text (const std::string&);
|
void set_text (const std::string&);
|
||||||
|
void set_image (const Glib::RefPtr<Gdk::Pixbuf>&);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
Glib::RefPtr<Pango::Layout> _layout;
|
Glib::RefPtr<Pango::Layout> _layout;
|
||||||
|
|
@ -48,6 +49,7 @@ class LIBGTKMM2EXT_API PixFader : public Gtk::DrawingArea
|
||||||
double text_r;
|
double text_r;
|
||||||
double text_g;
|
double text_g;
|
||||||
double text_b;
|
double text_b;
|
||||||
|
Glib::RefPtr<Gdk::Pixbuf> _handle_pixbuf;
|
||||||
|
|
||||||
Gtk::Adjustment& adjustment;
|
Gtk::Adjustment& adjustment;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue