mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-10 05:06:36 +02:00
Add radio button group and add theme select for ShortcutGuide
This commit is contained in:
committed by
Bartosz Sosnowski
parent
64f606daaa
commit
bf82e04ddb
@@ -46,7 +46,7 @@ public:
|
||||
void animate(int vk_code);
|
||||
~D2DOverlayWindow();
|
||||
void apply_overlay_opacity(float opacity);
|
||||
|
||||
void set_theme(const std::wstring& theme);
|
||||
private:
|
||||
void animate(int vk_code, int offset);
|
||||
bool show_thumbnail(const RECT& rect, double alpha);
|
||||
@@ -83,4 +83,8 @@ private:
|
||||
std::vector<D2DSVG> arrows;
|
||||
std::chrono::steady_clock::time_point shown_start_time;
|
||||
float overlay_opacity = 0.9f;
|
||||
enum {
|
||||
Light, Dark, System
|
||||
} theme_setting = System;
|
||||
bool light_mode = true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user