Fix perspective and local adjustments cursor icons
Correctly override the getCursor virtual function.
This commit is contained in:
@@ -268,7 +268,7 @@ bool ControlLineManager::getEdited(void) const
|
|||||||
return edited;
|
return edited;
|
||||||
}
|
}
|
||||||
|
|
||||||
CursorShape ControlLineManager::getCursor(int objectID) const
|
CursorShape ControlLineManager::getCursor(int objectID, int xPos, int yPos) const
|
||||||
{
|
{
|
||||||
return cursor;
|
return cursor;
|
||||||
}
|
}
|
||||||
|
@@ -109,7 +109,7 @@ public:
|
|||||||
bool pick1(bool picked) override;
|
bool pick1(bool picked) override;
|
||||||
bool pick3(bool picked) override;
|
bool pick3(bool picked) override;
|
||||||
bool drag1(int modifierKey) override;
|
bool drag1(int modifierKey) override;
|
||||||
CursorShape getCursor(int objectID) const;
|
CursorShape getCursor(int objectID, int xPos, int yPos) const override;
|
||||||
bool mouseOver(int modifierKey) override;
|
bool mouseOver(int modifierKey) override;
|
||||||
void switchOffEditMode(void) override;
|
void switchOffEditMode(void) override;
|
||||||
};
|
};
|
||||||
|
@@ -2196,7 +2196,7 @@ void ControlSpotPanel::updateCurveOpacity(const Gtk::TreeModel::Row& selectedRow
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
CursorShape ControlSpotPanel::getCursor(int objectID) const
|
CursorShape ControlSpotPanel::getCursor(int objectID, int xPos, int yPos) const
|
||||||
{
|
{
|
||||||
// printf("Object ID: %d\n", objectID);
|
// printf("Object ID: %d\n", objectID);
|
||||||
|
|
||||||
|
@@ -267,7 +267,7 @@ private:
|
|||||||
void updateControlSpotCurve(const Gtk::TreeModel::Row& row);
|
void updateControlSpotCurve(const Gtk::TreeModel::Row& row);
|
||||||
void deleteControlSpotCurve(Gtk::TreeModel::Row& row);
|
void deleteControlSpotCurve(Gtk::TreeModel::Row& row);
|
||||||
void updateCurveOpacity(const Gtk::TreeModel::Row& selectedRow);
|
void updateCurveOpacity(const Gtk::TreeModel::Row& selectedRow);
|
||||||
CursorShape getCursor(int objectID) const;
|
CursorShape getCursor(int objectID, int xPos, int yPos) const override;
|
||||||
bool mouseOver(int modifierKey) override;
|
bool mouseOver(int modifierKey) override;
|
||||||
bool button1Pressed(int modifierKey) override;
|
bool button1Pressed(int modifierKey) override;
|
||||||
bool button1Released() override;
|
bool button1Released() override;
|
||||||
|
Reference in New Issue
Block a user