mirror-chatterino2/appsettings.h

40 lines
537 B
C
Raw Normal View History

2017-01-05 20:49:13 +01:00
#ifndef APPSETTINGS_H
#define APPSETTINGS_H
2017-01-05 20:49:33 +01:00
#include "word.h"
2017-01-05 20:49:13 +01:00
class AppSettings
{
public:
2017-01-11 18:52:09 +01:00
static Word::Type
wordTypeMask()
{
2017-01-05 20:49:33 +01:00
return m_wordTypeMask;
}
2017-01-11 18:52:09 +01:00
static bool isIgnoredEmote(const QString &emote);
static qreal
emoteScale()
{
2017-01-11 01:08:20 +01:00
return 1;
}
2017-01-11 18:52:09 +01:00
static qreal
badgeScale()
{
2017-01-11 01:08:20 +01:00
return 1;
}
2017-01-11 18:52:09 +01:00
static bool
scaleEmotesByLineHeight()
{
2017-01-11 01:08:20 +01:00
return false;
}
2017-01-06 23:28:48 +01:00
2017-01-05 20:49:33 +01:00
private:
2017-01-05 20:49:13 +01:00
AppSettings();
2017-01-06 23:28:48 +01:00
static Word::Type m_wordTypeMask;
2017-01-05 20:49:13 +01:00
};
2017-01-11 18:52:09 +01:00
#endif // APPSETTINGS_H