src/mainwindow.h

changeset 1339
1f342d5abc85
parent 1335
5530161fcd47
child 1353
48374309f3d1
--- a/src/mainwindow.h	Sat Mar 24 16:12:08 2018 +0200
+++ b/src/mainwindow.h	Sat Mar 24 16:33:23 2018 +0200
@@ -90,7 +90,7 @@
 	Canvas* renderer();
 	void refresh();
 	void replaceSelection(const QItemSelection& selection);
-	bool ringToolHiRes() const;
+	int ringToolDivisions() const;
 	int ringToolSegments() const;
 	bool save (LDDocument* doc, bool saveAs);
 	void saveShortcuts();
@@ -125,7 +125,7 @@
 	void circleToolSegmentsChanged();
 	void closeTab (int tabindex);
 	void historyTraversed();
-	void ringToolHiResClicked (bool clicked);
+	void ringToolDivisionsChanged();
 	void tabSelected();
 	void documentClosed(LDDocument* document);
 	void updateTitle();
@@ -154,6 +154,7 @@
 	DocumentManager* m_documents;
 	LDDocument* m_currentDocument;
 	QMap<QAction*, QKeySequence> m_defaultShortcuts;
+	int previousDivisions = MediumResolution;
 
 private slots:
 	void finishInitialization();

mercurial