17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-28 16:57:29 +01:00

refactor(editor): split the profile canvas into navigation, editing and drawing

This commit is contained in:
maj00r
2026-10-04 00:45:54 +02:00
parent 0879f1528e
commit 1f381bbb48
2 changed files with 189 additions and 134 deletions

View File

@@ -543,7 +543,13 @@ class editor_mode : public application_mode, private editor_track::observer
void profile_apply();
void profile_fit_view();
void profile_after_undo();
struct profile_view;
void render_profile_canvas();
void profile_fit_exaggeration(profile_view const &View);
void profile_navigate(profile_view const &View, bool const Hovered);
bool profile_canvas_edit(profile_view const &View, bool const Hovered);
void draw_profile_canvas(profile_view const &View, ImDrawList &Draw) const;
void profile_canvas_tooltip() const;
void render_profile_point();
void draw_profile_overlay() const;