headers/bsd: Add sys/queue.h.
[haiku.git] / src / tests / add-ons / print / pdf / linepathbuilder / PathView.h
blobb9fc77ea402e1e8dfef05f78a5faf329b0ca17b1
1 #ifndef VIEW_H
2 #define VIEW_H
4 #include "SubPath.h"
5 #include <View.h>
7 class PathView : public BView {
8 SubPath fPath;
9 enum {
10 kDrawOutline,
11 kStroke
12 } fMode;
13 int fCurPoint;
14 float fWidth;
16 public:
17 PathView(BRect rect);
18 void Draw(BRect updateRect);
19 void MouseDown(BPoint point);
20 void MouseUp(BPoint point);
21 void MouseMoved(BPoint point, uint32 transit, const BMessage *message);
22 void SetClose(bool close);
24 #endif