diff options
| author | nyamatongwe <unknown> | 2011-09-24 16:18:16 +1000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2011-09-24 16:18:16 +1000 | 
| commit | c90895ffeff34bab88b2bad25c2686b17a54e087 (patch) | |
| tree | 98be788826577a4c3ad8694e2e641db48fa64aad /macosx/ScintillaCallTip.h | |
| parent | 89f0c327bdd015fe8a35cdbd3b8178ddb139d0be (diff) | |
| download | scintilla-mirror-c90895ffeff34bab88b2bad25c2686b17a54e087.tar.gz | |
Removing Carbon platform layer in favour of Cocoa.
Diffstat (limited to 'macosx/ScintillaCallTip.h')
| -rw-r--r-- | macosx/ScintillaCallTip.h | 64 | 
1 files changed, 0 insertions, 64 deletions
| diff --git a/macosx/ScintillaCallTip.h b/macosx/ScintillaCallTip.h deleted file mode 100644 index 525804942..000000000 --- a/macosx/ScintillaCallTip.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - *  ScintillaMacOSX.h - *  tutorial - * - *  Created by Evan Jones on Sun Sep 01 2002. - *  Copyright (c) 2002 __MyCompanyName__. All rights reserved. - * - */ -#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 | 
