Mercurial > minori
view include/gui/translate/anime.h @ 229:adc20fa321c1
theme: force Fusion style on platforms other than Win32 or OS X
I was reluctant to do this, but most of the other styles just
look like pure shite regardless of whether I force a stylesheet
on them or not. KDE's style is actually hilariously bad paired
with my stylesheet, so I've decided to also make the stylesheet
Windows-specific as well, because that's really the only platform
where it makes sense in the first place.
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 10 Jan 2024 21:23:57 -0500 |
parents | 649786bae914 |
children | 3ec7804abf17 |
line wrap: on
line source
#ifndef __gui__translate__anime_h #define __gui__translate__anime_h #include "core/anime.h" namespace Translate { std::string ToString(const Anime::ListStatus status); std::string ToString(const Anime::SeriesFormat format); std::string ToString(const Anime::SeriesSeason season); std::string ToString(const Anime::SeriesStatus status); std::string ToString(const Anime::Services service); std::string ToString(const Anime::TitleLanguage language); std::string ToString(const Anime::ScoreFormat format); std::string ToLocalString(const Anime::ListStatus status); std::string ToLocalString(const Anime::SeriesFormat format); std::string ToLocalString(const Anime::SeriesSeason season); std::string ToLocalString(const Anime::SeriesStatus status); std::string ToLocalString(const Anime::Services service); std::string ToLocalString(const Anime::TitleLanguage language); std::string ToLocalString(const Anime::ScoreFormat language); Anime::ListStatus ToListStatus(const std::string& str); Anime::SeriesFormat ToSeriesFormat(const std::string& str); Anime::SeriesSeason ToSeriesSeason(const std::string& str); Anime::SeriesStatus ToSeriesStatus(const std::string& str); Anime::Services ToService(const std::string& str); Anime::TitleLanguage ToLanguage(const std::string& str); Anime::ScoreFormat ToScoreFormat(const std::string& str); } // namespace Translate #endif // __gui__translate__anime_h