Auto scale of the toolbars in respect to the canvas size

This commit is contained in:
YuSanka 2020-05-12 23:07:06 +02:00
parent d928d6e47e
commit e7f3206250
9 changed files with 83 additions and 7 deletions

View file

@ -226,6 +226,8 @@ public:
void update_after_undo_redo(const UndoRedo::Snapshot& snapshot);
int get_selectable_icons_cnt() const { return get_selectable_idxs().size(); }
private:
void render_background(float left, float top, float right, float bottom, float border) const;
void do_render_overlay() const;