mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-07-21 06:42:02 +00:00
[idd] helper: clean up exclusive monitor timer and respect setting
This commit is contained in:
@@ -39,7 +39,7 @@ class CNotifyWindow : public CWindow
|
||||
std::unique_ptr<CConfigWindow> m_config;
|
||||
|
||||
std::function<void()> m_onSettingChange;
|
||||
std::function<bool()> m_onDisplayChange;
|
||||
std::function<bool()> m_onEnsureOnlyDisplay;
|
||||
|
||||
LRESULT onNotifyIcon(UINT uEvent, WORD wIconId, int x, int y);
|
||||
void registerIcon();
|
||||
@@ -76,5 +76,5 @@ public:
|
||||
void close();
|
||||
|
||||
void onSettingChange(std::function<void()> func) { m_onSettingChange = std::move(func); }
|
||||
void onDisplayChange(std::function<bool()> func);
|
||||
void onEnsureOnlyDisplay(std::function<bool()> func);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user