summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2013-02-27 06:50:33 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2013-02-27 06:50:33 (GMT)
commit06fd9e2798f5683ae2134b0eeb75dad2574e3799 (patch)
treef53b0d631ea6239bd9d248dd242997b74b86e359
parent13b0fe4b3f8e0367f02a982deb5be695ccd00c80 (diff)
cleanup commented-out
-rw-r--r--src/OffscreenView.cc5
-rw-r--r--src/OffscreenView.h8
-rw-r--r--src/QGLView.cc2
-rw-r--r--src/QGLView.h4
4 files changed, 4 insertions, 15 deletions
diff --git a/src/OffscreenView.cc b/src/OffscreenView.cc
index b09d80e..85bf8d8 100644
--- a/src/OffscreenView.cc
+++ b/src/OffscreenView.cc
@@ -27,11 +27,6 @@ void OffscreenView::display_opencsg_warning()
}
#endif
-/*void OffscreenView::paintGL()
-{
- GLView::vectorCamPaintGL();
-}*/
-
bool OffscreenView::save(const char *filename)
{
return save_framebuffer(this->ctx, filename);
diff --git a/src/OffscreenView.h b/src/OffscreenView.h
index bc700f8..bb1cee5 100644
--- a/src/OffscreenView.h
+++ b/src/OffscreenView.h
@@ -15,11 +15,11 @@
class OffscreenView : public GLView
{
public:
- OffscreenView(size_t width, size_t height); // not
- ~OffscreenView(); // not
-// void paintGL(); //
+ OffscreenView(size_t width, size_t height);
+ ~OffscreenView();
bool save(std::ostream &output);
- OffscreenContext *ctx; // not
+ OffscreenContext *ctx;
+
// overrides
bool save(const char *filename);
std::string getRendererInfo() const;
diff --git a/src/QGLView.cc b/src/QGLView.cc
index 59c96c0..bbb67ca 100644
--- a/src/QGLView.cc
+++ b/src/QGLView.cc
@@ -27,8 +27,6 @@
#include "QGLView.h"
#include "Preferences.h"
#include "renderer.h"
-//#include "rendersettings.h"
-//#include "linalg.h"
#include <QApplication>
#include <QWheelEvent>
diff --git a/src/QGLView.h b/src/QGLView.h
index 8152c35..4192a06 100644
--- a/src/QGLView.h
+++ b/src/QGLView.h
@@ -45,10 +45,6 @@ public:
private:
void init();
- std::string rendererInfo;
-
- bool showcrosshairs;
-
bool mouse_drag_active;
QPoint last_mouse;
contact: Jan Huwald // Impressum