src/gl/common.h

changeset 376
3cef3b016330
parent 291
42b4953dff85
--- a/src/gl/common.h	Tue Apr 11 20:27:04 2023 +0300
+++ b/src/gl/common.h	Tue Apr 11 22:39:18 2023 +0300
@@ -119,12 +119,17 @@
 		Black = 5,
 	};
 
+	// Options that affect GL polygon building
+	struct build_preferences
+	{
+		QColor mainColor{255, 255, 64};
+		QColor backgroundColor{48, 48, 48};
+	};
+
 	// User options for rendering
 	struct RenderPreferences
 	{
 		gl::RenderStyle style = gl::RenderStyle::Normal;
-		QColor mainColor{255, 255, 64};
-		QColor backgroundColor{48, 48, 48};
 		QColor selectedColor{32, 32, 255};
 		GLfloat lineThickness = 2.0f;
 		bool lineAntiAliasing = true;

mercurial