4a0c1e139d
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39771 a95241bf-73f2-0310-859d-f6bbb57e9c96
37 lines
683 B
C++
37 lines
683 B
C++
/*
|
|
* 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
|
|
|