Alexandre Julliard
805bdc53e8
Store the window caption text in the server.
...
Maintain a paint count separately for each window.
2001-11-13 22:23:48 +00:00
Alexandre Julliard
fb0ff053c0
Added internal Wine messages to perform SetWindowPos, ShowWindow and
...
SetParent in the correct thread.
Replace QUEUE_IsExitingQueue by USER_IsExitingThread.
Store window rectangles in the server.
Prevent DestroyWindow on windows not belonging to the current thread.
2001-10-16 21:58:58 +00:00
Alexandre Julliard
8fd26b9134
Renamed WIN_GetWndPtr into WIN_GetPtr and added corresponding
...
WIN_ReleasePtr. Started using it instead of WIN_FindWndPtr where we
don't need to access windows of other processes.
2001-10-15 17:56:45 +00:00
Alexandre Julliard
3949386d76
Moved MsgWaitForMultipleObjects call on RDW_UPDATENOW out of the
...
RDW_Paint recursion.
2001-10-08 22:32:05 +00:00
Alexandre Julliard
62fb0825bf
Process pending events before sending WM_PAINT on RDW_UPDATENOW.
2001-10-05 19:47:42 +00:00
Alexandre Julliard
d23a82bc86
Made all 16<->32 HWND conversions use explicit functions instead of
...
implicit type casts.
Moved a lot of 16-bit functions to the new wnd16.c file.
Changed DIALOGINFO structure handling to support 32-bit handles.
2001-09-19 20:37:04 +00:00
Alexandre Julliard
9d9dac0947
Added WIN_ListParents function and renamed WIN_BuildWinArray into
...
WIN_ListChildren. Made owner field in WND structure an HWND.
2001-08-24 19:28:21 +00:00
Alexandre Julliard
0801ffc5a3
Implemented GetAncestor and removed WIN_GetTopParent.
...
Removed a few more accesses to the WND structure.
2001-08-24 00:26:59 +00:00
Alexandre Julliard
fa42aa81e4
Removed WIN_GetDesktop().
2001-08-21 17:13:55 +00:00
Alexandre Julliard
4ff32c8aef
Removed a number of direct accesses to the window structure.
2001-08-18 18:08:26 +00:00
Alexandre Julliard
e6533a6b71
Fixed DrawState16 callback support.
2001-08-08 23:26:32 +00:00
Marco Bizzarri
5095779999
GetControlBrush16: avoid potentially releasing the same pointer
...
twice.
2001-08-03 18:17:14 +00:00
Alexandre Julliard
1922c72b8a
Removed unnecessary inclusion of heap.h.
2001-07-25 00:43:29 +00:00
Alexandre Julliard
37e9503ae8
Moved server.h to include/wine.
2001-07-19 00:39:09 +00:00
Alexandre Julliard
4b0343dc5f
Moved queue paint count to the server. Removed a few no longer used
...
routines.
2001-06-20 22:55:31 +00:00
Alexandre Julliard
dc4fe7735b
Create an X window for every window, including children.
...
Fixed non-client rectangle calculations in managed mode.
Added support for icon window in managed mode.
2001-06-04 21:55:17 +00:00
Alexandre Julliard
9ae0fe54b0
Moved most of the implementation of SetWindowPos and SetDrawable into
...
the user driver, and the corresponding code into the dlls/x11drv
directory. Moved a few functions out of the window driver into the
user driver. Plus a few related cleanups.
2001-04-24 23:28:52 +00:00
James Juran
f4d5fefb0a
Add <string.h> to files that needed it.
2001-01-26 20:43:40 +00:00
Alexandre Julliard
a41b2cfdd0
Moved tweak support to USER dll. Removed tweak.h and cache.h.
2001-01-15 20:12:55 +00:00
Francois Gouget
345acc90fd
Updated the look of dots and dashes to match the Win32 look.
...
Issue a FIXME about PS_USERSTYLE.
2000-12-24 20:16:25 +00:00
Patrik Stridvall
2ece70e77b
Various documentation fixes.
2000-12-22 01:38:01 +00:00
Alexandre Julliard
982a223f36
Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
...
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +00:00
Alexandre Julliard
4c18636d4e
Use GetStockObject() instead of the magic STOCK_* handles.
2000-10-29 01:22:15 +00:00
Ulrich Weigand
409eb44eb0
Fixed painting problems in non-MM_TEXT modes.
2000-10-23 00:35:28 +00:00
Alexandre Julliard
3993216776
Moved Select/RealizePalette implementation to USER and use
...
pfnSelect/RealizePalette function pointers in GDI.
Make sure the palette handle is valid in GDISelectPalette16 (thanks to
Uwe Bonnes).
2000-09-16 20:57:39 +00:00
Serge Ivanov
6117fc4165
(Merged by Marcus Meissner <marcus@jet.franken.de>)
...
Fixed problem with origin for DST_COMPLEX style.
Fixed handling of DSS_DISABLED and DSS_DEFAULT styles.
Added handling of BS_MULTILINE style, label alignment
styles (BS_RIGHT, etc.) and some exotic styles BS_FLAT (only
pushbuttons for now), and BS_PUSHLIKE.
Modified label drawing procedure: now all kinds of buttons
use common BUTTON_DrawLabel function. Actual label drawing is
performed by DrawStateW function.
GroupBox must use WM_CTLCOLORSTATIC instead of WM_CTLCOLORBTN message.
2000-09-13 00:00:55 +00:00
Alexandre Julliard
c7e7df8b17
Replaced all lstr* calls from inside Wine code by their str* equivalent.
2000-08-14 14:41:19 +00:00
Alexandre Julliard
cb10fdab99
Replaced lstrlen/lstrcmp by libc equivalents everywhere we don't need
...
to trap exceptions.
2000-08-06 02:41:16 +00:00
Alexandre Julliard
b0efe28f6c
Removed a few dependencies on GDI internals from USER dll.
2000-08-04 04:18:04 +00:00
Stephane Lussier
52146f62fd
- UpdateWindow should refresh all children that have an update region.
...
- In DIALOG_CreateIndirect UpdateWindow shouldn't be called. Wine will generate
a WM_PAINT eventually for the dialog, no need to force a paint right away.
(based on a patch from James Hatheway in the Corel tree)
2000-07-28 20:19:37 +00:00
Rein Klazes
8a0808fa92
Make RDW_ValidateParent() modify the update region of all parents, not
...
just the direct parent.
2000-04-23 20:39:09 +00:00
Patrik Stridvall
2d6457c11a
Added/fixed some documentation reported by winapi_check.
2000-03-28 20:22:59 +00:00
Patrik Stridvall
98fde73f14
Fixed some issues reported by winapi_check.
2000-03-24 20:43:33 +00:00
Serge Ivanov
982ebc638f
We don't need to call LPtoDP in here as far as PatBlt does it internally.
2000-02-25 20:50:30 +00:00
Jeremy White
d3e22d9d55
Removed #include of wingdi.h and windef.h from winuser.h (and resolved
...
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Patrik Stridvall
9dded144f4
- Made FillRect behave like it does on Windows
...
- Cleaned up WM_{,ICON}ERASEBACKGROUND default handling
- Added some comments on how Windows behaves
2000-01-05 03:05:23 +00:00
Dimitrie O. Paun
dd03cc19fd
Make use of the DEFAULT_DEBUG_CHANNEL where appropriate.
...
Use the default version of FIXME, ERR, WARN, TRACE for the default
channel.
1999-12-08 03:56:23 +00:00
Huw D M Davies
f0f8da5870
Fixes several bugs in gdi path handling.
...
Adds *Path functions to dc funcs table + add EnhMetaFile recording.
Separate out Polylne/PolylineTo and PolyBezier/PolyBezierTo in dc
funcs table to enable proper enhmetafile recording.
The current position update in *To functions is now handled by the
main function and not in the drivers.
Move USER functions from graphics/painting.c -> windows/painting.c
1999-12-05 23:54:02 +00:00
Francis Beaudet
d3d2477014
rcPaint has to be returned in logical coordinates but was intersected
...
with a client rectangle in device coordinates.
1999-09-27 11:42:34 +00:00
Stephane Lussier
e5711ebea4
The paint rectangle return in the PAINTSTRUCT in BeginPaint should
...
never be bigger than the client area of the window.
1999-08-21 13:06:24 +00:00
Patrik Stridvall
0e38aa7fda
Various ANSI C compability fixes.
1999-07-31 17:34:43 +00:00
Eric Pouech
f0380e573c
In WIN_UpdateNCRgn, do not send in WM_NCPAINT a region that is used
...
afterwards, but a copy of it.
1999-07-18 18:26:58 +00:00
Francis Beaudet
c37dd06f78
Delay WM_NCPAINT message until the "painter's algorithm" kicks in.
1999-07-18 15:38:29 +00:00
Gerard Patel
4c2a07705c
Remove the validated child area from the update region of parent for
...
windows without WS_CLIPCHILDREN style.
1999-06-27 15:32:23 +00:00
Patrik Stridvall
1ed4ecffa8
ANSI C fixes.
...
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Noomen Hamza
ff0149e73b
Avoid painting destroyed windows.
1999-06-12 18:29:07 +00:00
Patrik Stridvall
4bf335497d
Removed direct references to CLASS internals.
1999-06-12 14:52:15 +00:00
Ulrich Weigand
9d35bb8295
Fixed invalid window refcount handling in RDW_Paint().
1999-05-14 08:10:25 +00:00
Alex Korobka
98447497b7
Rearranged PAINT_RedrawWindow() so that it first recursively updates
...
invalid regions and only then starts sending out messages. This should
help with reentrancy during message processing and now it needs just
one (or none) scratch region for all there is to do. Also, small fixes
for SetWindowPos().
1999-05-08 17:57:09 +00:00
Alexandre Julliard
06c275a643
Converted to the new debugging interface (done with the help of the
...
script written by Patrik Stridvall).
1999-05-02 14:32:27 +00:00