diff options
| author | nyamatongwe <unknown> | 2011-06-05 09:51:39 +1000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2011-06-05 09:51:39 +1000 | 
| commit | b78fcd78a98d59f6f42ccecb7be229a382af27dd (patch) | |
| tree | 2f60ab8bd546941564180c6fdab29e8ae4fdc85f /cocoa/ScintillaCallTip.h | |
| parent | 6f86a715d8685a988868163b596e8ef22b7ade8f (diff) | |
| download | scintilla-mirror-b78fcd78a98d59f6f42ccecb7be229a382af27dd.tar.gz | |
Cocoa implementation of calltips.
Diffstat (limited to 'cocoa/ScintillaCallTip.h')
| -rw-r--r-- | cocoa/ScintillaCallTip.h | 63 | 
1 files changed, 0 insertions, 63 deletions
| diff --git a/cocoa/ScintillaCallTip.h b/cocoa/ScintillaCallTip.h deleted file mode 100644 index 1d9766a6a..000000000 --- a/cocoa/ScintillaCallTip.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - *  ScintillaMacOSX.h - *  tutorial - * - *  Created by Evan Jones on Sun Sep 01 2002. - * - */ -#ifndef SCINTILLA_CALLTIP_H -#define SCINTILLA_CALLTIP_H - -#include "TView.h" - -#include <stdlib.h> -#include <string.h> -#include <stdio.h> -#include <ctype.h> -#include <time.h> - -#include "Platform.h" -#include "Scintilla.h" - -static const OSType scintillaCallTipType = 'Scct'; - -namespace Scintilla { - -class ScintillaCallTip : public TView -{ -public: -    // Private so ScintillaCallTip objects can not be copied -    ScintillaCallTip(const ScintillaCallTip &) : TView( NULL ) {} -    ScintillaCallTip &operator=(const ScintillaCallTip &) { return * this; } -    ~ScintillaCallTip() {}; - -public: -    /** This is the class ID that we've assigned to Scintilla. */ -    static const CFStringRef kScintillaCallTipClassID; -    static const ControlKind kScintillaCallTipKind; - -    ScintillaCallTip( void* windowid ); - -    /** Returns the HIView object kind, needed to subclass TView. */ -    virtual ControlKind GetKind() { return kScintillaCallTipKind; } - -private: - -    virtual ControlPartCode HitTest( const HIPoint& where ); -    virtual void Draw( RgnHandle rgn, CGContextRef gc ); -    virtual OSStatus MouseDown( HIPoint& location, UInt32 modifiers, EventMouseButton button, UInt32 clickCount ); -    virtual OSStatus MouseUp( HIPoint& location, UInt32 modifiers, EventMouseButton button, UInt32 clickCount ); -    virtual OSStatus MouseDragged( HIPoint& location, UInt32 modifiers, EventMouseButton button, UInt32 clickCount ); - -public: -    static HIViewRef Create(); -private: -    static OSStatus Construct( HIViewRef inControl, TView** outView ); -     -}; - - -} - - -#endif | 
