1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2025-04-21 12:27:27 +03:00

Allow the skin to change the font and font size

This commit is contained in:
Paul Cercueil
2014-01-15 20:32:17 +01:00
parent c8cf37787b
commit af258530db
3 changed files with 20 additions and 6 deletions

View File

@@ -19,6 +19,7 @@ public:
* or nullptr if there was a problem creating it.
*/
static Font *defaultFont();
Font(const std::string &path, unsigned int size);
~Font();
int getTextWidth(const char *text);