mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 04:37:30 +02:00
23 lines
442 B
C
23 lines
442 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <FancyZonesLib/Zone.h>
|
||
|
|
|
||
|
|
class Layout;
|
||
|
|
|
||
|
|
class HighlightedZones
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
HighlightedZones();
|
||
|
|
~HighlightedZones() = default;
|
||
|
|
|
||
|
|
const ZoneIndexSet& Zones() const noexcept;
|
||
|
|
bool Empty() const noexcept;
|
||
|
|
|
||
|
|
bool Update(const Layout* layout, POINT const& point, bool selectManyZones) noexcept;
|
||
|
|
void Reset() noexcept;
|
||
|
|
|
||
|
|
private:
|
||
|
|
ZoneIndexSet m_initialHighlightZone;
|
||
|
|
ZoneIndexSet m_highlightZone;
|
||
|
|
};
|