New MousePointer to change behavior of mouse

Initial implementation, mostly replicating GLMixer features. 5 Modes; default, linear, spring, wiggly and metronome. Save in Settings. Selection in Navigation panel.
This commit is contained in:
Bruno Herbelin
2023-08-19 23:39:41 +02:00
parent d743307e59
commit a8bb4ae6d1
10 changed files with 528 additions and 37 deletions

View File

@@ -271,7 +271,8 @@ struct Application
int accent_color;
bool save_version_snapshot;
bool smooth_transition;
bool smooth_cursor;
int mouse_pointer;
std::vector<float> mouse_pointer_strength;
bool action_history_follow_view;
bool show_tooptips;
@@ -336,7 +337,8 @@ struct Application
accent_color = 0;
smooth_transition = false;
save_version_snapshot = false;
smooth_cursor = false;
mouse_pointer = 0;
mouse_pointer_strength = {0.5f, 0.5f, 0.5f, 0.5f, 0.5f, 0.5f};
action_history_follow_view = false;
show_tooptips = true;
accept_connections = false;