From dfc27758ce34c3bfe0c420d36cb80e4e07f883b3 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 22 Apr 2010 09:28:18 +0000 Subject: Updated to launchpad scintilla-cocoa revision 33. Context menu implemented. Many warnings avoided. Make files added. --- cocoa/PlatCocoa.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'cocoa/PlatCocoa.h') diff --git a/cocoa/PlatCocoa.h b/cocoa/PlatCocoa.h index a650c653e..250d94ad6 100644 --- a/cocoa/PlatCocoa.h +++ b/cocoa/PlatCocoa.h @@ -24,6 +24,15 @@ NSRect PRectangleToNSRect(Scintilla::PRectangle& rc); Scintilla::PRectangle NSRectToPRectangle(NSRect& rc); +@interface ScintillaContextMenu : NSMenu +{ + Scintilla::ScintillaCocoa* owner; +} +- (void) handleCommand: (NSMenuItem*) sender; +- (void) setOwner: (Scintilla::ScintillaCocoa*) newOwner; + +@end + namespace Scintilla { // A class to do the actual text rendering for us using Quartz 2D. -- cgit v1.2.3