mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 20:27:36 +02:00
[FancyZones Editor] UI fixes (#18966)
* canvas scaling * moved editor params saving * show monitor size * removed unused cmd args * separate dpi unaware thread * tests * dpi unaware monitor size * spell * early return on editor params saving error * show scaling value * changed font
This commit is contained in:
27
src/modules/fancyzones/FancyZonesLib/EditorParameters.h
Normal file
27
src/modules/fancyzones/FancyZonesLib/EditorParameters.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#pragma once
|
||||
|
||||
namespace NonLocalizable
|
||||
{
|
||||
namespace EditorParametersIds
|
||||
{
|
||||
const static wchar_t* Dpi = L"dpi";
|
||||
const static wchar_t* MonitorNameId = L"monitor";
|
||||
const static wchar_t* VirtualDesktopId = L"virtual-desktop";
|
||||
const static wchar_t* TopCoordinate = L"top-coordinate";
|
||||
const static wchar_t* LeftCoordinate = L"left-coordinate";
|
||||
const static wchar_t* WorkAreaWidth = L"work-area-width";
|
||||
const static wchar_t* WorkAreaHeight = L"work-area-height";
|
||||
const static wchar_t* MonitorWidth = L"monitor-width";
|
||||
const static wchar_t* MonitorHeight = L"monitor-height";
|
||||
const static wchar_t* IsSelected = L"is-selected";
|
||||
const static wchar_t* ProcessId = L"process-id";
|
||||
const static wchar_t* SpanZonesAcrossMonitors = L"span-zones-across-monitors";
|
||||
const static wchar_t* Monitors = L"monitors";
|
||||
}
|
||||
}
|
||||
|
||||
class EditorParameters
|
||||
{
|
||||
public:
|
||||
static bool Save() noexcept;
|
||||
};
|
||||
Reference in New Issue
Block a user