-//\r
-// TTEDIT.H: Header file\r
-//\r
-// by James L. Hammons\r
-// (C) 2008 Underground Software\r
-//\r
-\r
-#ifndef __TTEDIT_H__\r
-#define __TTEDIT_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
-#include "ttf.h"\r
-\r
-// Forward declarations\r
-\r
-class TTEditFrame;\r
-class TTEditWindow;\r
-class CharWindow;\r
-class ToolWindow;\r
-\r
-//\r
-// Class representing the entire Application\r
-//\r
-class TTEditApp: public wxApp\r
-{\r
- public:\r
- TTEditFrame * mainFrame;\r
- CharWindow * charWin;\r
- ToolWindow * toolPalette;\r
- TTF font;\r
- wxCursor * cur[8];\r
-\r
- bool OnInit();\r
- int OnExit();\r
- void CreateResources(void);\r
-};\r
-\r
-DECLARE_APP(TTEditApp)\r
-\r
-class TTEditFrame: public wxFrame\r
-{\r
- private:\r
- protected:\r
- public:\r
- TTEditApp & app; // Reference to the application object\r
- // Subwindows for reference within the program.\r
- TTEditWindow * mainWindow;\r
- wxMenuBar * menuBar;\r
-\r
- // Constructor and destructor\r
- TTEditFrame(wxFrame * parent, const wxString &title, const wxPoint &pos, const wxSize &size, long style);\r
- ~TTEditFrame(void);\r
-\r
- void OnCloseWindow(wxCloseEvent &e);\r
- void OnOpen(wxCommandEvent &e);\r
- void OnExit(wxCommandEvent &e);\r
- void OnAbout(wxCommandEvent &e);\r
-\r
- DECLARE_EVENT_TABLE()\r
-};\r
-\r
-#endif // __TTEDIT_H__\r
+//
+// TTEDIT.H: Header file
+//
+// by James L. Hammons
+// (C) 2008 Underground Software
+//
+
+#ifndef __TTEDIT_H__
+#define __TTEDIT_H__
+
+#include <wx/wx.h> // So that whoever uses this can without having
+ // to pull in a bunch of references manually
+#include "ttf.h"
+
+// Forward declarations
+
+class TTEditFrame;
+class TTEditWindow;
+class CharWindow;
+class ToolWindow;
+
+//
+// Class representing the entire Application
+//
+class TTEditApp: public wxApp
+{
+ public:
+ TTEditFrame * mainFrame;
+ CharWindow * charWin;
+ ToolWindow * toolPalette;
+ TTF font;
+ wxCursor * cur[8];
+
+ bool OnInit();
+ int OnExit();
+ void CreateResources(void);
+};
+
+DECLARE_APP(TTEditApp)
+
+class TTEditFrame: public wxFrame
+{
+ private:
+ protected:
+ public:
+ TTEditApp & app; // Reference to the application object
+ // Subwindows for reference within the program.
+ TTEditWindow * mainWindow;
+ wxMenuBar * menuBar;
+
+ // Constructor and destructor
+ TTEditFrame(wxFrame * parent, const wxString &title, const wxPoint &pos, const wxSize &size, long style);
+ ~TTEditFrame(void);
+
+ void OnCloseWindow(wxCloseEvent &e);
+ void OnOpen(wxCommandEvent &e);
+ void OnExit(wxCommandEvent &e);
+ void OnAbout(wxCommandEvent &e);
+
+ DECLARE_EVENT_TABLE()
+};
+
+#endif // __TTEDIT_H__