diff options
author | don bright <hugh.m.bright@gmail.com> | 2013-02-23 21:34:06 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2013-02-23 21:34:06 (GMT) |
commit | 5389107aa684ab99701e238a7297f07b35f7d521 (patch) | |
tree | 327a51e43bcb642c849c5cfafadf8e84966c662d /src/OffscreenView.h | |
parent | 4f578513a0960d4f079260922cdc86de0948099c (diff) |
create GLView as parent of OffscreenView and QGLView. combine setRenderer()
Diffstat (limited to 'src/OffscreenView.h')
-rw-r--r-- | src/OffscreenView.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/OffscreenView.h b/src/OffscreenView.h index d455ee9..3414d60 100644 --- a/src/OffscreenView.h +++ b/src/OffscreenView.h @@ -10,13 +10,13 @@ #endif #include "system-gl.h" #include <iostream> +#include "GLView.h" -class OffscreenView +class OffscreenView : public GLView { public: OffscreenView(size_t width, size_t height); // not ~OffscreenView(); // not - void setRenderer(class Renderer* r); // void initializeGL(); // void resizeGL(int w, int h); // @@ -40,9 +40,7 @@ public: size_t width; // not size_t height; // not private: - Renderer *renderer;// double w_h_ratio;// - bool orthomode;// bool showaxes;// bool showfaces;// |