QoL: improve gcode marker (#11881)

QoL: Improve gcode marker
This commit is contained in:
SoftFever
2026-01-09 11:52:30 +08:00
committed by GitHub
parent 7ac84b1f17
commit 779f4a890d
6 changed files with 71 additions and 7 deletions

View File

@@ -103,7 +103,7 @@ public:
void set_visible(bool visible) { m_visible = visible; }
void render(int canvas_width, int canvas_height, const libvgcode::EViewType& view_type);
void render_position_window(const libvgcode::Viewer* viewer, int canvas_width, int canvas_height);
void render_position_window(const libvgcode::Viewer* viewer, int canvas_width, int canvas_height, const libvgcode::EViewType& view_type);
void on_change_color_mode(bool is_dark) { m_is_dark = is_dark; }
};