aboutsummaryrefslogtreecommitdiff
path: root/common/osd_message_queue.cpp
AgeCommit message (Collapse)Author
2018-05-24JANITORIAL: Fix trailing whitespaceAdrian Frühwirth
2017-07-10Revert "COMMON: Change way the Singleton instances are instantiated"Eugene Sandulenko
This reverts commit eefa72afa1978a9dea10f5b1833fcc8f58a3468e. With this patch ConfigManager is broken.
2017-07-10COMMON: Change way the Singleton instances are instantiatedThierry Crozat
This fixes tons of warnings with clang from a recent xcode version on macOS (and possibly other systems) complaining that an instantiation of _singleton is required but no definition is available.
2016-10-29COMMON: Add referencing and destruction of the OSDMessageQueue instanceThierry Crozat
Registering the OSDMessageQueue instance as an event source is now done right after the event manager is initialised. This ensures that it is created in a sensible place and not for example in another thread). Also registering the event source is moved to a separate function instead of being in the constructor to remove any issue in case some code tries to display a OSD Message very early on (the instance would be created then, but it would be registered as an event source later).
2016-10-29COMMON: Add OSDMessageQueue singletonThierry Crozat
This class can be used to get messages to display on the OSD from any thread. Those messages are then passed to the backend in the graphic thread.