GCodeViewer -> Newer version of shader for options

This commit is contained in:
enricoturri1966 2020-05-27 16:19:40 +02:00
parent aa04f0e555
commit 35190936a3
13 changed files with 187 additions and 98 deletions

View file

@ -205,12 +205,12 @@ class GCodeViewer
#if ENABLE_GCODE_VIEWER_SHADERS_EDITOR
struct ShadersEditor
{
int glsl_version{ 1 };
int shader_version{ 2 };
bool size_dependent_on_zoom{ true };
int fixed_size{ 16 };
std::array<int, 2> sizes{ 8, 64 };
int percent_outline{ 15 };
int percent_center{ 15 };
std::array<int, 2> sizes{ 3, 21 };
int percent_outline{ 0 };
int percent_center{ 33 };
};
#endif // ENABLE_GCODE_VIEWER_SHADERS_EDITOR