diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-04 00:32:52 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-04 00:32:52 -0400 |
commit | aaea166135ace01709f7e0be64f40be80f4107ec (patch) | |
tree | 0e794ef7a723e4aaf909b841a6816e405b4ceca1 /libs/canvas/canvas/pixbuf.h | |
parent | 1d8bac08c0c00d44e22c581768a275e1b21a99a7 (diff) |
initial commit of hand merging, plus getting "ancient" waf script to work correctly
Diffstat (limited to 'libs/canvas/canvas/pixbuf.h')
-rw-r--r-- | libs/canvas/canvas/pixbuf.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/libs/canvas/canvas/pixbuf.h b/libs/canvas/canvas/pixbuf.h new file mode 100644 index 0000000000..31efb1c1ef --- /dev/null +++ b/libs/canvas/canvas/pixbuf.h @@ -0,0 +1,27 @@ +#include <glibmm/refptr.h> + +#include "canvas/item.h" + +namespace Gdk { + class Pixbuf; +} + +namespace ArdourCanvas { + +class Pixbuf : public Item +{ +public: + Pixbuf (Group *); + + void render (Rect const &, Cairo::RefPtr<Cairo::Context>) const; + void compute_bounding_box () const; + XMLNode* get_state () const; + void set_state (XMLNode const *); + + void set (Glib::RefPtr<Gdk::Pixbuf>); + +private: + Glib::RefPtr<Gdk::Pixbuf> _pixbuf; +}; + +} |