madmaxoft / SkauTan

Music player for Skautské Tancování
https://skautske-tancovani.cz/
The Unlicense
1 stars 2 forks source link

DJ Controller: Refactor to use a context-based approach #231

Closed madmaxoft closed 5 years ago

madmaxoft commented 5 years ago

The DJ controller should be used to control the current window only. For that, we need a context-based approach for command handling - each window either specifies its own context or parent from which to inherit the context; the command processor looks up the context and controls the UI based on that context.