mirror-chatterino2/src/resources.hpp

112 lines
2.4 KiB
C++
Raw Normal View History

#pragma once
2017-01-13 18:59:11 +01:00
2017-06-11 09:31:45 +02:00
#include "messages/lazyloadedimage.hpp"
2017-01-18 21:30:23 +01:00
namespace chatterino {
2017-01-13 18:59:11 +01:00
class Resources
{
public:
static void load();
// badges
2017-04-12 17:46:44 +02:00
static messages::LazyLoadedImage *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-04-12 17:46:44 +02:00
static messages::LazyLoadedImage *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-04-12 17:46:44 +02:00
static messages::LazyLoadedImage *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-04-12 17:46:44 +02:00
static messages::LazyLoadedImage *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-04-12 17:46:44 +02:00
static messages::LazyLoadedImage *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-04-12 17:46:44 +02:00
static messages::LazyLoadedImage *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-04-12 17:46:44 +02:00
static messages::LazyLoadedImage *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-04-12 17:46:44 +02:00
static messages::LazyLoadedImage *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-04-12 17:46:44 +02:00
static messages::LazyLoadedImage *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-04-12 17:46:44 +02:00
static messages::LazyLoadedImage *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-04-12 17:46:44 +02:00
static messages::LazyLoadedImage *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-04-12 17:46:44 +02:00
static messages::LazyLoadedImage *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-04-12 17:46:44 +02:00
static messages::LazyLoadedImage *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-04-12 17:46:44 +02:00
static messages::LazyLoadedImage *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-04-12 17:46:44 +02:00
static messages::LazyLoadedImage *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
};
} // namespace chatterino