mirror of
https://github.com/virtcode/hypr-dynamic-cursors
synced 2025-09-20 00:23:22 +02:00
parent
98c006aeae
commit
3ff4c2a053
9 changed files with 37 additions and 5 deletions
|
@ -9,8 +9,10 @@ class IMode {
|
|||
public:
|
||||
/* returns the desired updating strategy for the given mode */
|
||||
virtual EModeUpdate strategy() = 0;
|
||||
/* updates the calculations and returns the new angle */
|
||||
/* updates the calculations and returns the new result */
|
||||
virtual SModeResult update(Vector2D pos) = 0;
|
||||
/* reset the internal stuff of the mode */
|
||||
virtual void reset() = 0;
|
||||
/* called on warp, an update will be sent afterwards (probably) */
|
||||
virtual void warp(Vector2D old, Vector2D pos) = 0;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue