diff options
author | Marius Kintel <marius@kintel.net> | 2011-12-07 20:36:29 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-12-07 20:36:29 (GMT) |
commit | 2e3ea0a64fe4b098bf09c6c09fcf3f63a4849d18 (patch) | |
tree | 4b9bf56f11d35d565e4b8f2061d92ec1cd2f7a0a /tests/OffscreenView.h | |
parent | 577359073769db76d174284f490de96046abb428 (diff) | |
parent | faae7882e26c048b0ae2bf7a54065d31d0edbc31 (diff) |
Merge branch 'cakebaby' of https://github.com/donbright/openscad into donbright-cakebaby
Diffstat (limited to 'tests/OffscreenView.h')
-rw-r--r-- | tests/OffscreenView.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/OffscreenView.h b/tests/OffscreenView.h index e3c8579..8b98b29 100644 --- a/tests/OffscreenView.h +++ b/tests/OffscreenView.h @@ -4,6 +4,7 @@ #include "OffscreenContext.h" #include <Eigen/Core> #include <Eigen/Geometry> +#include <string> #ifndef _MSC_VER #include <stdint.h> #endif @@ -22,9 +23,12 @@ public: void setupOrtho(bool offset=false); void paintGL(); bool save(const char *filename); + std::string getInfo(); GLint shaderinfo[11]; OffscreenContext *ctx; + size_t width; + size_t height; private: Renderer *renderer; double w_h_ratio; |