-
Notifications
You must be signed in to change notification settings - Fork 489
Rework hotkey support #5654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rework hotkey support #5654
Conversation
ab79524 to
b5d8899
Compare
|
Lua API should make it easier to test most of the hotkey surface. |
8a8ac10 to
43ecdad
Compare
1ab8893 to
68e0d5b
Compare
00fb481 to
b89d747
Compare
|
resolving the merge with #5659 is more complex than i can do via the web editor and so i'm not doing it right away |
library/include/modules/Hotkey.h
Outdated
| }; | ||
| } | ||
| class DFHACK_EXPORT HotkeyManager { | ||
| friend class Core; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yay!
|
|
||
| PluginManager *getPluginManager() { return plug_mgr; } | ||
| HotkeyManager *getHotkeyManager() { return hotkey_mgr; } | ||
| PluginManager* getPluginManager() const { return plug_mgr; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch
This reworks the hotkey support currently present in Core into a separate module for all related functionality. A number major changes/additions have been made during my rework: