ENH:show several items in GcodeViewer

1.show developer mode items and adjust layout
2.fix checkBox cannot response

Change-Id: I9856fa0a781cfaa574cb6dfc4530fe52fa733154
This commit is contained in:
liz.li 2022-11-25 17:36:53 +08:00 committed by Lane.Wei
parent 38fb9dcec5
commit 5afc02ee72
4 changed files with 96 additions and 77 deletions

View file

@ -689,7 +689,7 @@ public:
float m_scale = 1.0;
//BBS: GUI refactor: add canvas size
void render(float legend_height, int canvas_width, int canvas_height, const EViewType& view_type, const std::vector<GCodeProcessorResult::MoveVertex>& moves) const;
void render(const bool has_render_path, float legend_height, int canvas_width, int canvas_height, const EViewType& view_type, const std::vector<GCodeProcessorResult::MoveVertex>& moves) const;
};
struct ETools