Michaël Lemaire
bf87e72a4a
git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@544 b1fd45b6-86a6-48da-8261-f70d1f35bdcc
33 lines
755 B
C++
33 lines
755 B
C++
#ifndef _PAYSAGES_QT_FORMTEXTURES_H_
|
|
#define _PAYSAGES_QT_FORMTEXTURES_H_
|
|
|
|
#include <QWidget>
|
|
#include "basepreview.h"
|
|
#include "baseformlayer.h"
|
|
#include "../lib_paysages/textures/public.h"
|
|
|
|
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
|