diff options
author | hobbs <hobbs> | 2005-11-30 01:02:55 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2005-11-30 01:02:55 (GMT) |
commit | 12e3724cff854097e33aacfde2f9d8ae89ad8b06 (patch) | |
tree | 890ac33201f8bc8ac2d2f6254f8c3912d6f86886 /macosx/tkMacOSXInt.h | |
parent | 0805428fc70c423c555452caba933228486c7c5d (diff) | |
download | tk-12e3724cff854097e33aacfde2f9d8ae89ad8b06.zip tk-12e3724cff854097e33aacfde2f9d8ae89ad8b06.tar.gz tk-12e3724cff854097e33aacfde2f9d8ae89ad8b06.tar.bz2 |
* macosx/tkMacOSXXStubs.c (TkpOpenDisplay, TkMacOSXDisplayChanged):
* macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents):
* macosx/tkMacOSXWindowEvent.c (TkMacOSXProcessApplicationEvent):
* macosx/tkMacOSXInt.h: Trap kEventAppAvailableWindowBoundsChanged
event to watch for change in display size and adjust internal
state appropriately.
Diffstat (limited to 'macosx/tkMacOSXInt.h')
-rw-r--r-- | macosx/tkMacOSXInt.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/macosx/tkMacOSXInt.h b/macosx/tkMacOSXInt.h index 514680a..a6c90f8 100644 --- a/macosx/tkMacOSXInt.h +++ b/macosx/tkMacOSXInt.h @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXInt.h,v 1.3.2.6 2005/11/27 02:36:46 das Exp $ + * RCS: @(#) $Id: tkMacOSXInt.h,v 1.3.2.7 2005/11/30 01:02:55 hobbs Exp $ */ #ifndef _TKMACINT @@ -137,15 +137,15 @@ extern int tkUseMenuCascadeRgn; /* If this is 1, clipping code * tkMenuCascadeRgn will only * be valid when the value of this * variable is 1. */ -extern int tkPictureIsOpen; /* If this is 1, we are drawing to a picture - * The clipping should then be done relative - * to the bounds of the picture rather than the window - * As of OS X.0.4, something is seriously wrong: - * The clipping bounds only seem to work if the - * top,left values are 0,0 - * The destination rectangle for CopyBits - * should also have top,left values of 0,0 - */ +extern int tkPictureIsOpen; /* If this is 1, we are drawing to a picture + * The clipping should then be done relative + * to the bounds of the picture rather than + * the window As of OS X.0.4, something is + * seriously wrong: The clipping bounds only + * seem to work if the top,left values are 0,0 + * The destination rectangle for CopyBits + * should also have top,left values of 0,0 + */ extern TkMacOSXWindowList *tkMacOSXWindowListPtr; /* The list of toplevels */ @@ -166,6 +166,8 @@ extern void* TkMacOSXGetNamedSymbol(const char* module, const char* symbol); symbol = TkMacOSXGetNamedSymbol(STRINGIFY(module), STRINGIFY(_##symbol));\ } +extern void TkMacOSXDisplayChanged(Display *display); + #include "tkIntPlatDecls.h" #endif /* _TKMACINT */ |