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

Go to the documentation of this file.
00001 /*
00002  *  TPngPictControl.h
00003  *  AUStk
00004  *
00005  *  Created by Airy AndrŽ on Sun Oct 20 2002.
00006  *  Copyright (c) 2002 Airy AndrŽ. All rights reserved.
00007  *
00008  */
00009 
00010 #ifndef TPngPictControl_H_
00011 #define TPngPictControl_H_
00012 
00013 #include "TViewNoCompositingCompatible.h"
00014 
00015 enum {
00017         kPngPictControlCGImageTag = 'Img.'
00018 };
00019 
00020 class TPngPictControl
00021 : public TViewNoCompositingCompatible
00022 {
00023         AUGUIDefineControl(TPngPictControl, TViewNoCompositingCompatible, "pict");
00024 protected:
00025         // Constructor/Destructor
00026         TPngPictControl(HIViewRef inControl);
00027     virtual ~TPngPictControl();
00028 
00029     virtual ControlKind         GetKind();
00030 
00031     virtual OSStatus            Initialize( TCarbonEvent& inEvent );
00032     virtual void                DrawStaticBackground(RgnHandle  inLimitRgn, CGContextRef inContext, bool  inCompositing );
00033     virtual void                CompatibleDraw(RgnHandle        inLimitRgn, CGContextRef inContext,bool  inCompositing );
00034     virtual void                TitleChanged();
00035     virtual UInt32                      GetBehaviors();
00036 
00037     virtual OSStatus SetData(OSType inTag, ControlPartCode inPart, Size inSize, const void* inPtr);
00038     virtual OSStatus GetData(OSType inTag, ControlPartCode inPart, Size inSize, Size* outSize, void* inPtr);
00039 #if 0
00040         OSStatus
00041                 HandleEvent(
00042                                         EventHandlerCallRef     inCallRef,
00043                                         TCarbonEvent&           inEvent );
00044 #endif
00045 private:
00046     CGImageRef mImage;
00047 };
00048 
00049 #endif // 





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

hosted on SourceForge.net Logo