summaryrefslogtreecommitdiff
path: root/src/hyprerror/HyprError.hpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2022-12-16 17:17:31 +0000
committerGitHub <noreply@github.com>2022-12-16 17:17:31 +0000
commit98a4fa2b0d79298fa29b048a3ba15c3bf5aed8cd (patch)
tree64e78342cf08e5f9ad87bd5f6ea36233133be7bb /src/hyprerror/HyprError.hpp
parent7c33c7fc64203c17b4f3625a16ae6b4774992c0e (diff)
Added clang format (#1239)
* clang-format stuff and format files
Diffstat (limited to 'src/hyprerror/HyprError.hpp')
-rw-r--r--src/hyprerror/HyprError.hpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/hyprerror/HyprError.hpp b/src/hyprerror/HyprError.hpp
index f09183de..4d01e78d 100644
--- a/src/hyprerror/HyprError.hpp
+++ b/src/hyprerror/HyprError.hpp
@@ -6,18 +6,18 @@
#include <cairo/cairo.h>
class CHyprError {
-public:
- void queueCreate(std::string message, const CColor& color);
- void draw();
- void destroy();
+ public:
+ void queueCreate(std::string message, const CColor& color);
+ void draw();
+ void destroy();
-private:
- void createQueued();
- std::string m_szQueued = "";
- CColor m_cQueued;
- bool m_bQueuedDestroy = false;
- bool m_bIsCreated = false;
- CTexture m_tTexture;
+ private:
+ void createQueued();
+ std::string m_szQueued = "";
+ CColor m_cQueued;
+ bool m_bQueuedDestroy = false;
+ bool m_bIsCreated = false;
+ CTexture m_tTexture;
};
inline std::unique_ptr<CHyprError> g_pHyprError; // This is a full-screen error. Treat it with respect, and there can only be one at a time. \ No newline at end of file