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