tweak gcodeviewer

This commit is contained in:
SoftFever 2023-09-03 10:17:42 +08:00
parent 0feea859c5
commit c54386d958
3 changed files with 10 additions and 10 deletions

View file

@ -26,6 +26,11 @@ namespace GUI {
class PartPlateList;
class OpenGLManager;
static const float GCODE_VIEWER_SLIDER_SCALE = 0.6f;
static const float SLIDER_DEFAULT_RIGHT_MARGIN = 10.0f;
static const float SLIDER_DEFAULT_BOTTOM_MARGIN = 10.0f;
static const float SLIDER_RIGHT_MARGIN = 124.0f * GCODE_VIEWER_SLIDER_SCALE;
static const float SLIDER_BOTTOM_MARGIN = 64.0f * GCODE_VIEWER_SLIDER_SCALE;
class GCodeViewer
{
using IBufferType = unsigned short;