mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
WIA: Implement compression
This commit is contained in:
parent
e936c4acd8
commit
e8b019ac29
5 changed files with 708 additions and 91 deletions
|
@ -14,6 +14,11 @@
|
|||
class QCheckBox;
|
||||
class QComboBox;
|
||||
|
||||
namespace DiscIO
|
||||
{
|
||||
enum class WIACompressionType : u32;
|
||||
}
|
||||
|
||||
namespace UICommon
|
||||
{
|
||||
class GameFile;
|
||||
|
@ -29,15 +34,20 @@ public:
|
|||
|
||||
private slots:
|
||||
void OnFormatChanged();
|
||||
void OnCompressionChanged();
|
||||
void Convert();
|
||||
|
||||
private:
|
||||
void AddToBlockSizeComboBox(int size);
|
||||
void AddToCompressionComboBox(const QString& name, DiscIO::WIACompressionType type);
|
||||
void AddToCompressionLevelComboBox(int level);
|
||||
|
||||
bool ShowAreYouSureDialog(const QString& text);
|
||||
|
||||
QComboBox* m_format;
|
||||
QComboBox* m_block_size;
|
||||
QComboBox* m_compression;
|
||||
QComboBox* m_compression_level;
|
||||
QCheckBox* m_scrub;
|
||||
QList<std::shared_ptr<const UICommon::GameFile>> m_files;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue