From c8e23f287328fe1fefbfb039bea31ef09ce1cd3d Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Sat, 3 Feb 2018 16:21:14 +0000 Subject: saving settings --- gui/src/ofApp.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gui/src/ofApp.h') diff --git a/gui/src/ofApp.h b/gui/src/ofApp.h index 5ecbe61..8865da5 100644 --- a/gui/src/ofApp.h +++ b/gui/src/ofApp.h @@ -8,6 +8,7 @@ #include "ofxOpenCv.h" #include "ofxSVG.h" #include "lineSegmenter.h" +#include "ofxXmlSettings.h" enum Source{ TEST, @@ -47,6 +48,7 @@ class ofApp: public ofBaseApp { void outputWindowResized(ofResizeEventArgs &resizeargs); void select_random_shapes(); + void save_settings(); bool commandPressed; @@ -114,4 +116,8 @@ class ofApp: public ofBaseApp { float outputScale; float outputOffsetScale; + //======================================= //saving settings + + ofxXmlSettings XML; + }; -- cgit v1.2.3