2 // TTEDIT.H: Header file
5 // (C) 2008 Underground Software
11 #include <wx/wx.h> // So that whoever uses this can without having
12 // to pull in a bunch of references manually
15 // Forward declarations
23 // Class representing the entire Application
25 class TTEditApp: public wxApp
28 TTEditFrame * mainFrame;
30 ToolWindow * toolPalette;
36 void CreateResources(void);
39 DECLARE_APP(TTEditApp)
41 class TTEditFrame: public wxFrame
46 TTEditApp & app; // Reference to the application object
47 // Subwindows for reference within the program.
48 TTEditWindow * mainWindow;
51 // Constructor and destructor
52 TTEditFrame(wxFrame * parent, const wxString &title, const wxPoint &pos, const wxSize &size, long style);
55 void OnCloseWindow(wxCloseEvent &e);
56 void OnOpen(wxCommandEvent &e);
57 void OnExit(wxCommandEvent &e);
58 void OnAbout(wxCommandEvent &e);
63 #endif // __TTEDIT_H__