|
game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
|
Public Member Functions | |
| Impl (DetailsPanelManager *owner, QWidget *parent, core::GameLibraryController *libCtrl, core::LaunchController *launchCtrl, GameThumbnailCache *imgCache, ThemeManager *themeMgr) | |
| void | applyTheme () |
| QWidget * | detailsPanel () const |
| QProgressBar * | downloadProgressBar () const |
| QLabel * | downloadProgressLabel () const |
| QWidget * | downloadProgressWidget () const |
| bool | eventFilter (QObject *obj, QEvent *event) override |
| FrameMetricsWidget * | frameMetricsWidget () const |
| QLabel * | heroImageLabel () const |
| QPushButton * | launchButton () const |
| void | update (const std::string &gameId) |
| void | updateLaunchButton (const std::string &gameId) |
| void | updateRunningInfo (const std::string &gameId) |
Public Attributes | |
| std::string | currentGameId_ |
Definition at line 68 of file details_panel_manager.cpp.
|
inline |
Definition at line 71 of file details_panel_manager.cpp.
References DetailsPanelManager::DetailsPanelManager().
| void DetailsPanelManager::Impl::applyTheme | ( | ) |
Definition at line 2494 of file details_panel_manager.cpp.
References ThemeColors::accent, ThemeColors::border, ThemeColors::cardBackground, ThemeManager::darkenColor(), ThemeColors::error, ThemeColors::hoverBackground, ThemeColors::info, ThemeColors::inputBackground, ThemeManager::lightenColor(), ThemeColors::panelBackground, ThemeColors::success, ThemeColors::textMuted, ThemeColors::textOnAccent, ThemeColors::textPrimary, and ThemeColors::textSecondary.
|
inline |
Definition at line 87 of file details_panel_manager.cpp.
|
inline |
Definition at line 99 of file details_panel_manager.cpp.
|
inline |
Definition at line 103 of file details_panel_manager.cpp.
|
inline |
Definition at line 95 of file details_panel_manager.cpp.
|
override |
Definition at line 2693 of file details_panel_manager.cpp.
References currentGameId_, Game::name, DetailsPanelManager::update(), and Game::userNotes.
|
inline |
Definition at line 111 of file details_panel_manager.cpp.
|
inline |
Definition at line 91 of file details_panel_manager.cpp.
|
inline |
Definition at line 107 of file details_panel_manager.cpp.
| void DetailsPanelManager::Impl::update | ( | const std::string & | gameId | ) |
Definition at line 766 of file details_panel_manager.cpp.
References Abandoned, ThemeColors::accent, Game::activeTemplateName, Beaten, ThemeColors::border, ThemeColors::cardBackground, GameMetadata::cloudSave, Game::collections, ActualRuntimeInfo::commandLine, ActualRuntimeInfo::compareWithConfigured(), Completed, HowLongToBeatInfo::completionistHours, Game::completionStatus, Game::configTemplates, GameStatistics::crashCount, currentGameId_, ThemeManager::darkenColor(), GameMetadata::description, GameMetadata::developer, GameMetadata::dlc, CloudSaveInfo::enabled, ThemeColors::error, HowLongToBeatInfo::found, FA::Gamepad, GameMetadata::genres, Game::getFormattedPlayTime(), Game::getImagePath(), ActualRuntimeInfo::getKeyEnvironment(), FrameMetricsService::getMetrics(), Game::getRunnerName(), GameProcessManager::getRunningProcess(), Game::getSourceName(), Game::hltbInfo, ThemeColors::hoverBackground, ThemeColors::info, ThemeColors::inputBackground, Installed, Installing, Game::installPath, Game::installSizeBytes, FrameMetricsService::instance(), GameProcessManager::instance(), SystemInfoService::instance(), FrameMetricsService::isCollecting(), SteamStateFlags::isDownloading(), Game::isInstalled(), GameStatistics::lastPlayed, CloudSaveInfo::lastSyncState, Logo, HowLongToBeatInfo::mainPlusExtrasHours, HowLongToBeatInfo::mainStoryHours, Game::metadata, Game::name, SteamStateFlags::needsUpdate(), OnHold, GameMetadata::protondbConfidence, GameMetadata::protondbTier, GameMetadata::publisher, ActualRuntimeInfo::readFromProcess(), SteamDownloadMonitor::readGameState(), Game::recentSessions, GameMetadata::releaseYear, Game::runnerConfig, IconFont::solidFamily(), Game::source, SteamStateFlags::Staging, Game::statistics, Game::status, Steam, GameMetadata::steamAppId, GameMetadata::steamCategories, GameMetadata::steamStateFlags, CloudSaveInfo::storageBytes, ThemeColors::success, CloudSaveInfo::supported, IconFont::text(), ThemeColors::textMuted, ThemeColors::textOnAccent, ThemeColors::textSecondary, GameStatistics::timesLaunched, GameStatistics::totalPlayTimeSeconds, DetailsPanelManager::update(), DetailsPanelManager::updateLaunchButton(), Game::userNotes, ActualRuntimeInfo::valid, VerticalCover, and ThemeColors::warning.
| void DetailsPanelManager::Impl::updateLaunchButton | ( | const std::string & | gameId | ) |
Definition at line 2386 of file details_panel_manager.cpp.
References SteamDownloadProgress::downloadProgress, Installing, SteamStateFlags::isFullyInstalled(), Game::isInstalled(), core::Killing, core::Launching, Game::metadata, core::PreparingLaunch, SteamDownloadMonitor::readGameState(), core::Running, Game::source, SteamDownloadProgress::stateFlags, Game::status, Steam, GameMetadata::steamAppId, core::Stopping, core::VerifyingStart, and core::WaitingForSteam.
| void DetailsPanelManager::Impl::updateRunningInfo | ( | const std::string & | gameId | ) |
Definition at line 2134 of file details_panel_manager.cpp.
References ThemeColors::accent, ThemeManager::darkenColor(), ThemeColors::error, FrameMetricsService::getMetrics(), GameProcessManager::getRunningProcess(), ThemeColors::info, FrameMetricsService::instance(), GameProcessManager::instance(), FrameMetricsService::isCollecting(), Game::runnerConfig, ThemeColors::success, ThemeColors::textMuted, ThemeColors::textSecondary, and ThemeColors::warning.
| std::string DetailsPanelManager::Impl::currentGameId_ |
Definition at line 117 of file details_panel_manager.cpp.
Referenced by eventFilter(), and update().