1 /* 2 * Copyright 2007-2014 Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Stephan Aßmus, superstippi@gmx.de 7 */ 8 #ifndef SPIDER_VIEW_H 9 #define SPIDER_VIEW_H 10 11 12 #include <View.h> 13 14 15 class BRect; 16 class BMenuField; 17 class BMessage; 18 class BSlider; 19 class SpiderSaver; 20 21 22 class SpiderView : public BView { 23 public: 24 SpiderView(BRect frame, SpiderSaver* saver, 25 uint32 queueNumber, 26 uint32 maxPolyPoints, 27 uint32 maxQueueDepth, 28 uint32 color); 29 virtual ~SpiderView(); 30 31 virtual void AttachedToWindow(); 32 virtual void MessageReceived(BMessage* message); 33 34 private: 35 SpiderSaver* fSaver; 36 37 BSlider* fQueueNumberSlider; 38 BSlider* fPolyNumberSlider; 39 BSlider* fQueueDepthSlider; 40 BMenuField* fColorMenuField; 41 }; 42 43 44 #endif // SPIDER_VIEW_H 45