GCodeViewer -> Newer version of shader for options

This commit is contained in:
enricoturri1966
2020-05-27 16:19:40 +02:00
parent ce42c67a2a
commit 6a1d3787e5
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