.. | ||
Telemetry | ||
UnitTests-CommonLib | ||
animation.cpp | ||
animation.h | ||
async_message_queue.h | ||
common.cpp | ||
common.h | ||
common.vcxproj | ||
common.vcxproj.filters | ||
d2d_svg.cpp | ||
d2d_svg.h | ||
d2d_text.cpp | ||
d2d_text.h | ||
d2d_window.cpp | ||
d2d_window.h | ||
dpi_aware.cpp | ||
dpi_aware.h | ||
hwnd_data_cache.cpp | ||
hwnd_data_cache.h | ||
monitors.cpp | ||
monitors.h | ||
on_thread_executor.cpp | ||
on_thread_executor.h | ||
pch.cpp | ||
pch.h | ||
README.md | ||
settings_helpers.cpp | ||
settings_helpers.h | ||
settings_objects.cpp | ||
settings_objects.h | ||
start_visible.cpp | ||
start_visible.h | ||
tasklist_positions.cpp | ||
tasklist_positions.h | ||
two_way_pipe_message_ipc.h | ||
version.h | ||
windows_colors.cpp | ||
windows_colors.h |
Introduction
The common lib, as the name suggests, contains code shared by multiple PowerToys components and modules.
Classes and structures
class Animation: header source
Animation helper class with two easing-in animations: linear and exponential.
class AsyncMessageQueue: header
Header-only asynchronous message queue. Used by TwoWayPipeMessageIPC
.
class TwoWayPipeMessageIPC: header
Header-only asynchronous IPC messaging class. Used by the runner to communicate with the settings window.
class D2DSVG: header source
Class for loading, rendering and for some basic modifications of SVG graphics.
class D2DText: header source
Class for rendering text using DirectX.
class D2DWindow: header source
Base class for creating borderless windows, with DirectX enabled rendering pipeline.
class DPIAware: header source
Helper class for creating DPI-aware applications.
struct MonitorInfo: header source
Class for obtaining information about physical displays connected to the machine.
class Settings, class PowerToyValues, class CustomActionObject: header source
Classes used to define settings screens for the PowerToys modules.
class Tasklist: header source
Class that can detect the position of the windows buttons on the taskbar. It also detects which window will react to pressing WinKey + number
.
struct WindowsColors: header source
Class for detecting the current Windows color scheme.
Helpers
Common helpers: header source
Various helper functions.
Settings helpers: header
Helper methods for the settings.
Start visible helper: header source
Contains function to test if the Start menu is visible.