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 BRect &frame, const char *name, 19 uint32 resizeMode, uint32 flags, 20 TranslatorSettings *settings); 21 22 virtual void AttachedToWindow(); 23 virtual void MessageReceived(BMessage *message); 24 25 private: 26 BSlider * fRenderSize; 27 TranslatorSettings *fSettings; 28 }; 29 30 #endif // HVIF_VIEW_H 31