headers/bsd: Add sys/queue.h.
[haiku.git] / src / tests / servers / app / playground / ObjectWindow.h
blob064a48bfdbf50123be3c69ef74cef9f065925449
1 // ObjectWindow.h
3 #ifndef OBJECT_WINDOW_H
4 #define OBJECT_WINDOW_H
6 #include <Window.h>
8 class BButton;
9 class BCheckBox;
10 class BColorControl;
11 class BListView;
12 class BMenuField;
13 class BTextControl;
14 class BSlider;
15 class ObjectView;
17 class ObjectWindow : public BWindow {
18 public:
19 ObjectWindow(BRect frame, const char* name);
20 virtual ~ObjectWindow();
22 virtual bool QuitRequested();
24 virtual void MessageReceived(BMessage* message);
26 private:
27 void _UpdateControls() const;
28 void _UpdateColorControls() const;
29 rgb_color _GetColor() const;
31 ObjectView* fObjectView;
33 BButton* fNewB;
34 BButton* fClearB;
36 BButton* fUndoB;
37 BButton* fRedoB;
39 BMenuField* fDrawingModeMF;
41 BColorControl* fColorControl;
42 BTextControl* fAlphaTC;
44 BCheckBox* fFillCB;
45 BSlider* fPenSizeS;
47 BListView* fObjectLV;
50 #endif // OBJECT_WINDOW_H