paysages3d/src/interface/desktop/textures/PreviewCumul.h

28 lines
594 B
C
Raw Normal View History

2013-08-23 22:51:27 +00:00
#ifndef EDITING_TEXTURES_PREVIEWCUMUL_H
#define EDITING_TEXTURES_PREVIEWCUMUL_H
2013-11-14 20:46:47 +00:00
#include "desktop_global.h"
2013-11-12 22:15:35 +00:00
#include "Base2dPreviewRenderer.h"
2013-08-23 22:51:27 +00:00
2013-11-12 22:15:35 +00:00
class PreviewCumul : public Base2dPreviewRenderer
2013-08-23 22:51:27 +00:00
{
public:
explicit PreviewCumul():
2013-11-12 22:15:35 +00:00
Base2dPreviewRenderer(),textures(0){}
2013-08-23 22:51:27 +00:00
void setTextures(TexturesDefinition* textures);
void setLayer(int layer);
protected:
virtual void bindEvent(BasePreview* preview);
virtual void updateEvent();
virtual Color getColor2D(double x, double y, double scaling);
private:
TexturesDefinition* textures;
2013-08-23 22:51:27 +00:00
int layer;
};
#endif