mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-19 02:05:45 -04:00
Add "Fullscreen UI"
This commit is contained in:
@ -130,6 +130,9 @@ public:
|
||||
/// Returns true if running in batch mode, i.e. exit after emulation.
|
||||
ALWAYS_INLINE bool InBatchMode() const { return m_command_line_flags.batch_mode; }
|
||||
|
||||
/// Returns true if the fullscreen UI is enabled.
|
||||
ALWAYS_INLINE bool IsFullscreenUIEnabled() const { return m_fullscreen_ui_enabled; }
|
||||
|
||||
/// Parses command line parameters for all frontends.
|
||||
bool ParseCommandLineParameters(int argc, char* argv[], std::unique_ptr<SystemBootParameters>* out_boot_params);
|
||||
|
||||
@ -383,6 +386,7 @@ protected:
|
||||
std::deque<OSDMessage> m_osd_messages;
|
||||
std::mutex m_osd_messages_lock;
|
||||
|
||||
bool m_fullscreen_ui_enabled = false;
|
||||
bool m_frame_step_request = false;
|
||||
bool m_fast_forward_enabled = false;
|
||||
bool m_turbo_enabled = false;
|
||||
@ -390,6 +394,17 @@ protected:
|
||||
bool m_throttler_enabled = true;
|
||||
bool m_display_all_frames = true;
|
||||
|
||||
union
|
||||
{
|
||||
u8 bits;
|
||||
|
||||
// running in batch mode? i.e. exit after stopping emulation
|
||||
BitField<u8, bool, 0, 1> batch_mode;
|
||||
|
||||
// disable controller interface (buggy devices with SDL)
|
||||
BitField<u8, bool, 1, 1> disable_controller_interface;
|
||||
} m_command_line_flags = {};
|
||||
|
||||
private:
|
||||
void InitializeUserDirectory();
|
||||
void RegisterGeneralHotkeys();
|
||||
@ -434,17 +449,6 @@ private:
|
||||
};
|
||||
std::vector<ControllerRumbleState> m_controller_vibration_motors;
|
||||
|
||||
union
|
||||
{
|
||||
u8 bits;
|
||||
|
||||
// running in batch mode? i.e. exit after stopping emulation
|
||||
BitField<u8, bool, 0, 1> batch_mode;
|
||||
|
||||
// disable controller interface (buggy devices with SDL)
|
||||
BitField<u8, bool, 1, 1> disable_controller_interface;
|
||||
} m_command_line_flags = {};
|
||||
|
||||
#ifdef WITH_DISCORD_PRESENCE
|
||||
// discord rich presence
|
||||
bool m_discord_presence_enabled = false;
|
||||
|
Reference in New Issue
Block a user