ENH:refine GUI of speed/flow text display

Change-Id: Ia077a56a14af059d94d9581518ac39a45fa56527
This commit is contained in:
liz.li authored and Lane.Wei committed 2022-09-29 11:16:43 +08:00
1 parent 3d55647895
commit 613b433bfa
2 files changed
+109 -64

No files matched your search

+3
View File
@@ -616,6 +616,8 @@ public:
bool m_visible{ true };
public:
float m_scale = 1.0f;
void init(std::string filename);
const BoundingBoxf3& get_bounding_box() const { return m_model.get_bounding_box(); }
@@ -684,6 +686,7 @@ public:
Marker marker;
GCodeWindow gcode_window;
std::vector<unsigned int> gcode_ids;
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;