00001 /* 00002 * TMultiPane.h 00003 * NeuSynth 00004 * 00005 * Created by Airy on Wed Mar 12 2003. 00006 * Copyright (c) 2003 Airy ANDRE. All rights reserved. 00007 * 00008 */ 00009 #ifndef _TMultiPane_h_ 00010 #define _TMultiPane_h_ 00011 00012 #include "TViewNoCompositingCompatible.h" 00013 00019 class TMultiPane : public TViewNoCompositingCompatible 00020 { 00021 friend class TViewNoCompositingCompatible; 00022 public: 00023 static CFStringRef GetControlName() { return CFSTR("multipane"); } 00024 static const OSType kControlKind = 'Mpan'; 00025 static const OSType kSubPanelSignature = 'subP'; 00026 protected: 00027 // Contstructor/Destructor 00028 TMultiPane(HIViewRef inControl); 00029 virtual ~TMultiPane(); 00030 00031 virtual ControlKind GetKind(); 00032 00033 virtual OSStatus Initialize(TCarbonEvent& inEvent); 00034 virtual void Draw(RgnHandle inLimitRgn, CGContextRef inContext ); 00035 virtual void CompatibleDraw(RgnHandle inLimitRgn, CGContextRef inContext, bool inCompositing); 00036 virtual void ValueChanged(); 00037 00038 virtual UInt32 GetBehaviors() { return TViewNoCompositingCompatible::GetBehaviors() | kControlSupportsEmbedding; } 00039 private: 00040 }; 00041 00042 00043 #endif // _TMultiPane_h_