2 // TTEDIT.H: Header file
\r
4 // by James L. Hammons
\r
5 // (C) 2008 Underground Software
\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
15 // Forward declarations
\r
23 // Class representing the entire Application
\r
25 class TTEditApp: public wxApp
\r
28 TTEditFrame * mainFrame;
\r
29 CharWindow * charWin;
\r
30 ToolWindow * toolPalette;
\r
36 void CreateResources(void);
\r
39 DECLARE_APP(TTEditApp)
\r
41 class TTEditFrame: public wxFrame
\r
46 TTEditApp & app; // Reference to the application object
\r
47 // Subwindows for reference within the program.
\r
48 TTEditWindow * mainWindow;
\r
49 wxMenuBar * menuBar;
\r
51 // Constructor and destructor
\r
52 TTEditFrame(wxFrame * parent, const wxString &title, const wxPoint &pos, const wxSize &size, long style);
\r
55 void OnCloseWindow(wxCloseEvent &e);
\r
56 void OnOpen(wxCommandEvent &e);
\r
57 void OnExit(wxCommandEvent &e);
\r
58 void OnAbout(wxCommandEvent &e);
\r
60 DECLARE_EVENT_TABLE()
\r
63 #endif // __TTEDIT_H__
\r