]> Shamusworld >> Repos - ttedit/blobdiff - src/toolwindow.h
Fix zoom to zoom in/out from the center.
[ttedit] / src / toolwindow.h
old mode 100755 (executable)
new mode 100644 (file)
index f9134bc..2864970
@@ -8,7 +8,7 @@
 #ifndef __TOOLWINDOW_H__
 #define __TOOLWINDOW_H__
 
-#include <QtGui>
+#include <QtWidgets>
 
 // Enumerations
 
@@ -16,14 +16,16 @@ enum ToolType {
        TOOLNone = -1,                                                  // No tool
        TOOLSelect = 0,                                                 // The "selection" tool
        TOOLPolySelect,                                                 // Polygon selection tool
-       TOOLScroll,                                                             // Scroll window 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
+       TOOLRotatePoly,                                                 // Rotate polygon around centroid tool
+       TOOLFlipWinding,                                                // Change polygon's winding direction tool
+       TOOLScroll                                                              // Scroll window tool
 };
 
 class ToolWindow: public QWidget
@@ -47,3 +49,4 @@ class ToolWindow: public QWidget
 };
 
 #endif // __TOOLWINDOW_H__
+