]> Shamusworld >> Repos - ttedit/blobdiff - src/toolwindow.h
Added preview window to file loading dialog. :-)
[ttedit] / src / toolwindow.h
old mode 100755 (executable)
new mode 100644 (file)
index 1623eb4..6fc3723
@@ -8,20 +8,24 @@
 #ifndef __TOOLWINDOW_H__
 #define __TOOLWINDOW_H__
 
-#include <QtGui>
+#include <QtWidgets>
 
 // Enumerations
 
 enum ToolType {
-       TOOLNone = -1,                                                  // No tool
-       TOOLSelect = 0,                                                 // The "selection" tool
-       TOOLPolySelect,                                                 // Polygon selection tool
-       TOOLScroll,                                                             // Scroll window tool
-       TOOLZoom,                                                               // Zoom window tool
-       TOOLAddPt,                                                              // Add point tool
-       TOOLAddPoly,                                                    // Polygon creation tool
-       TOOLDelPt,                                                              // Delete point tool
-       TOOLDelPoly                                                             // Delete polygon tool
+       TOOLNone = -1,          // No tool
+       TOOLSelect = 0,         // The "selection" tool
+       TOOLPolySelect,         // Polygon selection tool
+       TOOLMultiSelect,        // Rectangle selection tool
+       TOOLZoom,                       // Zoom window tool
+       TOOLAddPt,                      // Add point tool
+       TOOLAddPoly,            // Polygon creation tool
+       TOOLDelPt,                      // Delete point tool
+       TOOLDelPoly,            // Delete polygon tool
+       TOOLRotate,                     // Rotate tool
+       TOOLRotatePoly,         // Rotate polygon around centroid tool
+       TOOLFlipWinding,        // Change polygon's winding direction tool
+       TOOLScroll                      // Scroll window tool
 };
 
 class ToolWindow: public QWidget
@@ -45,3 +49,4 @@ class ToolWindow: public QWidget
 };
 
 #endif // __TOOLWINDOW_H__
+