3 #include "pool/package.hpp"
5 #include "footag/footag.h"
8 class FootagDisplay :
public Gtk::Box {
10 FootagDisplay(BaseObjectType *cobject,
const Glib::RefPtr<Gtk::Builder> &x,
class IDocumentPackage &c,
11 enum footag_type type);
12 static FootagDisplay *create(IDocumentPackage &c,
enum footag_type type);
14 ~FootagDisplay()
override;
19 IDocumentPackage &core;
20 Gtk::Label *reference_label =
nullptr;
21 Gtk::Label *reference_title =
nullptr;
22 Gtk::CheckButton *autofit;
23 Gtk::Label *hint_label =
nullptr;
25 class PreviewCanvas *canvas_package =
nullptr;
30 void calc_and_display();
31 void calc(Package &pkg,
const struct footag_spec *s);
33 Gtk::Allocation old_alloc;