2017-01-13 18:59:11 +01:00
|
|
|
#ifndef RESOURCES_H
|
|
|
|
#define RESOURCES_H
|
|
|
|
|
2017-01-18 21:30:23 +01:00
|
|
|
#include "messages/lazyloadedimage.h"
|
|
|
|
|
|
|
|
namespace chatterino {
|
2017-01-13 18:59:11 +01:00
|
|
|
|
|
|
|
class Resources
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static void load();
|
|
|
|
|
|
|
|
// badges
|
2017-01-18 21:30:23 +01:00
|
|
|
static messages::LazyLoadedImage *
|
2017-01-18 04:33:30 +01:00
|
|
|
getBadgeStaff()
|
2017-01-13 18:59:11 +01:00
|
|
|
{
|
2017-01-18 04:33:30 +01:00
|
|
|
return badgeStaff;
|
2017-01-13 18:59:11 +01:00
|
|
|
}
|
|
|
|
|
2017-01-18 21:30:23 +01:00
|
|
|
static messages::LazyLoadedImage *
|
2017-01-18 04:33:30 +01:00
|
|
|
getBadgeAdmin()
|
2017-01-13 18:59:11 +01:00
|
|
|
{
|
2017-01-18 04:33:30 +01:00
|
|
|
return badgeAdmin;
|
2017-01-13 18:59:11 +01:00
|
|
|
}
|
|
|
|
|
2017-01-18 21:30:23 +01:00
|
|
|
static messages::LazyLoadedImage *
|
2017-01-18 04:33:30 +01:00
|
|
|
getBadgeGlobalmod()
|
2017-01-13 18:59:11 +01:00
|
|
|
{
|
2017-01-18 04:33:30 +01:00
|
|
|
return badgeGlobalmod;
|
2017-01-13 18:59:11 +01:00
|
|
|
}
|
|
|
|
|
2017-01-18 21:30:23 +01:00
|
|
|
static messages::LazyLoadedImage *
|
2017-01-18 04:33:30 +01:00
|
|
|
getBadgeModerator()
|
2017-01-13 18:59:11 +01:00
|
|
|
{
|
2017-01-18 04:33:30 +01:00
|
|
|
return badgeModerator;
|
2017-01-13 18:59:11 +01:00
|
|
|
}
|
|
|
|
|
2017-01-18 21:30:23 +01:00
|
|
|
static messages::LazyLoadedImage *
|
2017-01-18 04:33:30 +01:00
|
|
|
getBadgeTurbo()
|
2017-01-13 18:59:11 +01:00
|
|
|
{
|
2017-01-18 04:33:30 +01:00
|
|
|
return badgeTurbo;
|
2017-01-13 18:59:11 +01:00
|
|
|
}
|
|
|
|
|
2017-01-18 21:30:23 +01:00
|
|
|
static messages::LazyLoadedImage *
|
2017-01-18 04:33:30 +01:00
|
|
|
getBadgeBroadcaster()
|
2017-01-13 18:59:11 +01:00
|
|
|
{
|
2017-01-18 04:33:30 +01:00
|
|
|
return badgeBroadcaster;
|
2017-01-13 18:59:11 +01:00
|
|
|
}
|
|
|
|
|
2017-01-18 21:30:23 +01:00
|
|
|
static messages::LazyLoadedImage *
|
2017-01-18 04:33:30 +01:00
|
|
|
getBadgePremium()
|
2017-01-13 18:59:11 +01:00
|
|
|
{
|
2017-01-18 04:33:30 +01:00
|
|
|
return badgePremium;
|
2017-01-13 18:59:11 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// cheer badges
|
2017-01-18 21:30:23 +01:00
|
|
|
static messages::LazyLoadedImage *
|
2017-01-18 04:33:30 +01:00
|
|
|
getCheerBadge100000()
|
2017-01-13 18:59:11 +01:00
|
|
|
{
|
2017-01-18 04:33:30 +01:00
|
|
|
return cheerBadge100000;
|
2017-01-13 18:59:11 +01:00
|
|
|
}
|
|
|
|
|
2017-01-18 21:30:23 +01:00
|
|
|
static messages::LazyLoadedImage *
|
2017-01-18 04:33:30 +01:00
|
|
|
getCheerBadge10000()
|
2017-01-13 18:59:11 +01:00
|
|
|
{
|
2017-01-18 04:33:30 +01:00
|
|
|
return cheerBadge10000;
|
2017-01-13 18:59:11 +01:00
|
|
|
}
|
|
|
|
|
2017-01-18 21:30:23 +01:00
|
|
|
static messages::LazyLoadedImage *
|
2017-01-18 04:33:30 +01:00
|
|
|
getCheerBadge5000()
|
2017-01-13 18:59:11 +01:00
|
|
|
{
|
2017-01-18 04:33:30 +01:00
|
|
|
return cheerBadge5000;
|
2017-01-13 18:59:11 +01:00
|
|
|
}
|
|
|
|
|
2017-01-18 21:30:23 +01:00
|
|
|
static messages::LazyLoadedImage *
|
2017-01-18 04:33:30 +01:00
|
|
|
getCheerBadge1000()
|
2017-01-13 18:59:11 +01:00
|
|
|
{
|
2017-01-18 04:33:30 +01:00
|
|
|
return cheerBadge1000;
|
2017-01-13 18:59:11 +01:00
|
|
|
}
|
|
|
|
|
2017-01-18 21:30:23 +01:00
|
|
|
static messages::LazyLoadedImage *
|
2017-01-18 04:33:30 +01:00
|
|
|
getCheerBadge100()
|
2017-01-13 18:59:11 +01:00
|
|
|
{
|
2017-01-18 04:33:30 +01:00
|
|
|
return cheerBadge100;
|
2017-01-13 18:59:11 +01:00
|
|
|
}
|
|
|
|
|
2017-01-18 21:30:23 +01:00
|
|
|
static messages::LazyLoadedImage *
|
2017-01-18 04:33:30 +01:00
|
|
|
getCheerBadge1()
|
2017-01-13 18:59:11 +01:00
|
|
|
{
|
2017-01-18 04:33:30 +01:00
|
|
|
return cheerBadge1;
|
2017-01-13 18:59:11 +01:00
|
|
|
}
|
|
|
|
|
2017-01-18 21:30:23 +01:00
|
|
|
static messages::LazyLoadedImage *
|
2017-01-18 04:33:30 +01:00
|
|
|
getButtonBan()
|
2017-01-15 16:38:30 +01:00
|
|
|
{
|
2017-01-18 04:33:30 +01:00
|
|
|
return buttonBan;
|
2017-01-15 16:38:30 +01:00
|
|
|
}
|
|
|
|
|
2017-01-18 21:30:23 +01:00
|
|
|
static messages::LazyLoadedImage *
|
2017-01-18 04:33:30 +01:00
|
|
|
getButtonTimeout()
|
2017-01-15 16:38:30 +01:00
|
|
|
{
|
2017-01-18 04:33:30 +01:00
|
|
|
return buttonTimeout;
|
2017-01-15 16:38:30 +01:00
|
|
|
}
|
|
|
|
|
2017-01-13 18:59:11 +01:00
|
|
|
private:
|
|
|
|
Resources();
|
|
|
|
|
2017-01-18 21:30:23 +01:00
|
|
|
static messages::LazyLoadedImage *badgeStaff;
|
|
|
|
static messages::LazyLoadedImage *badgeAdmin;
|
|
|
|
static messages::LazyLoadedImage *badgeGlobalmod;
|
|
|
|
static messages::LazyLoadedImage *badgeModerator;
|
|
|
|
static messages::LazyLoadedImage *badgeTurbo;
|
|
|
|
static messages::LazyLoadedImage *badgeBroadcaster;
|
|
|
|
static messages::LazyLoadedImage *badgePremium;
|
|
|
|
|
|
|
|
static messages::LazyLoadedImage *cheerBadge100000;
|
|
|
|
static messages::LazyLoadedImage *cheerBadge10000;
|
|
|
|
static messages::LazyLoadedImage *cheerBadge5000;
|
|
|
|
static messages::LazyLoadedImage *cheerBadge1000;
|
|
|
|
static messages::LazyLoadedImage *cheerBadge100;
|
|
|
|
static messages::LazyLoadedImage *cheerBadge1;
|
|
|
|
|
|
|
|
static messages::LazyLoadedImage *buttonBan;
|
|
|
|
static messages::LazyLoadedImage *buttonTimeout;
|
2017-01-13 18:59:11 +01:00
|
|
|
};
|
2017-01-18 21:30:23 +01:00
|
|
|
}
|
2017-01-13 18:59:11 +01:00
|
|
|
|
|
|
|
#endif // RESOURCES_H
|