wip: dark/light mode adaptation

This commit is contained in:
Hane 2024-11-20 19:21:37 +01:00
commit 13855c2e6f
10 changed files with 125 additions and 14 deletions

View file

@ -109,14 +109,20 @@ class Overseer {
public:
Overseer();
NGuid getGuid();
void populateSystemValues();
void openControlPanel();
ProcessedNativeEvent processTopLevelWindowMessage(void* msg);
ProcessedNativeEvent updateDarkMode();
bool isLightMode();
std::vector<Endpoint*> getPlaybackEndpoints();
std::vector<Endpoint*> getCaptureEndpoints();
void updateEndpointInfo(std::wstring endpointId);
void reloadEndpoints(Flows flow);
Endpoint* addEndpoint(std::wstring endpointId, /* out */ Flows* flow);
NGuid getGuid();
//void setEndpointStatusCallback();
//void setEndpointStatusCallback();
@ -131,6 +137,7 @@ class Overseer {
void initCOMLibrary();
NGuid guid;
bool lightMode;
IMMDeviceEnumerator *deviceEnumerator;
EndpointSituationCallback epsc;