Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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 friend class TViewNoCompositingCompatible; 00024 public: 00025 static CFStringRef GetControlName() { return CFSTR("pict");}; 00026 protected: 00027 // Contstructor/Destructor 00028 TPngPictControl(HIViewRef inControl); 00029 virtual ~TPngPictControl(); 00030 00031 virtual ControlKind GetKind(); 00032 00033 virtual OSStatus Initialize( TCarbonEvent& inEvent ); 00034 virtual void DrawStaticBackground(RgnHandle inLimitRgn, CGContextRef inContext, bool inCompositing ); 00035 virtual void CompatibleDraw(RgnHandle inLimitRgn, CGContextRef inContext,bool inCompositing ); 00036 virtual void TitleChanged(); 00037 virtual UInt32 GetBehaviors(); 00038 00039 virtual OSStatus SetData(OSType inTag, ControlPartCode inPart, Size inSize, const void* inPtr); 00040 virtual OSStatus GetData(OSType inTag, ControlPartCode inPart, Size inSize, Size* outSize, void* inPtr); 00041 00042 private: 00043 CGImageRef mImage; 00044 }; 00045 00046 #endif //





Generated on Sun May 23 19:32:00 2004 for AUGUI Framework by doxygen1.3.7

hosted on SourceForge.net Logo