summaryrefslogtreecommitdiffstats
path: root/win/tkWinInt.h
diff options
context:
space:
mode:
authorhobbs <hobbs>2004-09-23 01:08:11 (GMT)
committerhobbs <hobbs>2004-09-23 01:08:11 (GMT)
commit47b1101666a2edd687a9e61a79b85906ddba1da3 (patch)
treefd784f52acf31c941302f0a30a35e5a2dc79e215 /win/tkWinInt.h
parente84332a4539dcd07fbe9d2ac2488a670eb591928 (diff)
downloadtk-47b1101666a2edd687a9e61a79b85906ddba1da3.zip
tk-47b1101666a2edd687a9e61a79b85906ddba1da3.tar.gz
tk-47b1101666a2edd687a9e61a79b85906ddba1da3.tar.bz2
* win/tkWinInt.h (TkWinDisplayChanged): added decl
* win/tkWinX.c (TkWinDisplayChanged, TkpOpenDisplay): Correctly * win/tkWinWm.c (InvalidateSubTreeDepth, WmProc): handle color and screen resolution changes. Tested for 16/24/32 bpp changes on XP. May need more fixes for 8bpp switch, use of special colormaps, or other special palette handling cases. [Bug 223689]
Diffstat (limited to 'win/tkWinInt.h')
-rw-r--r--win/tkWinInt.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/win/tkWinInt.h b/win/tkWinInt.h
index 0d14a0d..dfb0f35 100644
--- a/win/tkWinInt.h
+++ b/win/tkWinInt.h
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinInt.h,v 1.18 2004/09/21 19:13:58 mdejong Exp $
+ * RCS: @(#) $Id: tkWinInt.h,v 1.19 2004/09/23 01:08:11 hobbs Exp $
*/
#ifndef _TKWININT
@@ -172,6 +172,11 @@ EXTERN void TkWinUpdatingClipboard(int mode);
EXTERN HICON TkWinGetIcon(Tk_Window tkw, DWORD iconsize);
/*
+ * Used by tkWinX.c on for certain system display change messages
+ */
+EXTERN void TkWinDisplayChanged(Display *display);
+
+/*
* The following structure keeps track of whether we are using the
* multi-byte or the wide-character interfaces to the operating system.
* System calls should be made through the following function table.