From 3385269dcadf286aaab0f8e23147a956c13d7699 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 5 Apr 2022 16:47:03 +0200 Subject: Added rounded borders. --- src/render/OpenGL.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/render/OpenGL.hpp') 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*); -- cgit v1.2.3