Make MyImageMenuItem constructable from an RTImage

This commit is contained in:
Lawrence Lee
2021-04-12 21:48:54 -07:00
parent be7aecac40
commit 3efbb99ba9
2 changed files with 20 additions and 2 deletions

View File

@@ -489,8 +489,11 @@ private:
RTImage *image;
Gtk::Label *label;
void construct(Glib::ustring label, RTImage* image);
public:
MyImageMenuItem (Glib::ustring label, Glib::ustring imageFileName);
MyImageMenuItem (Glib::ustring label, RTImage* image);
const RTImage *getImage () const;
const Gtk::Label* getLabel () const;
};