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

Go to the documentation of this file.
00001 /*
00002  *  TPMTexturedCell.h
00003  *
00004  *  Created by Peter Mark on Mon Dec 03 2004.
00005  *  Copyright (c) 2004 Peter Mark. All rights reserved.
00006  *
00007  */
00008 
00009 #if !defined(_TPMTexturedCell_h_)
00010 #define _TPMTexturedCell_h_
00011 
00012 #include "TViewNoCompositingCompatible.h"
00013 
00020 class TPMTexturedCell : public TViewNoCompositingCompatible
00021 {
00022         friend class TViewNoCompositingCompatible;
00023 public:
00024         static CFStringRef GetControlName() { return CFSTR("TextureCell"); }
00025 protected:
00026         // Contstructor/Destructor
00027         TPMTexturedCell(HIViewRef inControl);
00028         virtual ~TPMTexturedCell();
00029         
00030         virtual ControlKind GetKind();
00031         
00032         virtual OSStatus Initialize(TCarbonEvent& inEvent);
00033         virtual void CompatibleDraw(RgnHandle inLimitRgn, CGContextRef inContext, bool inCompositing);
00034         virtual void TitleChanged();
00035         virtual void ValueChanged();
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         
00040 private:
00041         CFArrayRef mImages;
00042         CFStringRef mTitle;
00043         ControlFontStyleRec mTextStyle;
00044         float mJustInset;
00045 };
00046 
00047 #endif _TPMTexturedCell_h_





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

hosted on SourceForge.net Logo