mirror of
				https://github.com/fn2006/PollyMC.git
				synced 2025-11-03 20:16:21 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			560 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			560 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#pragma once
 | 
						|
 | 
						|
#include "ModFolderPage.h"
 | 
						|
#include "ui_ModFolderPage.h"
 | 
						|
 | 
						|
class ShaderPackPage : public ModFolderPage
 | 
						|
{
 | 
						|
    Q_OBJECT
 | 
						|
public:
 | 
						|
    explicit ShaderPackPage(MinecraftInstance *instance, QWidget *parent = 0)
 | 
						|
        : ModFolderPage(instance, instance->shaderPackList(), "shaderpacks",
 | 
						|
                        "shaderpacks", tr("Shader packs"), "Resource-packs", parent)
 | 
						|
    {
 | 
						|
        ui->actionView_configs->setVisible(false);
 | 
						|
    }
 | 
						|
    virtual ~ShaderPackPage() {}
 | 
						|
 | 
						|
    virtual bool shouldDisplay() const override
 | 
						|
    {
 | 
						|
        return true;
 | 
						|
    }
 | 
						|
};
 |