paysages3d/src/interface/desktop/formtextures.h

35 lines
739 B
C
Raw Normal View History

#ifndef _PAYSAGES_QT_FORMTEXTURES_H_
#define _PAYSAGES_QT_FORMTEXTURES_H_
2013-11-14 20:46:47 +00:00
#include "desktop_global.h"
2013-11-12 22:15:35 +00:00
#include "baseformlayer.h"
#include "textures/public.h"
2013-11-12 22:15:35 +00:00
class QWidget;
class FormTextures : public BaseFormLayer
{
Q_OBJECT
public:
explicit FormTextures(QWidget *parent = 0);
~FormTextures();
public slots:
virtual void revertConfig();
virtual void applyConfig();
protected:
virtual void layerReadCurrentFrom(void* layer_definition);
virtual void layerWriteCurrentTo(void* layer_definition);
virtual void autoPresetSelected(int preset);
private:
TexturesDefinition* _definition;
TexturesLayerDefinition* _layer;
BasePreview* _previewCoverage;
BasePreview* _previewColor;
};
#endif