From 2b7696d9cc239ab572c9fbf20f3270ce057445b2 Mon Sep 17 00:00:00 2001 From: kintel Date: Fri, 15 Jan 2010 01:02:28 +0000 Subject: Started collecting GL colors in one place; added Preferences class which will become a preferences dialog, forked CGAL OGL_Helper to make colors configurable git-svn-id: http://svn.clifford.at/openscad/trunk@302 b57f626f-c46c-0410-a088-ec61d464b74c diff --git a/MainWindow.h b/MainWindow.h index 40af75b..bd83523 100644 --- a/MainWindow.h +++ b/MainWindow.h @@ -16,6 +16,8 @@ public: QString fileName; class Highlighter *highlighter; + class Preferences *prefs; + QTimer *animate_timer; double tval, fps, fsteps; @@ -25,8 +27,8 @@ public: AbstractNode *absolute_root_node; // Result of tree evaluation AbstractNode *root_node; // Root if the root modifier (!) is used - CSGTerm *root_raw_term; - CSGTerm *root_norm_term; + CSGTerm *root_raw_term; // Result of CSG term rendering + CSGTerm *root_norm_term; // Normalized CSG products CSGChain *root_chain; #ifdef ENABLE_CGAL CGAL_Nef_polyhedron *root_N; @@ -81,6 +83,7 @@ private slots: void pasteViewportTranslation(); void pasteViewportRotation(); void hideEditor(); + void preferences(); private slots: void actionReloadCompile(); -- cgit v0.10.1