Alexandre Julliard
b4a4c05aed
Removed a few more #ifdef __WINE__.
2003-01-04 00:19:17 +00:00
Duane Clark
521aa7412d
Validate imagelists with christmas magic.
2003-01-02 17:51:13 +00:00
Ove Kaaven
1f5315c80f
Make sure that no files except unknwn.h include wine/obj_base.h
...
directly.
2002-12-05 20:33:07 +00:00
Dimitrie O. Paun
0fe326c499
Use DeleteDC instead of DeleteObject to free HDCs (spotted by Dietrich
...
Teickner <Dietrich_Teickner@t-online.de>).
Clear the imagelist structure on deletion, as some stupid apps free
imagelists multiple times.
2002-11-18 19:45:22 +00:00
Rolf Kalbermatter
91befd6902
Fix some NULL dereferencing.
2002-11-11 22:19:42 +00:00
Michael Stefaniuc
353529b2c8
- fix the "int format, HANDLE arg" type of warnings for comctl32
...
- compile the comctl32 dll with -DSTRICT
2002-10-23 22:19:10 +00:00
Michael Stefaniuc
f3d1893f80
Add needed casts for a "no warnings" compile of comctl32.
2002-10-23 20:19:22 +00:00
Dimitrie O. Paun
da9bac4d9e
Add comment on what is known about the current state of the controls
...
relative to comctl32.dll version 6.0.
2002-10-16 18:57:14 +00:00
Dimitrie O. Paun
0bc4b56595
Do not merge image with garbage background. Based on a patch by Carlos
...
<clozano@andago.com>.
2002-10-15 02:15:09 +00:00
Dimitrie O. Paun
326021bd98
Small cleanups, updated documentation.
2002-09-24 18:26:42 +00:00
Dimitrie O. Paun
318817f723
- Rewrite the drawing code. It now is much smaller, easier to follow,
...
and faster. Moreover, it now supports the dwRop operation, and it is
in good shape to support the missing features.
- Draw the dragged image semi-transparently (will work when we support
alpha blending).
2002-09-12 00:51:09 +00:00
Dimitrie O. Paun
d969605b87
- Complete support for rgb{Fg,Bk} in DrawIndirect.
...
- Rename VOID to void.
- Documentation cleanup.
- Fix ILD_TRANSPARENT handling.
2002-09-06 18:32:46 +00:00
Dimitrie O. Paun
4d1e49dc67
- Fix ImageList_GetIcon to use ImageList_* functions for
...
completeness.
- Tiny code cleanups.
- Documentation updates.
2002-09-04 23:31:48 +00:00
Dimitrie O. Paun
7ad3d12a52
- implement support for xBitmap and yBitmap in ImageList_DrawIndirect
...
- small code, docs, and messages cleanups
2002-09-04 18:44:46 +00:00
Mike McCormack
5a6a71f39e
ImageList_SetImageCount should set nCurImage (the number of
...
images in the list) to the value specified, and expect that
ImageList_ReplaceImage is called to set the new images.
2002-08-16 01:35:43 +00:00
Patrik Stridvall
4325554aef
Fixed some issues found by winapi_check.
2002-08-09 01:07:29 +00:00
Michael Stefaniuc
15fc23693f
ImageList_Remove returns TRUE when removing all images of an empty
...
ImageList.
2002-07-22 20:38:41 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Sander van Leeuwen
9851f7a902
Match behaviour of ImageList_LoadImageA wrt cx parameter (when set to
...
zero).
2002-05-30 20:38:13 +00:00
Patrik Stridvall
fc2be7edcc
Fixed some issues found by winapi_check.
2002-04-29 18:48:56 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Dave Hawkes
770a5bfa2d
Partially repair hotspot handling.
2002-02-26 00:33:51 +00:00
Charles Loep
02cbb360e8
Implemented ImageList_Write.
2002-01-29 17:12:20 +00:00
Huw D M Davies
1a65a7b88a
Stubs for ImageList_[S|G]etFlags.
2002-01-15 20:28:05 +00:00
Michael Stefaniuc
00bd7998fb
Fixed memory leak.
...
Removed redundant ImageList_DragShowNolock(FALSE) call.
2001-12-31 22:21:24 +00:00
Michael Stefaniuc
3bc5ffd3c6
Fixed/implemented the ImageList_*Drag* functions.
2001-12-19 18:47:14 +00:00
Michael Stefaniuc
caf81dc0a6
Implemented ImageList_GetDragImage.
...
Fixed ImageList_SetDragCursorImage and ImageList_Merge.
No need for StretchBlt in ImageList_BeginDrag.
Added some traces.
2001-11-30 23:15:00 +00:00
Patrik Stridvall
3566973c78
Use the min/max in windef.h instead.
2001-09-10 23:09:04 +00:00
Patrik Stridvall
01d5e5b071
Documentation fixes.
2001-07-02 19:59:40 +00:00
Patrik Stridvall
6076729649
Documentation ordinal fixes.
2001-06-19 03:34:07 +00:00
Andreas Mohr
641405a550
Fixed off by one error in ImageList_DrawIndirect().
...
Fixed some missing NULL HIMAGELIST check (fixes Microsoft Works
startup).
2001-04-20 18:29:17 +00:00
James Juran
f4d5fefb0a
Add <string.h> to files that needed it.
2001-01-26 20:43:40 +00:00
Brian Teague
161bc83164
Add a stub for the CAPS1 capability in GetDeviceCaps.
...
Define the CAPS1 bit flags in wingdi.h
Make various calls to GetDeviceCaps in DLLS use #defined values.
2000-11-29 20:02:46 +00:00
Jason Mawdsley
e7b84a9b54
Fixed some flickering that was occurring in the image list control
...
when it repainted.
2000-10-22 23:43:56 +00:00
Andreas Mohr
1563abe8ec
- stupid spelling fixes
...
- some more loadorder array work
2000-10-13 20:26:52 +00:00
Alexandre Julliard
74af67ef42
Removed shell.h. Cleaned up the nested includes mess in wine/obj_*.h.
2000-09-26 00:00:55 +00:00
Andreas Mohr
d31c1f6647
Replaced cCurImage by cMaxImage.
2000-08-26 20:28:17 +00:00
Alexandre Julliard
70c9e095ef
Removed all non-standard common control headers from the include
...
directory.
2000-08-09 00:41:17 +00:00
Gerard Patel
19cef6ca10
Allow the size of bitmaps to be changed after toolbar buttons have
...
been added.
2000-07-08 12:48:37 +00:00
Aric Stewart
031793e7f9
Remove the background from the new image when it is being replaced
...
with a ReplaceImage.
2000-05-11 21:39:45 +00:00
Patrik Stridvall
2d6457c11a
Added/fixed some documentation reported by winapi_check.
2000-03-28 20:22:59 +00:00
Serge Ivanov
a39cbbc0eb
In function IMAGELIST_InternalDrawMask we have to mask out overlay mask in
...
fStyle. Otherwise comparison fStyle == ILD_NORMAL will not work, which leads
to improper display of overlay images.
2000-02-25 20:47:26 +00:00
Marcus Meissner
bd26e4d2cf
Height calculation was 1 off in ImageList_Read.
2000-02-07 16:00:33 +00:00
Marcus Meissner
9c978ab18e
Overlay indices are signed shorts (-1 means no overlay)
...
(ImageList_SetOverlayIndex) should accept -1 as overlayindex.
(ImageList_Read) We can read a NxM bitmap from the stream and have
to convert it into a 1x(M*N) bitmap, set cCurImage,cMaxImage. Added
documentation.
(others) removed some potential operator precendence problems.
2000-01-30 22:21:22 +00:00
Marcus Meissner
d40170d20c
Implemented ImageList_Read (not 100% correct in regarding to setting
...
the bitmap).
Filled out unknown members of ILHEAD.
Started reordering IMAGELIST to make it Windows binary compatible.
2000-01-29 21:00:25 +00:00
Eric Kohl
69a93593b0
- first 'dummy' implementation of ImageList_Read
1999-11-23 23:40:01 +00:00
Stephane Lussier
251147741c
Allow creation of empty imagelist.
1999-09-22 15:15:57 +00:00
Stephane Lussier
274925980d
In ImageList_Draw when drawing the bitmap with the transparent flag
...
set, background color/foreground color should be set to white/black,
when doing bitblt operation with the bitmap mask.
1999-09-19 14:14:24 +00:00
Pierre Mageau
4ac8db783d
Changed CopyImage to accept desiredX, desiredY and LR_COPYFROMRESOURCE.
...
CURSORICON_FindBestIcon changed to find the correct icon.
ImageList_ReplaceIcon now calls CopyImage internally.
Assign a value for the hIconSm CLASS member (using CopyImage).
1999-09-04 11:16:48 +00:00
Pierre Mageau
6231a174c6
Fixed various problem with ImageList_Draw.
1999-07-24 10:20:06 +00:00