1 /* 2 * Copyright 2009, Haiku, Inc. 3 * Distributed under the terms of the MIT license. 4 * 5 * Authors: 6 * Michael Lotz, mmlr@mlotz.ch 7 */ 8 #ifndef HVIF_VIEW_H 9 #define HVIF_VIEW_H 10 11 #include "TranslatorSettings.h" 12 13 #include <Slider.h> 14 #include <View.h> 15 16 class HVIFView : public BView { 17 public: 18 HVIFView(const char *name, uint32 flags, TranslatorSettings *settings); 19 ~HVIFView(); 20 21 virtual void AttachedToWindow(); 22 virtual void MessageReceived(BMessage *message); 23 24 private: 25 BSlider* fRenderSize; 26 TranslatorSettings* fSettings; 27 }; 28 29 #endif // HVIF_VIEW_H 30