groupbar: unify title rendering
moves the text renderer to the unified opengl impl
This commit is contained in:
parent
365caa49ff
commit
81721b8aa8
4 changed files with 11 additions and 73 deletions
|
|
@ -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 = {});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue