mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-21 03:45:39 -04:00
UI: Massive revamp, new features and improvements
This commit is contained in:
@ -4,7 +4,6 @@
|
||||
|
||||
#include "ui_emulationsettingswidget.h"
|
||||
|
||||
class QtHostInterface;
|
||||
class SettingsDialog;
|
||||
|
||||
class EmulationSettingsWidget : public QWidget
|
||||
@ -12,7 +11,7 @@ class EmulationSettingsWidget : public QWidget
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit EmulationSettingsWidget(QtHostInterface* host_interface, QWidget* parent, SettingsDialog* dialog);
|
||||
explicit EmulationSettingsWidget(SettingsDialog* dialog, QWidget* parent);
|
||||
~EmulationSettingsWidget();
|
||||
|
||||
private Q_SLOTS:
|
||||
@ -22,9 +21,9 @@ private Q_SLOTS:
|
||||
void updateRewind();
|
||||
|
||||
private:
|
||||
bool runaheadEnabled() { return m_ui.runaheadFrames->currentIndex() > 0; }
|
||||
void fillComboBoxWithEmulationSpeeds(QComboBox* cb, float global_value);
|
||||
|
||||
Ui::EmulationSettingsWidget m_ui;
|
||||
|
||||
QtHostInterface* m_host_interface;
|
||||
SettingsDialog* m_dialog;
|
||||
};
|
||||
|
Reference in New Issue
Block a user