aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/PlatCocoa.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2010-04-22 09:28:18 +0000
committernyamatongwe <unknown>2010-04-22 09:28:18 +0000
commit5075f7e200be157a77e4fd446ae47badd24bb6e2 (patch)
treea780e2c7bffab445e8a885561ec7d91dc1b6915b /cocoa/PlatCocoa.h
parent552cb2390c71235d92862897f593130211db0c6a (diff)
downloadscintilla-mirror-5075f7e200be157a77e4fd446ae47badd24bb6e2.tar.gz
Updated to launchpad scintilla-cocoa revision 33.
Context menu implemented. Many warnings avoided. Make files added.
Diffstat (limited to 'cocoa/PlatCocoa.h')
-rw-r--r--cocoa/PlatCocoa.h9
1 files changed, 9 insertions, 0 deletions
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.