mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-11 05:52:19 +02:00
[FancyZones] Improve code quality (part 2: WorkArea init) (#23030)
* init WorkArea with a rectangle * keep the highlighted zones state in a separate class
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <FancyZonesLib/FancyZonesDataTypes.h>
|
||||
#include <FancyZonesLib/util.h>
|
||||
|
||||
namespace MonitorUtils
|
||||
{
|
||||
@@ -19,4 +20,6 @@ namespace MonitorUtils
|
||||
|
||||
std::vector<FancyZonesDataTypes::MonitorId> IdentifyMonitors() noexcept;
|
||||
void OpenWindowOnActiveMonitor(HWND window, HMONITOR monitor) noexcept;
|
||||
|
||||
FancyZonesUtils::Rect GetWorkAreaRect(HMONITOR monitor);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user