| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
FossilOrigin-Name: 3f95fbe0ce14948fd409844b915c18ef25d7d0a0
|
| |
| |
| | |
FossilOrigin-Name: a74f32bb6369d3e66e661145c81a98a14ed79b3a
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* win/tkWinX.c: and simplify WNDCLASS to one style.
* win/tkWinWm.c: Reduce wrapper update for exStyle to toolwindow
change only and set WS_EX_LAYERED as sticky (once set on a window,
do not remove it) to reduce alpha transition flicker.
FossilOrigin-Name: b545e1e2fb3a24f006b12e115fc4740d5205c769
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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]
FossilOrigin-Name: f63b0d0bbbbc410a7fbca3ce0c19a7b54422a6de
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It is only defined under Win32.
* generic/tkIntPlatDecls.h: Regen.
* generic/tkStubInit.c: Regen.
* win/tkWinInt.h: Define TK_THEME_WIN_CLASSIC and
TK_THEME_WIN_XP.
* win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryLabel):
Draw a disabled 3D text highlight for the accelerator only
with the Win95/98 look. Same goes for the menu entry text.
* win/tkWinX.c (TkWinGetPlatformId, TkWinGetPlatformTheme):
Automatically detect the Windows theme in use and return
either TK_THEME_WIN_CLASSIC or TK_THEME_WIN_XP when the
TkWinGetPlatformTheme function is invoked.
[Patch 866194]
* win/tkWinMenu.c: only provide a submenu handle when the
MF_POPUP flag is given, fixing a recently-introduced crash
when submenus are disabled. Also better error checking for
this sort of situation in the future.
* win/tkWinMenu.c (ReconfigureWindowsMenu): Fix drawing of a disabled
(TkWinHandleMenuEvent, DrawMenuEntryArrow): cascade menu arrow. Tk was
displaying a disabled cascade menu arrow in black instead of
gray. This was caused by a bug in the Win32 code for user drawn
menu items. The fix is to avoid telling Windows that the menu item
is a cascade type and then draw the gray arrow bitmap on our own.
[Patch 865842]
* win/tkWinMenu.c (DrawWindowsSystemBitmap): Fix a strange Win32
bug where the logical coordinates returned by a call to DPtoLP are
wrong the first time a menu is posted. This bug manifested itself
by drawing the bitmap in the wrong place in a menu. The fix was
to pass the newly created DC instead of the DC from the window.
* win/tkWinMenu.c (DrawMenuEntryAccelerator):
(DrawMenuEntryLabel): When drawing the label text and accelerator
text for a disabled menu entry be sure to draw a 3D highlight.
The only exception to this is when a disabled menu entry is
highlighted, in that case do not draw a 3D hightlight.
* win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryArrow):
Move the unused menu arrow drawing code in
DrawMenuEntryAccelerator into a new function named
DrawMenuEntryArrow. This makes no functional change but it will
make it easier to fix things in the future.
FossilOrigin-Name: e42dad6e91ffbd59e77f8378f5dd48f2fade4b1e
|
| |
| |
| |
| |
| |
| |
| | |
* win/tkWinInt.h: alpha transparency on Win2K/XP+.
* win/tkWinWm.c: TIP #222 [Patch 892194]
FossilOrigin-Name: 9ebe03d6a837b6b7e6aeef846d34dc50372945ba
|
| |
| |
| |
| |
| |
| |
| | |
* win/tkWinInt.h: the -parent window for
* win/tkWinWm.c (TkWinGetIcon): the MessageBox.
FossilOrigin-Name: 79fdb01afac0e06ac8e6df10422eddbfa6d547b9
|
| |
| |
| |
| |
| |
| |
| | |
* win/tkWinInt.h (TkWinProcs): titles. [Bug #904371] (riefenstahl)
* win/tkWinMenu.c (ReconfigureWindowsMenu):
FossilOrigin-Name: 2173eb5c721551091dc897329cb81fede4e26704
|
| |
| |
| |
| |
| |
| |
| | |
Fix various gcc warnings, all backported from Tk 8.6
VC6++ does not have SPI_SETKEYBOARDCUES
FossilOrigin-Name: a891c24d0a62a5606f4aec56244b76e9a8c4d9de
|
| |
| |
| |
| |
| |
| |
| | |
make TkWinChildProc available in private
stub table. [Bug #220600] and [Bug #220690].
FossilOrigin-Name: fbdec3cb93682ab3623648545e43c08a77f00f55
|
| |
| |
| |
| |
| |
| |
| | |
INT_PTR rather than LONG_PTR which isn'tr defined in the msvc6
headers.
FossilOrigin-Name: 465b865340c485760698b52e9874c66ab9e61052
|
| |
| |
| | |
FossilOrigin-Name: e7868b44c1e7bffc63a053b87a96a4499757f80d
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* win/tkWinX.c: and simplify WNDCLASS to one style.
* win/tkWinWm.c: Reduce wrapper update for exStyle to toolwindow
change only and set WS_EX_LAYERED as sticky (once set on a window,
do not remove it) to reduce alpha transition flicker.
FossilOrigin-Name: 099e9edbefe11fbc7080674736728b06eac58f38
|
| |
| |
| | |
FossilOrigin-Name: 5c1d2633c30b24b2068350342eb9d853e153dfa6
|
| |
| |
| |
| |
| |
| | |
fix bug #1627732
FossilOrigin-Name: 3cb10b476b00b2ffc8694865919f758e722cfde4
|
| |
| |
| | |
FossilOrigin-Name: 36165453405bcc416b1b70c6014274fb196f9fa4
|
| |
| |
| | |
FossilOrigin-Name: 1be88f1039a57d37b1f4567340d02ca39ddb3575
|
| |
| |
| |
| |
| |
| |
| | |
Tk_GetMenuHWND, TkWinCleanupContainerList, and TkpWmGetState to
that are used across source files.
FossilOrigin-Name: a863ed88b6f92d436a6bfac9fa2b782184152d24
|
| |
| |
| | |
FossilOrigin-Name: 35f9eb751643844df42fe6793b29dbfeb6dcc534
|
| |
| |
| |
| |
| | |
completed a full toplevel -use option configuration for Windows
FossilOrigin-Name: aa3768b5aa2fc7a6c8567359f6d1fc392f775239
|
| |
| |
| |
| |
| | |
upper left x and y of an embedded toplevel
FossilOrigin-Name: e9c726fdc30551803d485ca048e4a26f7869cb4e
|
| |
| |
| |
| |
| | |
TK_ICONIFY, TK_DEICONIFY, TK_WITHDRAW; replaced TK_TITLE with TK_GETFRAMEWID for setting container's title across process boundary; bug fix in wm overrideredirect for TK_EMBEDDED window
FossilOrigin-Name: a3a3ca2ad336403d2ddd9c3d9aea9ebc8776ce67
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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]
FossilOrigin-Name: 0eb7a8a6ca8d433636d52e87b055af3095eab74f
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It is only defined under Win32.
* generic/tkIntPlatDecls.h: Regen.
* generic/tkStubInit.c: Regen.
* win/tkWinInt.h: Define TK_THEME_WIN_CLASSIC and
TK_THEME_WIN_XP.
* win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryLabel):
Draw a disabled 3D text highlight for the accelerator only
with the Win95/98 look. Same goes for the menu entry text.
* win/tkWinX.c (TkWinGetPlatformId, TkWinGetPlatformTheme):
Automatically detect the Windows theme in use and return
either TK_THEME_WIN_CLASSIC or TK_THEME_WIN_XP when the
TkWinGetPlatformTheme function is invoked.
[Patch 866194]
FossilOrigin-Name: 24901585f19675a68752a05ee56e4260a55251b5
|
| |
| |
| |
| |
| |
| |
| |
| | |
* tests/winWm.test: Add 'wm attributes -alpha' to control toplevel
* win/tkWinInt.h: alpha transparency on Win2K/XP+.
* win/tkWinWm.c: TIP #222 [Patch 892194]
FossilOrigin-Name: b8d1edd4487061f9222e112d3fa0e14a06c2a77c
|
| |
| |
| |
| |
| |
| |
| | |
* win/tkWinInt.h: the -parent window for
* win/tkWinWm.c (TkWinGetIcon): the MessageBox.
FossilOrigin-Name: 01d4886a1607efaa4eb215369204f12db9338e79
|
|/
|
|
|
|
|
| |
* win/tkWinInt.h (TkWinProcs): titles. [Bug #904371] (riefenstahl)
* win/tkWinMenu.c (ReconfigureWindowsMenu):
FossilOrigin-Name: 2a201db47c176e0a087b64b533ba551277ffa592
|
|
|
|
|
|
|
|
| |
* win/tkWinDraw.c:
* win/tkWinFont.c (Tk_DrawChars): add support for simple XOR text
drawing on Windows. [Patch #685388] (martin)
FossilOrigin-Name: e9b026f7cef7dc4a2ab3270e627f278c94b131fd
|
|
|
|
|
|
|
|
|
| |
* win/tkWinDialog.c (GetFileNameW): use TkWinGetUnicodeEncoding
* win/tkWinInit.c (TkpDisplayWarning): use TkWinGetUnicodeEncoding
* win/tkWinFont.c: use TkWinGetUnicodeEncoding instead of static
unicodeEncoding.
FossilOrigin-Name: ca09d55644cd9006092eec025b62e54ee611bf11
|
|
|
|
|
|
|
|
|
|
| |
* win/tkWinX.c: added TkWinProcs that represent a function table
to switch between unicode and ansi procs on Windows. This is
analogous to the TclWinProcs. Using Tcl_WinUtfToTChar, we can
easily take advantage of using unicode functions where available
without having to switch on the platform id each time.
FossilOrigin-Name: 081e2c0707adca6861223d368262ad2bf2816ec5
|
|
|
|
|
|
|
|
|
|
|
| |
* win/configure:
* win/tcl.m4: added imm32.lib to LIBS_GUI for Tk IME support.
* win/tkWinInt.h:
* win/tkWinKey.c:
* win/tkWinX.c: added support for changing IME on the fly in
Windows (2000). (lam) [Patch #402993]
FossilOrigin-Name: 7d37d3f469f0662f50fc1661d1f02bc0060ca9c8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/tkWinInt.h:
* win/tkWinClipboard.c (UpdateClipboard):
* win/tkWinX.c (GenerateXEvent): added updatingClipboard tsd and
TkWinUpdatingClipboard accessor function to allow us to flag
ourselves when we are the ones updating the clipboard. This
corrected inability to create our own clipboard types within a Tk
application. [Bug: 2338 4318]
* win/tkWinTest.c (TestclipboardCmd): improved TestclipboardCmd
with better error handling and obj'ification
FossilOrigin-Name: 6afe91c34422fd4d580eb8122ad3815c4612f685
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/tkWinFont.c (TkpFontPkgInit): move private ref to platformId
to TkWinGetPlatformId
* win/tkWinMenu.c (SetDefaults): moved private use of versionInfo
to TkWinGetPlatformId and removed all code for
(versionInfo.dwMajorVersion < 4) (== Win32s)
* win/tkWinX.c:
* win/tkWin32Dll.c: moved TkWinGetPlatformId to tkWinX.c
* win/tkWinInit.c: added TkWinXInit to TkpInit to ensure that its
called for static Windows shells. [Bug: 3647]
* win/tkWinInt.h:
* win/tkWinX.c:
* win/tkWinDraw.c (SetUpGraphicsPort):
* win/tkWinScrlbr.c (UpdateScrollbar): removed use of tkpIsWin32s
* win/tkWinInt.h (TkWinDCState struct): added bkmode value
* win/tkWinDraw.c (TkWinGetDrawableDC, et al): added support for
properly transparent dashed lines on Windows. [Bug: 4617]
FossilOrigin-Name: 4da507a963ef135744aef559227cc6d7a4335951
|
|
|
|
|
|
|
|
|
|
| |
declaration with extra #defs. [Bug: 4240]
* tests/color.test:
* xlib/xcolors.c (XParseColor FindColor):
* win/tkWinColor.c (XAllocColor): Fixed bit fiddling for colors to
return "correct" values for color mapping. [Bug: 4282]
FossilOrigin-Name: b59fd61c4ab53fc8c05ece8ab91cd06f769ff333
|
|
|
|
|
|
|
|
|
|
| |
redundant with tkFont.h).
* win/tkWinPort.h: put #ifndef __GNUC__ around redefinition
of str[n]casecmp, as cygwin uses the originals.
* win/tkWinX.c: changed GetCurrentTime to GetTickCount (the
former is deprecated). [Bug: 2053]
FossilOrigin-Name: 9817763038db6ca12771e36e2114bdb5b71fd3ca
|
|
|
| |
FossilOrigin-Name: 1120dc4257448ed1955333e682de48e2940cc741
|
|
|
| |
FossilOrigin-Name: ab02cc0aa4e2a2cadf2b5537fca8c1a670d5da78
|
|
|
| |
FossilOrigin-Name: 4c74dd207943932e6d9a6d06a3ec11b8e4459199
|
|
|
|
|
|
|
| |
* win/tkWinPointer.c: Changed to cancel the mouse timer when a
user initiated move/resize loop begins.
FossilOrigin-Name: 03e9352f629f6b526bca229fe18891edab016231
|
|
|
| |
FossilOrigin-Name: fb58b663f313796e8ed3115f92d657f0cae1d575
|
|
FossilOrigin-Name: 2bf55ca9aa942b581137b9f474da5ad9c1480de4
|