Update for hyprland changes and some bug workarounds.

Added blur
This commit is contained in:
Zakk
2025-04-14 05:21:48 -04:00
parent 652fc597d9
commit f907f95e3e
5 changed files with 107 additions and 40 deletions

View File

@@ -8,7 +8,7 @@ inline HANDLE PHANDLE = nullptr;
class CHyprEasyLabel;
struct SGlobalState {
std::vector<CHyprEasyLabel*> motionLabels;
std::vector<WP<CHyprEasyLabel>> motionLabels;
};
struct SMotionActionDesc {
@@ -21,8 +21,11 @@ struct SMotionActionDesc {
int borderSize = 0;
CGradientValueData borderColor = CGradientValueData();
int rounding = 0;
int blur = 0;
int xray = 0;
float blurA = 1.0f;
std::string motionKeys = "abcdefghijklmnopqrstuvwxyz1234567890";
};
inline std::unique_ptr<SGlobalState> g_pGlobalState;
inline UP<SGlobalState> g_pGlobalState;