1 /* 2 * Copyright 2012-2013 Tri-Edge AI <triedgeai@gmail.com> 3 * All rights reserved. Distributed under the terms of the MIT license. 4 */ 5 #ifndef GRAVITY_CONFIG_VIEW_H 6 #define GRAVITY_CONFIG_VIEW_H 7 8 9 #include <View.h> 10 11 class Gravity; 12 13 class BListView; 14 class BScrollView; 15 class BSlider; 16 class BStringView; 17 18 class ConfigView : public BView 19 { 20 public: 21 ConfigView(Gravity* parent, BRect rect); 22 23 void AttachedToWindow(); 24 void MessageReceived(BMessage* message); 25 26 private: 27 Gravity* fParent; 28 29 BStringView* fTitleString; 30 BStringView* fAuthorString; 31 32 BListView* fShadeList; 33 BStringView* fShadeString; 34 BScrollView* fShadeScroll; 35 36 BSlider* fCountSlider; 37 38 }; 39 40 41 #endif 42