mirror-chatterino2/appsettings.h

41 lines
546 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
2017-01-18 04:33:30 +01:00
getWordTypeMask()
2017-01-11 18:52:09 +01:00
{
2017-01-18 04:33:30 +01:00
return wordTypeMask;
2017-01-05 20:49:33 +01:00
}
2017-01-11 18:52:09 +01:00
static bool isIgnoredEmote(const QString &emote);
2017-01-18 04:33:30 +01:00
2017-01-11 18:52:09 +01:00
static qreal
2017-01-18 04:33:30 +01:00
getEmoteScale()
2017-01-11 18:52:09 +01:00
{
2017-01-11 01:08:20 +01:00
return 1;
}
2017-01-11 18:52:09 +01:00
static qreal
2017-01-18 04:33:30 +01:00
getBadgeScale()
2017-01-11 18:52:09 +01:00
{
2017-01-11 01:08:20 +01:00
return 1;
}
2017-01-11 18:52:09 +01:00
static bool
2017-01-18 04:33:30 +01:00
getScaleEmotesByLineHeight()
2017-01-11 18:52:09 +01:00
{
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-18 04:33:30 +01:00
static Word::Type wordTypeMask;
2017-01-05 20:49:13 +01:00
};
2017-01-11 18:52:09 +01:00
#endif // APPSETTINGS_H