FIX:update new layout

Change-Id: If57f072621115d99e9f8a94b59dd345a14d882d4
(cherry picked from commit 6b02e2bc5a3d5f92cbcb9303740779213eadeae4)
This commit is contained in:
xiangdong.yang 2022-08-02 16:22:56 +08:00 committed by Lane.Wei
parent 16dc147d30
commit afa549d410
3 changed files with 144 additions and 85 deletions

View file

@ -8,17 +8,21 @@ namespace Slic3r::GUI {
class GLGizmoSeam : public GLGizmoPainterBase
{
public:
GLGizmoSeam(GLCanvas3D& parent, const std::string& icon_filename, unsigned int sprite_id)
: GLGizmoPainterBase(parent, icon_filename, sprite_id) {}
GLGizmoSeam(GLCanvas3D& parent, const std::string& icon_filename, unsigned int sprite_id);
void render_painter_gizmo() const override;
protected:
wchar_t m_current_tool = 0;
void on_render_input_window(float x, float y, float bottom_limit) override;
std::string on_get_name() const override;
PainterGizmoType get_painter_type() const override;
void render_triangles(const Selection& selection) const override;
void render_triangles(const Selection &selection) const override;
void show_tooltip_information(float caption_max, float x, float y);
void tool_changed(wchar_t old_tool, wchar_t new_tool);
wxString handle_snapshot_action_name(bool shift_down, Button button_down) const override;