dark/light mode & accent color

This commit is contained in:
Hane 2024-11-26 17:11:01 +01:00
commit 60890cecad
9 changed files with 178 additions and 44 deletions

View file

@ -113,8 +113,9 @@ class Overseer {
void populateSystemValues();
void openControlPanel();
ProcessedNativeEvent processTopLevelWindowMessage(void* msg);
ProcessedNativeEvent updateDarkMode();
ProcessedNativeEvent updateColors();
bool isLightMode();
uint32_t getAccentColor();
std::vector<Endpoint*> getPlaybackEndpoints();
std::vector<Endpoint*> getCaptureEndpoints();
@ -138,6 +139,7 @@ class Overseer {
NGuid guid;
bool lightMode;
uint32_t accentColor;
IMMDeviceEnumerator *deviceEnumerator;
EndpointSituationCallback epsc;