groupbar: unify title rendering

moves the text renderer to the unified opengl impl
This commit is contained in:
vaxerski
2025-01-02 17:50:55 +01:00
parent 365caa49ff
commit 81721b8aa8
4 changed files with 11 additions and 73 deletions

View File

@@ -218,7 +218,7 @@ class CHyprOpenGLImpl {
void bindBackOnMain();
SP<CTexture> loadAsset(const std::string& file);
SP<CTexture> renderText(const std::string& text, CHyprColor col, int pt, bool italic = false);
SP<CTexture> renderText(const std::string& text, CHyprColor col, int pt, bool italic = false, const std::string& fontFamily = "");
void setDamage(const CRegion& damage, std::optional<CRegion> finalDamage = {});