Pass Cairo context down to child elements instead of recreating it.

This commit is contained in:
Adam Reichold
2015-12-05 09:14:41 +01:00
parent 48f0225104
commit 333f9013dd
5 changed files with 7 additions and 13 deletions

View File

@@ -70,7 +70,7 @@ public:
FileBrowserEntry (Thumbnail* thm, const Glib::ustring& fname);
~FileBrowserEntry ();
void draw ();
void draw (Cairo::RefPtr<Cairo::Context> cc);
void setImageAreaToolListener (ImageAreaToolListener* l)
{