xref: /haiku/headers/libs/print/libprint/HalftoneView.h (revision 893988af824e65e49e55f517b157db8386e8002b)
1 /*
2  * HalftoneView.h
3  * Copyright 2004 Michael Pfeiffer. All Rights Reserved.
4  */
5 
6 #ifndef _HALFTONE_VIEW_H
7 #define _HALFTONE_VIEW_H
8 
9 #include <View.h>
10 #include "Halftone.h"
11 
12 class HalftonePreviewView : public BView
13 {
14 public:
15 	HalftonePreviewView(BRect frame, const char* name, uint32 resizeMask, uint32 flags);
16 
17 	void preview(float gamma, float min, Halftone::DitherType ditherType, bool color);
18 };
19 
20 class HalftoneView : public BView
21 {
22 public:
23 	HalftoneView(BRect frame, const char* name, uint32 resizeMask, uint32 flags);
24 
25 	void preview(float gamma, float min, Halftone::DitherType ditherType, bool color);
26 
27 private:
28 	HalftonePreviewView* fPreview;
29 };
30 
31 #endif
32 
33