From 34da16b7e626be4d96c3098b5265e2c008fb2d65 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Mon, 20 Mar 2023 15:23:25 +0000 Subject: plugin api: add addNotificationV2 Allows for issuing fancy notifs via api --- src/debug/HyprNotificationOverlay.hpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src/debug/HyprNotificationOverlay.hpp') diff --git a/src/debug/HyprNotificationOverlay.hpp b/src/debug/HyprNotificationOverlay.hpp index 9f0a85ef..fb3414da 100644 --- a/src/debug/HyprNotificationOverlay.hpp +++ b/src/debug/HyprNotificationOverlay.hpp @@ -4,6 +4,7 @@ #include "../helpers/Timer.hpp" #include "../helpers/Monitor.hpp" #include "../render/Texture.hpp" +#include "../SharedDefs.hpp" #include @@ -16,16 +17,6 @@ enum eIconBackend ICONS_BACKEND_FA }; -enum eIcons -{ - ICON_WARNING = 0, - ICON_INFO, - ICON_HINT, - ICON_ERROR, - ICON_CONFUSED, - ICON_NONE -}; - static const std::array, 3 /* backends */> ICONS_ARRAY = {std::array{"[!]", "[i]", "[Hint]", "[Err]", "[?]", ""}, std::array{"", "", "", "", "", ""}, std::array{"", "", "", "", ""}}; -- cgit v1.2.3