1 // ParameterContainerView.h (Cortex/ParameterWindow) 2 // 3 // * PURPOSE 4 // 5 // * TODO 6 // 7 // * HISTORY 8 // c.lenz 16feb2000 Begun 9 // 10 11 #ifndef __ParameterContainerView_H__ 12 #define __ParameterContainerView_H__ 13 14 // Interface Kit 15 #include <View.h> 16 // Support Kit 17 #include <String.h> 18 19 #include "cortex_defs.h" 20 21 class BScrollBar; 22 23 __BEGIN_CORTEX_NAMESPACE 24 25 class ParameterContainerView : 26 public BView { 27 28 public: // *** ctor/dtor 29 30 ParameterContainerView( 31 BRect dataRect, 32 BView *target); 33 34 virtual ~ParameterContainerView(); 35 36 public: // *** BScrollView impl. 37 38 virtual void FrameResized( 39 float width, 40 float height); 41 42 private: // *** internal operations 43 44 void _updateScrollBars(); 45 46 private: // *** data members 47 48 BView* m_target; 49 BRect m_dataRect; 50 BRect m_boundsRect; 51 BScrollBar* m_hScroll; 52 BScrollBar* m_vScroll; 53 }; 54 55 __END_CORTEX_NAMESPACE 56 #endif /* __ParameterContainerView_H__ */ 57