Commit 8d449bdc authored by Jan Möbius's avatar Jan Möbius

Added Viewerproperty for snapshot

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10406 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 1cc06239
......@@ -59,6 +59,7 @@ namespace Viewer {
ViewerProperties::ViewerProperties():
currentDrawMode_(ACG::SceneGraph::DrawModes::NONE),
snapshotName_("snap.png"),
snapshotFileType_("png"),
snapshotCounter_(0),
wZoomFactor_(1.0),
wZoomFactorShift_(0.2),
......@@ -90,6 +91,10 @@ namespace Viewer {
snapshotName_ = _fname;
snapshotCounter_ = 0;
}
void ViewerProperties::snapshotFileType(const QString& _type) {
snapshotFileType_ = _type;
}
std::string ViewerProperties::pickMode(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment