Added rounded borders.

This commit is contained in:
vaxerski
2022-04-05 16:47:03 +02:00
parent 27c06758e4
commit 3385269dca
4 changed files with 95 additions and 17 deletions

View File

@@ -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*);