mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
ENH:refine GUI of speed/flow text display
Change-Id: Ia077a56a14af059d94d9581518ac39a45fa56527
This commit is contained in:
parent
3d55647895
commit
613b433bfa
2 changed files with 109 additions and 64 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue