WIA: Implement compression

This commit is contained in:
JosJuice
2020-04-17 20:38:33 +02:00
parent e936c4acd8
commit e8b019ac29
5 changed files with 708 additions and 91 deletions

View File

@ -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;
};