Replace Arcellipse widget by Ellipse widget

This simplifies spot management because only one widget instead of four
is now managed to draw an ellipse

Bugfixes:
- Mouse cursor is now correctly managed according to widget when
mouse-overing
- Ellipse radius are now saturated at minimum at 2 to avoid ellipse to
disapear at small radius values
This commit is contained in:
Pandagrapher
2019-03-30 17:08:07 +01:00
parent dacf07905e
commit 83f70cf9fb
4 changed files with 477 additions and 245 deletions

View File

@@ -248,7 +248,7 @@ private:
void addControlSpotCurve(Gtk::TreeModel::Row row);
void updateControlSpotCurve(Gtk::TreeModel::Row row);
void deleteControlSpotCurve(Gtk::TreeModel::Row row);
CursorShape getCursor(int objectID);
CursorShape getCursor(int objectID) const;
bool mouseOver(int modifierKey);
bool button1Pressed(int modifierKey);
bool button1Released();