Commit Graph

59 Commits

Author SHA1 Message Date
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
Luc Tourangeau 296def268a GetIcon bug fix. 1999-07-18 13:25:31 +00:00
Francois Boisvert 0e6f0618f5 Modified ImageList_LoadImageA to check the case where cx is set to zero. 1999-06-22 19:02:07 +00:00
Alexandre Julliard a099a555c3 Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-06-12 15:45:58 +00:00
Patrik Stridvall 9e61c1cc9b Changed xxx(VOID) to xxx(void). 1999-06-12 08:27:49 +00:00
Luc Tourangeau 103a2ea356 ImageList_GetIcon bug fix. 1999-06-12 06:40:00 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Francis Beaudet 64307f3cea Fixed small ==, != mixup. 1999-04-01 10:11:23 +00:00
Pascal Lessard 60935ec3e9 Change the AddBitmap function. Implement flat toolbar. Change
CreateToolbarEx. Implement partially the hot buttons for toolbar.
1999-03-25 16:42:27 +00:00
Sylvain St.Germain 02300aeaa5 Fixed some graphical problems of the treeview and added support LMB
click on +/- sign to open and close.
Fixed a bug in imagelist where the last image could not be displayed.
1999-03-16 10:38:44 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Marcus Meissner 317af320cf Optimized include/*.h: (recursively) include all headers needed by
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Marcus Meissner ffb912e692 Fixed GetIconInfo16 (.spec,ICONINFO struct is different for Win16/Win32). 1999-01-28 09:14:38 +00:00