2014-06-09 00:56:48 +05:30
|
|
|
#pragma once
|
|
|
|
#include "ModFolderPage.h"
|
|
|
|
|
|
|
|
class TexturePackPage : public ModFolderPage
|
|
|
|
{
|
|
|
|
public:
|
2015-01-28 03:01:07 +05:30
|
|
|
explicit TexturePackPage(MinecraftInstance *instance, QWidget *parent = 0)
|
2014-06-30 05:32:57 +05:30
|
|
|
: ModFolderPage(instance, instance->texturePackList(), "texturepacks", "resourcepacks",
|
2014-06-10 05:35:31 +05:30
|
|
|
tr("Texture packs"), "Texture-packs", parent)
|
2014-06-09 00:56:48 +05:30
|
|
|
{
|
|
|
|
}
|
2014-07-12 21:28:23 +05:30
|
|
|
virtual ~TexturePackPage() {}
|
|
|
|
virtual bool shouldDisplay() const override
|
2014-06-09 00:56:48 +05:30
|
|
|
{
|
|
|
|
return m_inst->traits().contains("texturepacks");
|
|
|
|
}
|
|
|
|
};
|