Code

convert almost all libnrtype to Geom::
[inkscape.git] / src / ui / dialog / transformation.h
index 361b30a04c088cb8e71b37c46e371e41a81fa35a..e64353f5a1e6bde0e5fb904b8177703a7dbef503 100644 (file)
@@ -19,7 +19,7 @@
 
 
 
-#include "dialog.h"
+#include "ui/widget/panel.h"
 #include "application/application.h"
 #include "ui/widget/notebook-page.h"
 #include "ui/widget/scalar-unit.h"
@@ -38,7 +38,7 @@ namespace Dialog {
 
 
 
-class Transformation : public Dialog
+class Transformation : public UI::Widget::Panel
 {
 
 public:
@@ -46,19 +46,18 @@ public:
     /**
      * Create a new transform
      */
-    Transformation(Behavior::BehaviorFactory behavior_factory);
+    Transformation();
 
     /**
      * Cleanup
      */
     virtual ~Transformation();
 
-
     /**
      * Factory method.  Create an instance of this class/interface
      */
-    static Transformation *create(Behavior::BehaviorFactory behavior_factory)
-        { return new Transformation(behavior_factory); }
+    static Transformation &getInstance()
+        { return *new Transformation(); }
 
 
     /**