ENABLE_GCODE_VIEWER -> Refactoring of shaders for options

This commit is contained in:
enricoturri1966 2020-05-29 12:29:04 +02:00
parent e9d57c932a
commit dcec684cc7
8 changed files with 67 additions and 72 deletions

View file

@ -206,9 +206,7 @@ class GCodeViewer
struct ShadersEditor
{
int shader_version{ 2 };
bool size_dependent_on_zoom{ true };
int fixed_size{ 16 };
std::array<int, 2> sizes{ 3, 21 };
float point_size{ 1.0f };
int percent_outline{ 0 };
int percent_center{ 33 };
};