]> Shamusworld >> Repos - ttedit/blobdiff - src/toolwindow.cpp
Add ability to move points with the arrow keys.
[ttedit] / src / toolwindow.cpp
index 5fd774c1498430542df30b7ec84403e2afaf2041..13d3754d6429e1e7a039d5b1ec68422bd53dd11f 100755 (executable)
@@ -23,7 +23,6 @@
 #define DEBUGTP                                // Toolpalette debugging...
 
 #include "toolwindow.h"
-#include "types.h"
 
 
 ToolWindow::ToolWindow(void): QWidget(NULL, Qt::Window | Qt::FramelessWindowHint),
@@ -72,7 +71,7 @@ ToolType ToolWindow::FindSelectedTool(void)
 //printf("pt = %u, %u\n", pt.x(), pt.y());
 
        // Divide mouse coords by the bitmap stamp size to find which one is pointed to
-       uint32 x = (uint32)pt.x() / sizeStamp.x(), y = (uint32)pt.y() / sizeStamp.y();
+       uint32_t x = (uint32_t)pt.x() / sizeStamp.x(), y = (uint32_t)pt.y() / sizeStamp.y();
 
        // Preset failure into newTool, in case no new tool is selected
        ToolType newTool = TOOLNone;