paysages3d/src/editing/formclouds.h

34 lines
733 B
C
Raw Normal View History

#ifndef _PAYSAGES_QT_FORMCLOUDS_H_
#define _PAYSAGES_QT_FORMCLOUDS_H_
#include <QWidget>
#include "basepreview.h"
#include "baseformlayer.h"
#include "rendering/clouds/public.h"
class FormClouds : public BaseFormLayer
{
Q_OBJECT
public:
explicit FormClouds(QWidget *parent = 0);
~FormClouds();
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:
CloudsDefinition* _definition;
CloudsLayerDefinition* _layer;
BasePreview* _previewCoverage;
BasePreview* _previewColor;
};
#endif