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

Go to the documentation of this file.
00001 /*
00002  *  DragTextControl.h
00003  *  MadShifta
00004  *
00005  *  Created by Stewart Moroney on Fri Jun 04 2004.
00006  *  Copyright (c) 2004 Airy ANDRE. All rights reserved.
00007  *
00008  */
00009 
00010 #ifndef TDragTextControl_H_
00011 #define TDragTextControl_H_
00012 
00013 #include "TViewNoCompositingCompatible.h"
00014 
00015 class TDragTextControl
00016 : public TViewNoCompositingCompatible
00017 {
00018         AUGUIDefineControl(TDragTextControl, TViewNoCompositingCompatible, "dragtext");
00019 protected:
00020         // Constructor/Destructor
00021         TDragTextControl(HIViewRef inControl);
00022     virtual ~TDragTextControl();
00023 
00024     virtual ControlKind         GetKind();
00025         
00026         virtual bool UseNonblockingTracking() { return true; }
00027 
00028     virtual OSStatus            Initialize( TCarbonEvent& inEvent );
00029     virtual OSStatus            StillTracking(TCarbonEvent&inEvent, HIPoint& from);
00030     virtual void                DrawStaticBackground(RgnHandle  inLimitRgn, CGContextRef inContext, bool  inCompositing );
00031         virtual void            TitleChanged();
00032     virtual void                CompatibleDraw(RgnHandle        inLimitRgn, CGContextRef inContext,bool  inCompositing );
00033     virtual void                ValueChanged();
00034 
00035 private:
00036 
00037         char fontName[100];
00038         float fontSize, fontRColour, fontGColour, fontBColour, horizBorder, vertBorder;
00039 };
00040 
00041 #endif // _TDragTextControl_h_





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

hosted on SourceForge.net Logo