mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 12:18:50 +02:00
User/bretan/fz remove legacy editor (#1)
* Removed and runs Still needs some extra cleanup and addressing open issues * Removed and runs Still needs some extra cleanup and addressing open issues * Clean * Update
This commit is contained in:
@@ -14,18 +14,11 @@ interface __declspec(uuid("{E4839EB7-669D-49CF-84A9-71A2DFD851A3}")) IZoneSet :
|
||||
{
|
||||
IFACEMETHOD_(GUID, Id)() = 0;
|
||||
IFACEMETHOD_(WORD, LayoutId)() = 0;
|
||||
IFACEMETHOD(AddZone)(winrt::com_ptr<IZone> zone, bool front) = 0;
|
||||
IFACEMETHOD(RemoveZone)(winrt::com_ptr<IZone> zone) = 0;
|
||||
IFACEMETHOD(AddZone)(winrt::com_ptr<IZone> zone) = 0;
|
||||
IFACEMETHOD_(winrt::com_ptr<IZone>, ZoneFromPoint)(POINT pt) = 0;
|
||||
IFACEMETHOD_(winrt::com_ptr<IZone>, ZoneFromWindow)(HWND window) = 0;
|
||||
IFACEMETHOD_(int, GetZoneIndexFromWindow)(HWND window) = 0;
|
||||
IFACEMETHOD_(std::vector<winrt::com_ptr<IZone>>, GetZones)() = 0;
|
||||
IFACEMETHOD_(ZoneSetLayout, GetLayout)() = 0;
|
||||
IFACEMETHOD_(int, GetInnerPadding)() = 0;
|
||||
IFACEMETHOD_(winrt::com_ptr<IZoneSet>, MakeCustomClone)() = 0;
|
||||
IFACEMETHOD_(void, Save)() = 0;
|
||||
IFACEMETHOD_(void, MoveZoneToFront)(winrt::com_ptr<IZone> zone) = 0;
|
||||
IFACEMETHOD_(void, MoveZoneToBack)(winrt::com_ptr<IZone> zone) = 0;
|
||||
IFACEMETHOD_(void, MoveWindowIntoZoneByIndex)(HWND window, HWND zoneWindow, int index) = 0;
|
||||
IFACEMETHOD_(void, MoveWindowIntoZoneByDirection)(HWND window, HWND zoneWindow, DWORD vkCode) = 0;
|
||||
IFACEMETHOD_(void, MoveSizeEnd)(HWND window, HWND zoneWindow, POINT ptClient) = 0;
|
||||
@@ -51,19 +44,11 @@ struct ZoneSetConfig
|
||||
GUID id,
|
||||
WORD layoutId,
|
||||
HMONITOR monitor,
|
||||
PCWSTR resolutionKey,
|
||||
ZoneSetLayout layout,
|
||||
int zoneCount,
|
||||
int paddingOuter,
|
||||
int paddingInner) noexcept :
|
||||
PCWSTR resolutionKey) noexcept :
|
||||
Id(id),
|
||||
LayoutId(layoutId),
|
||||
Monitor(monitor),
|
||||
ResolutionKey(resolutionKey),
|
||||
Layout(layout),
|
||||
ZoneCount(zoneCount),
|
||||
PaddingOuter(paddingOuter),
|
||||
PaddingInner(paddingInner)
|
||||
ResolutionKey(resolutionKey)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -71,11 +56,6 @@ struct ZoneSetConfig
|
||||
WORD LayoutId{};
|
||||
HMONITOR Monitor{};
|
||||
PCWSTR ResolutionKey{};
|
||||
ZoneSetLayout Layout{};
|
||||
int ZoneCount{};
|
||||
int PaddingOuter{};
|
||||
int PaddingInner{};
|
||||
bool IsCustom{};
|
||||
};
|
||||
|
||||
winrt::com_ptr<IZoneSet> MakeZoneSet(ZoneSetConfig const& config) noexcept;
|
||||
Reference in New Issue
Block a user