|
game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
|
#include <icon_font.h>
Static Public Member Functions | |
| static const QString & | brandsFamily () |
| Get the loaded Brands font family name. | |
| static QIcon | icon (char32_t codepoint, int size, const QColor &color) |
| Render a FontAwesome glyph as a QIcon at the given size and color. | |
| static QIcon | icon (char32_t codepoint, int size, const QColor &normalColor, const QColor &selectedColor) |
| Render a FontAwesome glyph as QIcon with normal + selected colors. | |
| static bool | init () |
| Load FontAwesome fonts from Qt resources. Call once at startup. | |
| static bool | isBrandIcon (char32_t cp) |
| Check if a codepoint is from the Brands font. | |
| static bool | isInitialized () |
| Check if fonts were loaded successfully. | |
| static const QString & | solidFamily () |
| Get the loaded Solid font family name. | |
| static QString | text (char32_t codepoint) |
| Convert a codepoint to a QString glyph. | |
Definition at line 85 of file icon_font.h.
|
inlinestatic |
Get the loaded Brands font family name.
Definition at line 142 of file icon_font.h.
|
inlinestatic |
Render a FontAwesome glyph as a QIcon at the given size and color.
Definition at line 119 of file icon_font.h.
Referenced by CollectionsModel::rebuild(), RunnerFilterModel::rebuild(), SourceFilterModel::rebuild(), CategoryModel::rebuildIcons(), and ToolbarManager::setupToolbar().
|
inlinestatic |
Render a FontAwesome glyph as QIcon with normal + selected colors.
Definition at line 126 of file icon_font.h.
|
inlinestatic |
Load FontAwesome fonts from Qt resources. Call once at startup.
Definition at line 89 of file icon_font.h.
Referenced by main().
|
inlinestatic |
Check if a codepoint is from the Brands font.
Definition at line 148 of file icon_font.h.
References FA::ItchIo, FA::Linux, and FA::Steam.
|
inlinestatic |
Check if fonts were loaded successfully.
Definition at line 154 of file icon_font.h.
|
inlinestatic |
Get the loaded Solid font family name.
Definition at line 136 of file icon_font.h.
Referenced by RunningGameStatusWidget::RunningGameStatusWidget(), CollapsibleSection::applyTheme(), ToolbarManager::applyTheme(), ToolbarManager::setupToolbar(), DetailsPanelManager::Impl::update(), and StatusIndicator::updateTextColors().
|
inlinestatic |
Convert a codepoint to a QString glyph.
Definition at line 113 of file icon_font.h.
Referenced by DownloadsIndicator::DownloadsIndicator(), LibraryStatsIndicator::LibraryStatsIndicator(), RunningGamesIndicator::RunningGamesIndicator(), RunningGameStatusWidget::RunningGameStatusWidget(), UpdatesIndicator::UpdatesIndicator(), ToolbarManager::setupToolbar(), and DetailsPanelManager::Impl::update().