mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 18:15:46 -04:00
UI: Massive revamp, new features and improvements
This commit is contained in:
37
src/frontend-common/common_host.h
Normal file
37
src/frontend-common/common_host.h
Normal file
@ -0,0 +1,37 @@
|
||||
#pragma once
|
||||
#include "core/system.h"
|
||||
#include <mutex>
|
||||
|
||||
class SettingsInterface;
|
||||
|
||||
namespace CommonHost {
|
||||
/// Initializes configuration.
|
||||
void UpdateLogSettings();
|
||||
|
||||
void Initialize();
|
||||
void Shutdown();
|
||||
|
||||
void SetDefaultSettings(SettingsInterface& si);
|
||||
void SetDefaultControllerSettings(SettingsInterface& si);
|
||||
void SetDefaultHotkeyBindings(SettingsInterface& si);
|
||||
void LoadSettings(SettingsInterface& si, std::unique_lock<std::mutex>& lock);
|
||||
void CheckForSettingsChanges(const Settings& old_settings);
|
||||
void OnSystemStarting();
|
||||
void OnSystemStarted();
|
||||
void OnSystemDestroyed();
|
||||
void OnSystemPaused();
|
||||
void OnSystemResumed();
|
||||
void OnGameChanged(const std::string& disc_path, const std::string& game_serial, const std::string& game_name);
|
||||
void PumpMessagesOnCPUThread();
|
||||
bool CreateHostDisplayResources();
|
||||
void ReleaseHostDisplayResources();
|
||||
} // namespace CommonHost
|
||||
|
||||
namespace ImGuiManager {
|
||||
void RenderDebugWindows();
|
||||
}
|
||||
|
||||
namespace Host {
|
||||
/// Return the current window handle. Needed for DInput.
|
||||
void* GetTopLevelWindowHandle();
|
||||
} // namespace Host
|
Reference in New Issue
Block a user