]> Shamusworld >> Repos - ttedit/blobdiff - src/toolwindow.h
Set the eol style on the project to native, to avoid line ending chaos.
[ttedit] / src / toolwindow.h
index 5d1ee3ee74eac42bc3ed8e48d38c8bae89f880df..d4eab9f0371fd400ef9a40e91b3d50663348057b 100755 (executable)
@@ -1,47 +1,47 @@
-//\r
-// TOOLWINDOW.H: Header file\r
-//\r
-// by James L. Hammons\r
-// (C) 2008 Underground Software\r
-//\r
-\r
-#ifndef __TOOLWINDOW_H__\r
-#define __TOOLWINDOW_H__\r
-\r
-#include <wx/wx.h>                                                             // So that whoever uses this can without having\r
-                                                                                               // to pull in a bunch of references manually\r
-\r
-// Enumerations (prolly go into ToolWindow class--?)\r
-\r
-enum ToolType {\r
-       TOOLNone = -1,                                                  // No tool\r
-       TOOLSelect = 0,                                                 // The "selection" tool\r
-       TOOLPolySelect,                                                 // Polygon selection tool\r
-       TOOLScroll,                                                             // Scroll window tool\r
-       TOOLZoom,                                                               // Zoom window tool\r
-       TOOLAddPt,                                                              // Add point tool\r
-       TOOLAddPoly,                                                    // Polygon creation tool\r
-       TOOLDelPt,                                                              // Delete point tool\r
-       TOOLDelPoly                                                             // Delete polygon tool\r
-};\r
-\r
-class ToolWindow: public wxFrame\r
-{\r
-       private:\r
-       protected:\r
-       public:\r
-               wxBitmap * bmp;\r
-               wxPoint sizeStamp, sizeTPBM;\r
-               ToolType prevTool;\r
-\r
-               // Constructor and destructor\r
-               ToolWindow(wxFrame * parent, const wxString &title, const wxPoint &pos, const wxSize &size, long style);\r
-               ~ToolWindow(void);\r
-\r
-               void OnPaint(wxPaintEvent &e);\r
-               ToolType FindSelectedTool(void);\r
-\r
-       DECLARE_EVENT_TABLE()\r
-};\r
-\r
-#endif // __TOOLWINDOW_H__\r
+//
+// TOOLWINDOW.H: Header file
+//
+// by James L. Hammons
+// (C) 2008 Underground Software
+//
+
+#ifndef __TOOLWINDOW_H__
+#define __TOOLWINDOW_H__
+
+#include <wx/wx.h>                                                             // So that whoever uses this can without having
+                                                                                               // to pull in a bunch of references manually
+
+// Enumerations (prolly go into ToolWindow class--?)
+
+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
+};
+
+class ToolWindow: public wxFrame
+{
+       private:
+       protected:
+       public:
+               wxBitmap * bmp;
+               wxPoint sizeStamp, sizeTPBM;
+               ToolType prevTool;
+
+               // Constructor and destructor
+               ToolWindow(wxFrame * parent, const wxString &title, const wxPoint &pos, const wxSize &size, long style);
+               ~ToolWindow(void);
+
+               void OnPaint(wxPaintEvent &e);
+               ToolType FindSelectedTool(void);
+
+       DECLARE_EVENT_TABLE()
+};
+
+#endif // __TOOLWINDOW_H__