//-------------------------------------------------- // MainWindow.h -- declarations for the main window //-------------------------------------------------- #ifndef MAINWINDOW_H #define MAINWINDOW_H #include #include #include #include #include "glWidget.h" class MainWindow { private: Fl_Window *win; Fl_Output *label; GLWidget *glwidget; static MainWindow* theApp; public: MainWindow(); ~MainWindow(); void show( int argc, char **argv ); void getName(); void changeMode( int ); static MainWindow* getTheApp() { return theApp; } }; #endif // MAINWINDOW_H