headers/bsd: Add sys/queue.h.
[haiku.git] / src / tests / add-ons / print / pdf / bezierbounds / BBView.h
blob6d782dfd3612516f9de9efe0d6e4218a52475d36
1 #ifndef VIEW_H
2 #define VIEW_H
4 #include "SubPath.h"
5 #include <View.h>
7 class BBView : public BView {
8 SubPath fPath;
9 enum {
10 kDrawOutline,
11 kStroke
12 } fMode;
13 int fCurPoint;
14 float fWidth;
16 public:
17 BBView(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