X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fui%2Fwidget%2Fpanel.h;h=e091c82a12b65c87560207381aba6cc8127bc3ce;hb=3a8e479f331858946168c32bfc7622c9010b6680;hp=8fb4b517a79978f1d21cd8ada31c2505708926fd;hpb=04a422d8b69bcea70596ee1546de06b764029f5c;p=inkscape.git diff --git a/src/ui/widget/panel.h b/src/ui/widget/panel.h index 8fb4b517a..e091c82a1 100644 --- a/src/ui/widget/panel.h +++ b/src/ui/widget/panel.h @@ -14,6 +14,7 @@ #ifndef SEEN_INKSCAPE_UI_WIDGET_PANEL_H #define SEEN_INKSCAPE_UI_WIDGET_PANEL_H +#include #include #include #include @@ -34,8 +35,7 @@ class Panel : public Gtk::VBox public: Panel(); virtual ~Panel(); - Panel(Glib::ustring const &label); - Panel(const gchar *prefs_path); + Panel(Glib::ustring const &label, gchar const *prefs_path = 0, bool menuDesired = false ); void setLabel(Glib::ustring const &label); Glib::ustring const &getLabel() const; @@ -51,6 +51,7 @@ protected: void _regItem( Gtk::MenuItem* item, int group, int id ); virtual void _handleAction( int setId, int itemId ); + bool _menuDesired; Gtk::AnchorType _anchor; @@ -59,6 +60,7 @@ private: void bounceCall(int i, int j); void _popper(GdkEventButton* btn); + void _wrapToggled(Gtk::CheckMenuItem* toggler); Glib::ustring label; @@ -70,6 +72,8 @@ private: Gtk::EventBox menuPopper; Gtk::Button closeButton; Gtk::Menu* menu; + std::vector nonHorizontal; + std::vector nonVertical; PreviewFillable *_fillable; };