2 // TOOLWINDOW.H: Header file
5 // (C) 2008 Underground Software
8 #ifndef __TOOLWINDOW_H__
9 #define __TOOLWINDOW_H__
11 #include <wx/wx.h> // So that whoever uses this can without having
12 // to pull in a bunch of references manually
14 // Enumerations (prolly go into ToolWindow class--?)
17 TOOLNone = -1, // No tool
18 TOOLSelect = 0, // The "selection" tool
19 TOOLPolySelect, // Polygon selection tool
20 TOOLScroll, // Scroll window tool
21 TOOLZoom, // Zoom window tool
22 TOOLAddPt, // Add point tool
23 TOOLAddPoly, // Polygon creation tool
24 TOOLDelPt, // Delete point tool
25 TOOLDelPoly // Delete polygon tool
28 class ToolWindow: public wxFrame
34 wxPoint sizeStamp, sizeTPBM;
37 // Constructor and destructor
38 ToolWindow(wxFrame * parent, const wxString &title, const wxPoint &pos, const wxSize &size, long style);
41 void OnPaint(wxPaintEvent &e);
42 ToolType FindSelectedTool(void);
47 #endif // __TOOLWINDOW_H__