aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaTest/AppController.mm
diff options
context:
space:
mode:
authornyamatongwe <nyamatongwe@gmail.com>2013-05-02 09:46:17 +1000
committernyamatongwe <nyamatongwe@gmail.com>2013-05-02 09:46:17 +1000
commit0b5be59ffecd30203ecb72245681dc9291c5beaf (patch)
treecd6e115880c1cb9efc5accf847a29eff030d0a68 /cocoa/ScintillaTest/AppController.mm
parent10ef0672106e223e712d7ee046b9a69eefff48a4 (diff)
downloadscintilla-mirror-0b5be59ffecd30203ecb72245681dc9291c5beaf.tar.gz
Feature: [feature-requests:#988]. Cocoa support for font quality.
From Mark Yen.
Diffstat (limited to 'cocoa/ScintillaTest/AppController.mm')
-rw-r--r--cocoa/ScintillaTest/AppController.mm5
1 files changed, 5 insertions, 0 deletions
diff --git a/cocoa/ScintillaTest/AppController.mm b/cocoa/ScintillaTest/AppController.mm
index c28974109..168a67681 100644
--- a/cocoa/ScintillaTest/AppController.mm
+++ b/cocoa/ScintillaTest/AppController.mm
@@ -271,6 +271,11 @@ static const char * box_xpm[] = {
[self showAutocompletion];
}
+-(IBAction) setFontQuality: (id) sender
+{
+ [ScintillaView directCall:mEditor message:SCI_SETFONTQUALITY wParam:[sender tag] lParam:0];
+}
+
@end
//--------------------------------------------------------------------------------------------------