diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-03-20 15:23:25 +0000 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-03-20 15:23:25 +0000 |
| commit | 34da16b7e626be4d96c3098b5265e2c008fb2d65 (patch) | |
| tree | cb4b5fc91507c2c93f76468b276f2e69aa7cd847 /src/debug/HyprNotificationOverlay.hpp | |
| parent | 71a95a581f86a801b1db24a417f41d9a395cab38 (diff) | |
plugin api: add addNotificationV2
Allows for issuing fancy notifs via api
Diffstat (limited to 'src/debug/HyprNotificationOverlay.hpp')
| -rw-r--r-- | src/debug/HyprNotificationOverlay.hpp | 11 |
1 files changed, 1 insertions, 10 deletions
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 <deque> @@ -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<std::array<std::string, ICON_NONE + 1>, 3 /* backends */> ICONS_ARRAY = {std::array<std::string, ICON_NONE + 1>{"[!]", "[i]", "[Hint]", "[Err]", "[?]", ""}, std::array<std::string, ICON_NONE + 1>{"", "", "", "", "", ""}, std::array<std::string, ICON_NONE + 1>{"", "", "", "", ""}}; |
