Michaël Lemaire
4daf92f3dd
paysages : Started material editor dialog (WIP). git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@331 b1fd45b6-86a6-48da-8261-f70d1f35bdcc
27 lines
536 B
C++
27 lines
536 B
C++
#ifndef _PAYSAGES_QT_FORMMATERIAL_H_
|
|
#define _PAYSAGES_QT_FORMMATERIAL_H_
|
|
|
|
#include "basepreview.h"
|
|
#include "baseform.h"
|
|
|
|
#include "../lib_paysages/shared/types.h"
|
|
|
|
class FormMaterial : public BaseForm
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
FormMaterial(QWidget* parent, SurfaceMaterial* material);
|
|
void getMaterial(SurfaceMaterial* material);
|
|
|
|
public slots:
|
|
virtual void revertConfig();
|
|
// virtual void applyConfig();
|
|
|
|
private:
|
|
BasePreview* _preview_color;
|
|
SurfaceMaterial* _initial;
|
|
SurfaceMaterial _material;
|
|
};
|
|
|
|
#endif
|