|
UniWidgets
1.0.0
|
00001 #ifndef _SCREENPACKER_H 00002 #define _SCREENPACKER_H 00003 // ------------------------------------------------------------------------- 00010 // ------------------------------------------------------------------------- 00011 #include <gtkmm.h> 00012 #include <glibmm.h> 00013 #include <libglademm.h> 00014 #include <glade/glade.h> 00015 #include <iostream> 00016 #include <iomanip> 00017 #include <UniXML.h> 00018 // #include "YauzaConfiguration.h" 00019 // #include "YauzaTypes.h" 00020 // #include "YauzaMessages.h" 00021 #include <uwidgets/UProxyWidget.h> 00022 #include <typical/IndicatorFourState.h> 00023 #include <typical/IndicatorTwoState.h> 00024 #include <typical/GDG.h> 00025 #include <typical/VDG.h> 00026 #include <uwidgets/UPrinterInterface.h> 00027 #include <usvgwidgets/USVGImage.h> 00028 #include <usvgwidgets/USVGText.h> 00029 // ------------------------------------------------------------------------- 00036 class ScreenPacker 00037 { 00038 #warning ScreenPacker - very unsafe class! 00039 public: 00045 ScreenPacker( Gtk::Notebook* n, const Glib::ustring& path, const Glib::ustring& svgdir); 00047 void append_widget(Gtk::Widget *w, const Glib::ustring& tabname); 00049 virtual void append(const Glib::ustring& tabname); 00051 virtual void append_notebook(const Glib::ustring& tabname); 00052 private: 00053 Gtk::Notebook* nbook; 00054 std::string gladedir; 00055 std::string svgdir_; 00056 int scrnum; 00057 std::vector<Gtk::TargetEntry> listTargets; 00058 }; 00059 00060 #endif /* _SCREENPACKER_H */
1.7.6.1