Shows a halftone preview.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6579 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Pfeiffer
2004-02-13 23:53:45 +00:00
parent 53045bc61b
commit ef68644905
2 changed files with 223 additions and 0 deletions
@@ -0,0 +1,32 @@
/*
* HalftoneView.h
* Copyright 2004 Michael Pfeiffer. All Rights Reserved.
*/
#ifndef _HALFTONE_VIEW_H
#define _HALFTONE_VIEW_H
#include <View.h>
#include "Halftone.h"
class HalftonePreviewView : public BView
{
public:
HalftonePreviewView(BRect frame, const char* name, uint32 resizeMask, uint32 flags);
void preview(float gamma, float min, Halftone::DitherType ditherType, bool color);
};
class HalftoneView : public BView
{
public:
HalftoneView(BRect frame, const char* name, uint32 resizeMask, uint32 flags);
void preview(float gamma, float min, Halftone::DitherType ditherType, bool color);
private:
HalftonePreviewView* fPreview;
};
#endif