index a600191e9f293c4dddb354c4ec7b810ceeaf3068..83c5089fc8a434726caa00a02c9dae7de4718957 100644 (file)
#include <gtkmm/scrolledwindow.h>
#include <gtkmm/box.h>
#include <gtkmm/buttonbox.h>
#include <gtkmm/scrolledwindow.h>
#include <gtkmm/box.h>
#include <gtkmm/buttonbox.h>
+#include <gtkmm/spinbutton.h>
-#include "ui/widget/panel.h"
//#include "ui/previewholder.h"
//#include "ui/previewholder.h"
+#include "ui/dialog/dialog.h"
class SPObject;
class SPObject;
/**
* A panel that displays layers.
*/
/**
* A panel that displays layers.
*/
-class LayersPanel : public Inkscape::UI::Widget::Panel
+class LayersPanel : public Inkscape::UI::Dialog::Dialog
{
public:
{
public:
- LayersPanel();
+ LayersPanel(Inkscape::UI::Dialog::Behavior::BehaviorFactory behavior_factory);
virtual ~LayersPanel();
virtual ~LayersPanel();
- static LayersPanel& getInstance();
//virtual void setOrientation( Gtk::AnchorType how );
//virtual void setOrientation( Gtk::AnchorType how );
+ static LayersPanel *create(Inkscape::UI::Dialog::Behavior::BehaviorFactory behavior_factory);
void setDesktop( SPDesktop* desktop );
void setDesktop( SPDesktop* desktop );
Gtk::HBox _opacityBox;
Gtk::HScale _opacity;
Gtk::Menu _popupMenu;
Gtk::HBox _opacityBox;
Gtk::HScale _opacity;
Gtk::Menu _popupMenu;
+ Gtk::SpinButton _spinBtn;
};
};