index 0559a11e92a0a6b713af85c7a0dfd6860a6d311b..a54ac781ef8752cff85c91a4b5377e5faa3c469d 100644 (file)
#include "libnr/nr-rect.h"
-#include "dialog.h"
+#include "ui/widget/panel.h"
#include "ui/widget/notebook-page.h"
using namespace Inkscape::UI::Widget;
class Action;
-class AlignAndDistribute : public Dialog {
+class AlignAndDistribute : public Widget::Panel {
public:
- AlignAndDistribute(Behavior::BehaviorFactory behavior_factory);
+ AlignAndDistribute();
virtual ~AlignAndDistribute();
- static AlignAndDistribute *create(Behavior::BehaviorFactory behavior_factory)
- { return new AlignAndDistribute(behavior_factory); }
+ static AlignAndDistribute &getInstance() { return *new AlignAndDistribute(); }
enum AlignTarget { LAST=0, FIRST, BIGGEST, SMALLEST, PAGE, DRAWING, SELECTION };