Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

BScrollable.h

Go to the documentation of this file.
00001 /* This is -*- C++ -*-
00002 
00003    BScrollable.h   
00004    \author: Bjoern Giesler <bjoern@giesler.de>
00005    
00006    
00007    
00008    $Author: giesler $
00009    $Locker$
00010    $Revision$
00011    $Date: 2002-08-19 10:41:28 +0200 (Mon, 19 Aug 2002) $
00012  */
00013 
00014 #ifndef BSCROLLABLE_H
00015 #define BSCROLLABLE_H
00016 
00017 /* system includes */
00018 /* (none) */
00019 
00020 /* my includes */
00021 #include "BWidget.h"
00022 
00023 class BScroller;
00024 
00025 class BScrollable: public BWidget {
00026 public:
00027   BScrollable(BWidget* parent, const BRect& frame);
00028 
00029   void setHScroller(BScroller *scroller);
00030   void setVScroller(BScroller *scroller);
00031 
00032   virtual void updateScroller(BScroller *scroller) = 0;
00033   virtual void scrollToPosition(BScroller *scroller,
00034                                 unsigned int position) = 0;
00035 protected:
00036   BScroller *_hScroller, *_vScroller;
00037 };
00038 
00039 #endif /* BSCROLLABLE_H */

Generated on Sat Dec 29 09:59:23 2007 for DSGUI by doxygen1.3-rc3