mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
32 lines
461 B
C++
32 lines
461 B
C++
#ifndef FONTS_H
|
|
#define FONTS_H
|
|
|
|
#include "QFont"
|
|
|
|
class Fonts
|
|
{
|
|
public:
|
|
enum Type : char {
|
|
Medium,
|
|
MediumBold,
|
|
MediumItalic,
|
|
Small,
|
|
Large,
|
|
VeryLarge
|
|
};
|
|
|
|
static QFont& getFont(Type type);
|
|
|
|
private:
|
|
Fonts();
|
|
|
|
static QFont* medium;
|
|
static QFont* mediumBold;
|
|
static QFont* mediumItalic;
|
|
static QFont* small;
|
|
static QFont* large;
|
|
static QFont* veryLarge;
|
|
};
|
|
|
|
#endif // FONTS_H
|