mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-17 21:51:20 +02:00
Implement keyboard hotkey bindings (heavily squashed)
- add keyboard bindings button to options
- hooked keyboard binding panel to button
- WIP bindings drawn in activity
- keyboard binding keys finally appear
- keyboard binding input widget
- reserved keys logic working
- removed debug logs
- pref saved on key release
- more reserved keys
- fixed memory bad alloc error
- modifier bindings
- scroll panel for bindings view
- added sdl id to bindings
- cache sdl scan id into prefs
- function ids are getting picked up
- more keyboard mappings
- more key bindings + reserved keys
- keyboard bindings working
- write keyboard bindings pref on load
- sync new functions to prefs
- final touches
- Keep those include trees flat (see 0179cefc
)
- Fix tabs
- WIP - many to one binding
- WriteDefaultPrefs is now instance method
- model add, remove and save methods
- clear prefs before saving
- added method for checking binding conflict
- notify view on key combo change
- route binding notification to gameview
- view foundations for overhaul
- fixed memory issue + has conflicting key issue
- fixed prefs not being cleared before save
- override text input to do nothing
- fixed many complications due to duplicated hotkeys
- missing index on new model caused problems
- WIP - view adaptation
- WIP - add and remove button layout
- more patches
- fixed empty textboxes problem
- WIP - frontend overhaul
- fixed ordering issue
- binding removal - wip
- function store to hold no shortcut data
- reset to defaults button added
- add from no shortcut works
- error message on conflict
- better summary for PopBindingByFunctionId
- keyboard bindings hooked to gameview keypress
- do not return correcty function id if no shortcut
- flatten include trees
- remove debug comment
- spaces to tabs
This commit is contained in:
committed by
Tamás Bálint Misius
parent
51b78be139
commit
bf0cc9ba5f
@@ -551,7 +551,7 @@ if GetOption('no-install-prompt'):
|
||||
|
||||
|
||||
#Generate list of sources to compile
|
||||
sources = Glob("src/*.cpp") + Glob("src/*/*.cpp") + Glob("src/*/*/*.cpp") + Glob("generated/*.cpp") + Glob("data/*.cpp")
|
||||
sources = Glob("src/*.cpp") + Glob("src/*/*.cpp") + Glob("src/*/*/*.cpp") + Glob("src/*/*/*/*.cpp") + Glob("generated/*.cpp") + Glob("data/*.cpp")
|
||||
if not GetOption('nolua') and not GetOption('renderer') and not GetOption('font'):
|
||||
sources += Glob("src/lua/socket/*.c") + Glob("src/lua/LuaCompat.c")
|
||||
|
||||
|
Reference in New Issue
Block a user