117 Id = 4, |
117 Id = 4, |
118 // Render everything black |
118 // Render everything black |
119 Black = 5, |
119 Black = 5, |
120 }; |
120 }; |
121 |
121 |
|
122 // Options that affect GL polygon building |
|
123 struct build_preferences |
|
124 { |
|
125 QColor mainColor{255, 255, 64}; |
|
126 QColor backgroundColor{48, 48, 48}; |
|
127 }; |
|
128 |
122 // User options for rendering |
129 // User options for rendering |
123 struct RenderPreferences |
130 struct RenderPreferences |
124 { |
131 { |
125 gl::RenderStyle style = gl::RenderStyle::Normal; |
132 gl::RenderStyle style = gl::RenderStyle::Normal; |
126 QColor mainColor{255, 255, 64}; |
|
127 QColor backgroundColor{48, 48, 48}; |
|
128 QColor selectedColor{32, 32, 255}; |
133 QColor selectedColor{32, 32, 255}; |
129 GLfloat lineThickness = 2.0f; |
134 GLfloat lineThickness = 2.0f; |
130 bool lineAntiAliasing = true; |
135 bool lineAntiAliasing = true; |
131 bool drawAxes = true; |
136 bool drawAxes = true; |
132 bool wireframe = false; |
137 bool wireframe = false; |