X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fttemainwindow.h;fp=src%2Fttemainwindow.h;h=0000000000000000000000000000000000000000;hb=cf3ec188764cdf34ff3472ee9806aba3a772d2df;hp=8de8ec1b99f7f6ee450542117612cab01f51f074;hpb=0cdf0ebfb4b788156b8eb2c2acadd5f95fe5be26;p=ttedit diff --git a/src/ttemainwindow.h b/src/ttemainwindow.h deleted file mode 100644 index 8de8ec1..0000000 --- a/src/ttemainwindow.h +++ /dev/null @@ -1,93 +0,0 @@ -// -// TTEMAINWINDOW.H: Header file -// -// by James L. Hammons -// (C) 2009 Underground Software -// - -#ifndef __TTEMAINWINDOW_H__ -#define __TTEMAINWINDOW_H__ - -//Hrm. uh??? I thought this wasn't the way to do this stuff...??? -#include - -#if 0 -//#include // So that whoever uses this can without having - // to pull in a bunch of references manually -//#include "ttf.h" - -// Forward declarations - -//class TTEditWin; -//class TTEditWindow; -//class CharWindow; -//class ToolWindow; - -// -// Class representing the entire Application -// -class TTEditApp: public QMainWindow -{ - public: - TTEditFrame * mainFrame; - CharWindow * charWin; - ToolWindow * toolPalette; - TTF font; - wxCursor * cur[8]; - - bool OnInit(); - int OnExit(); - void CreateResources(void); -}; - -DECLARE_APP(TTEditApp) -#endif -// Forward declarations - -class EditWindow; -//class CharWindow; - -class TTEMainWindow: public QMainWindow -{ - // All Qt apps require this macro - Q_OBJECT - - public: - TTEMainWindow(); - - protected: - void closeEvent(QCloseEvent * event); - - private slots: - void Open(); - - private: - void ReadSettings(void); - void WriteSettings(void); - - EditWindow * editWnd; -// CharWindow * charWnd; -#if 0 - 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); - void OnCharWindow(wxCommandEvent &e); - - DECLARE_EVENT_TABLE() -#endif -}; - -#endif // __TTEMAINWINDOW_H__