summaryrefslogtreecommitdiff
path: root/src/hyprerror/HyprError.hpp
diff options
context:
space:
mode:
authorUjinT34 <41110182+UjinT34@users.noreply.github.com>2026-03-07 00:44:10 +0300
committerGitHub <noreply@github.com>2026-03-06 21:44:10 +0000
commit4152ac76d0813d9d0f67d2f04653a13fa6e17433 (patch)
treec341f1883cf5a182d32e4ad00192ba8786a9bb75 /src/hyprerror/HyprError.hpp
parenta5858018d896e0e0f0db517f893cd9a0936dd881 (diff)
renderer: refactor Texture, Framebuffer and Renderbuffer (#13437)
Part 1 of the renderer refactors
Diffstat (limited to 'src/hyprerror/HyprError.hpp')
-rw-r--r--src/hyprerror/HyprError.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/hyprerror/HyprError.hpp b/src/hyprerror/HyprError.hpp
index f4bc43d8..48b9e805 100644
--- a/src/hyprerror/HyprError.hpp
+++ b/src/hyprerror/HyprError.hpp
@@ -18,13 +18,16 @@ class CHyprError {
bool active();
float height(); // logical
+ //
+ SP<ITexture> texture();
+
private:
void createQueued();
std::string m_queued = "";
CHyprColor m_queuedColor;
bool m_queuedDestroy = false;
bool m_isCreated = false;
- SP<CTexture> m_texture;
+ SP<ITexture> m_texture;
PHLANIMVAR<float> m_fadeOpacity;
CBox m_damageBox = {0, 0, 0, 0};
float m_lastHeight = 0.F;