#pragma once #include #include // needed for DwindleLayout.hpp #include #include #include #include const CColor s_notifyColor = {0x61 / 255.0f, 0xAF / 255.0f, 0xEF / 255.0f, 1.0f}; // RGBA const PLUGIN_DESCRIPTION_INFO s_pluginDescription = {"dwindle-autogroup", "Dwindle Autogroup", "ItsDrike", "1.0"}; inline HANDLE PHANDLE = nullptr; typedef void* (*createGroupFuncT)(CWindow*); inline CFunctionHook* g_pCreateGroupHook = nullptr; typedef void* (*destroyGroupFuncT)(CWindow*); inline CFunctionHook* g_pDestroyGroupHook = nullptr; typedef SDwindleNodeData* (*nodeFromWindowFuncT)(void*, PHLWINDOW); inline nodeFromWindowFuncT g_pNodeFromWindow = nullptr;