summaryrefslogtreecommitdiff
path: root/src/render/OpenGL.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-04-05 16:47:03 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-04-05 16:47:03 +0200
commit3385269dcadf286aaab0f8e23147a956c13d7699 (patch)
tree1ecc89a7196419c9cad8a2f65463bdaaca71b5d8 /src/render/OpenGL.hpp
parent27c06758e4e2fb9cc06233ec967bde62f447de0f (diff)
Added rounded borders.
Diffstat (limited to 'src/render/OpenGL.hpp')
-rw-r--r--src/render/OpenGL.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp
index 7aa74e6c..43fa6c6c 100644
--- a/src/render/OpenGL.hpp
+++ b/src/render/OpenGL.hpp
@@ -38,6 +38,7 @@ public:
void renderRect(wlr_box*, const CColor&);
void renderTexture(wlr_texture*, float matrix[9], float a, int round = 0);
void renderTexture(const CTexture&, float matrix[9], float a, int round = 0);
+ void renderBorder(wlr_box*, const CColor&, int thick = 1, int round = 0);
void clear(const CColor&);
void scissor(const wlr_box*);