summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXInit.c
diff options
context:
space:
mode:
authordas <das>2002-10-16 19:44:03 (GMT)
committerdas <das>2002-10-16 19:44:03 (GMT)
commitff6a1ec7eaa5b8dab045068c4321868cf1865e38 (patch)
treea3de38595586e599fadda3d5a3812472f5108f3b /macosx/tkMacOSXInit.c
parent3dfcc64d60f5d0a1018c5fe6ebd6f38db678e5bb (diff)
downloadtk-ff6a1ec7eaa5b8dab045068c4321868cf1865e38.zip
tk-ff6a1ec7eaa5b8dab045068c4321868cf1865e38.tar.gz
tk-ff6a1ec7eaa5b8dab045068c4321868cf1865e38.tar.bz2
* macosx/Wish.pbproj/project.pbxproj: added TEXT document
type to plist so that files can be dragged onto Wish Shell. * macosx/tkMacOSXInt.h: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXFont.c: added private proc TkMacOSXUseAntialiasedText() to enable/disable quickdraw text antialiasing where available, default is enabled. Added a linked boolean ::tk::mac::antialiasedtext with write trace to allow control of antialiasing from tcl.
Diffstat (limited to 'macosx/tkMacOSXInit.c')
-rw-r--r--macosx/tkMacOSXInit.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/macosx/tkMacOSXInit.c b/macosx/tkMacOSXInit.c
index ffcab99..2180769 100644
--- a/macosx/tkMacOSXInit.c
+++ b/macosx/tkMacOSXInit.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacOSXInit.c,v 1.2 2002/08/31 06:12:30 das Exp $
+ * RCS: @(#) $Id: tkMacOSXInit.c,v 1.3 2002/10/16 19:44:05 das Exp $
*/
#include "tkInt.h"
@@ -72,7 +72,7 @@ static Map scriptMap[] = {
Tcl_Encoding TkMacOSXCarbonEncoding = NULL;
-
+
/*
*----------------------------------------------------------------------
*
@@ -111,6 +111,7 @@ TkpInit(interp)
Tk_MacOSXSetupTkNotifier();
TkMacOSXInitAppleEvents(interp);
TkMacOSXInitMenus(interp);
+ TkMacOSXUseAntialiasedText(interp, TRUE);
}
if (carbonEncodingInitialized == false) {