#pragma once #include #include inline HANDLE PHANDLE = nullptr; struct SHyprButton { std::string cmd = ""; CHyprColor fgcol = CHyprColor(0, 0, 0, 0); CHyprColor bgcol = CHyprColor(0, 0, 0, 0); float size = 10; std::string icon = ""; SP iconTex = makeShared(); }; class CHyprBar; struct SGlobalState { std::vector buttons; std::vector bars; }; inline std::unique_ptr g_pGlobalState;