goat3d
diff goatview/src/goatview.h @ 73:9862541fdcf5
- build qt goatview on linux
- fixed line endings in a bunch of files
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 06 May 2014 03:57:11 +0300 |
parents | 36e39632db75 |
children | ab66cdabf6f2 |
line diff
1.1 --- a/goatview/src/goatview.h Tue May 06 03:31:35 2014 +0300 1.2 +++ b/goatview/src/goatview.h Tue May 06 03:57:11 2014 +0300 1.3 @@ -1,36 +1,36 @@ 1.4 -#ifndef GOATVIEW_H_ 1.5 -#define GOATVIEW_H_ 1.6 - 1.7 -#include <QtWidgets/QtWidgets> 1.8 -#include <QtOpenGL/QGLWidget> 1.9 - 1.10 -class GoatView : public QMainWindow { 1.11 - Q_OBJECT 1.12 -private: 1.13 - bool make_menu(); 1.14 - bool make_dock(); 1.15 - bool make_center(); 1.16 - 1.17 -private slots: 1.18 - void open_scene(); 1.19 - void open_anim(); 1.20 - 1.21 -public: 1.22 - GoatView(); 1.23 - ~GoatView(); 1.24 -}; 1.25 - 1.26 -class GoatViewport : public QGLWidget { 1.27 - Q_OBJECT 1.28 -public: 1.29 - GoatViewport(); 1.30 - ~GoatViewport(); 1.31 - 1.32 - QSize sizeHint() const; 1.33 - 1.34 - void initializeGL(); 1.35 - void resizeGL(int xsz, int ysz); 1.36 - void paintGL(); 1.37 -}; 1.38 - 1.39 -#endif // GOATVIEW_H_ 1.40 \ No newline at end of file 1.41 +#ifndef GOATVIEW_H_ 1.42 +#define GOATVIEW_H_ 1.43 + 1.44 +#include <QtWidgets/QtWidgets> 1.45 +#include <QtOpenGL/QGLWidget> 1.46 + 1.47 +class GoatView : public QMainWindow { 1.48 + Q_OBJECT 1.49 +private: 1.50 + bool make_menu(); 1.51 + bool make_dock(); 1.52 + bool make_center(); 1.53 + 1.54 +private slots: 1.55 + void open_scene(); 1.56 + void open_anim(); 1.57 + 1.58 +public: 1.59 + GoatView(); 1.60 + ~GoatView(); 1.61 +}; 1.62 + 1.63 +class GoatViewport : public QGLWidget { 1.64 + Q_OBJECT 1.65 +public: 1.66 + GoatViewport(); 1.67 + ~GoatViewport(); 1.68 + 1.69 + QSize sizeHint() const; 1.70 + 1.71 + void initializeGL(); 1.72 + void resizeGL(int xsz, int ysz); 1.73 + void paintGL(); 1.74 +}; 1.75 + 1.76 +#endif // GOATVIEW_H_