1 /* 2 * Copyright 2006, Haiku. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Ingo Weinhold <bonefish@cs.tu-berlin.de> 7 */ 8 9 /** Simple extension to the Scrollable class to simplify the creation 10 of derived view classes. */ 11 12 #ifndef SCROLLABLE_VIEW_H 13 #define SCROLLABLE_VIEW_H 14 15 #include "Scrollable.h" 16 17 class ScrollableView : public Scrollable { 18 public: 19 ScrollableView(); 20 virtual ~ScrollableView(); 21 22 protected: 23 virtual void ScrollOffsetChanged(BPoint oldOffset, 24 BPoint newOffset); 25 }; 26 27 28 #endif // SCROLLABLE_VIEW_H 29