/Users/airy/Sources/augui/AUGUIFramework/Controls/TMultiPane.h

Go to the documentation of this file.
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         AUGUIDefineControl(TMultiPane, TViewNoCompositingCompatible, "multipane");
00022 public:
00023         static const OSType kControlKind = 'Mpan';
00024         static const OSType kSubPanelSignature = 'SubP';
00025         static const OSType kSubPanelID = 'SbID';
00026 protected:
00027         // Constructor/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 OSStatus SetData(OSType inTag, ControlPartCode inPart, Size inSize, const void* inPtr);
00039         virtual OSStatus GetData(OSType inTag, ControlPartCode inPart, Size inSize, Size* outSize, void* inPtr);
00040 
00041         virtual UInt32 GetBehaviors() { return TViewNoCompositingCompatible::GetBehaviors() | kControlSupportsEmbedding; }
00042 
00043 private:
00044         int mID;
00045 };
00046 
00047 
00048 #endif // _TMultiPane_h_





Generated on Sat Jul 8 13:02:19 2006 for AUGUI Framework by doxygen1.4.6

hosted on SourceForge.net Logo