Commit graph

77 commits

Author SHA1 Message Date
Ged Murphy
6d9378a1fd - Add a new routine to NtUSerCallOneParam which returns newly created handles for icons and cursors
- Fix the NtUserGetIconSize prototype

svn path=/trunk/; revision=31289
2007-12-17 09:40:48 +00:00
Ged Murphy
a8d5e08510 remove the ros only NtUserGetCursorIconSize and implement NtUserGetIconSize in it's place
svn path=/trunk/; revision=31239
2007-12-15 12:16:45 +00:00
Timo Kreuzer
5455b61b46 replace NtGdiSelectObject with NtGdiSelectBitmap and NtGdiSelectBrush in cursoricon.c
svn path=/trunk/; revision=30912
2007-11-30 02:44:29 +00:00
Christoph von Wittich
f63f322ecb fix TAG_BITMAP redzone overwrite for colordepths != 32 bit
svn path=/trunk/; revision=30790
2007-11-26 20:45:05 +00:00
Christoph von Wittich
119d8d8d28 don't try to alphablend monochrome bitmaps - fixes the red zone overwrite in opera 9.24
svn path=/trunk/; revision=30687
2007-11-23 07:33:54 +00:00
Thomas Bluemel
23c877364c - Fix desktop heaps handling and various bugs
- Begin superseding the WINDOW_OBJECT structure by WINDOW which is located on the desktop heap
- Implement GetClientRect() and GetWindowRect() to read the information from the desktop heap

svn path=/trunk/; revision=30467
2007-11-15 19:42:41 +00:00
James Tabor
98f75aa494 2nd Sort out gdi device mess.
svn path=/trunk/; revision=30373
2007-11-12 04:58:41 +00:00
Ged Murphy
4318124a73 we don't need the 0xff
svn path=/trunk/; revision=29953
2007-10-29 13:34:51 +00:00
Ged Murphy
af97264c80 speed up the DrawIconEx alpha maths a little bit
svn path=/trunk/; revision=29952
2007-10-29 13:29:26 +00:00
Daniel Reimer
ae7da04787 Delete all Trailing spaces in code.
svn path=/trunk/; revision=29690
2007-10-19 23:21:45 +00:00
Ged Murphy
1beed38801 fix painting of alpha channels in 32bpp icons onto windows/dialogs
svn path=/trunk/; revision=29419
2007-10-06 17:59:21 +00:00
James Tabor
fb4bacbb5f Win32k/User32:
- Moved NtUserGetCursorIconInfo to NtUserGetIconInfo, update header.
- GetIconInfo is correctly called now.

svn path=/trunk/; revision=29348
2007-10-01 23:15:02 +00:00
Timo Kreuzer
6a3291941f win32k compatibility update
- NtUserCreateWindowEx: add 15th parameter
- NtUserCreateWindowStation: add 7th parameter
- rename NtUserDestroyCursorIcon to NtUserDestroyCursor
- rename NtUserSetCursorIconContents to NtUserSetCursorContents
- implement about 50 NtUser stubs

svn path=/trunk/; revision=29265
2007-09-28 01:49:06 +00:00
Timo Kreuzer
6f54ba60ab - Rename NtGdiCreateBitmap to IntGdiCreateBitmap and remove SEH
- implement new NtGdiCreateBitmap, calling IntGdiCreateBitmap with SEH
- Use only IntGdiCreateBitmap internally
- implement BITMAPOBJ_GetRealBitsPixel, finding an appropriate value for unsupported values of BitsPixel
- make parameter validation more windows compatible

svn path=/trunk/; revision=28341
2007-08-14 23:22:07 +00:00
James Tabor
56ed3e702f - Fixed NtGdiAlphaBlend prototype.
- Changed name for NtGdiSetIcmMode, updated ntgdibad.h.
- Fix size issue in w32ksvc.db.

svn path=/trunk/; revision=28253
2007-08-09 06:48:07 +00:00
Timo Kreuzer
9e4807d6e5 NtGdiGetSetBitmapBits:
- use SEH and probe the user mode buffers
- SetLastWin32Error on invalid handle
- move the copying to IntGetSetBitmapBits
- only use IntGetSetBitmapBits from inside win32k
- move NtGdiGetBitmapBits to bitmap.c
- allow copying a number of bytes not matching one entire line, like on windows
I think that was all changes.

svn path=/trunk/; revision=28110
2007-08-02 22:14:32 +00:00
James Tabor
6a08b2af85 Removed NtGdiGetObjectType, use GDI_HANDLE_GET_TYPE.
svn path=/trunk/; revision=26457
2007-04-21 22:23:19 +00:00
Ged Murphy
5b7abf2e8a don't leak a bitmap object if we fail to allocate memory
svn path=/trunk/; revision=25478
2007-01-16 00:08:41 +00:00
Ged Murphy
1e1efd9791 - implement correct alpha blending of icons
- pixel bits must be pre-multiplied with the alpha channel
- along with the previous LookupIconIdFromDirectoryEx, basic alpha blending is working. some bugfixing is still required.

svn path=/trunk/; revision=25475
2007-01-15 23:25:35 +00:00
Aleksey Bragin
d53810a92e - Fix width/height params in a call to NtGdiAlphaBlend().
- Temporary disable the alpha blending code, because it doesn't work correctly. Comments added to the code.

svn path=/trunk/; revision=25211
2006-12-23 13:36:07 +00:00
Magnus Olsen
d747ce9acb thx filip notice I use wrong filed to detect alpha blend.
svn path=/trunk/; revision=25201
2006-12-21 20:03:06 +00:00
Magnus Olsen
757b471441 Fixed alpha blend support in DrawIconEx
svn path=/trunk/; revision=25200
2006-12-21 19:43:13 +00:00
James Tabor
43bcb034b6 - DrawCaption
- Patch by Saveliy Tretiakov, new NtUserDrawCaption implementation.
    See URL for more details, http://www.reactos.org/archives/public/ros-dev/2006-July/008575.html


svn path=/trunk/; revision=23525
2006-08-08 20:00:53 +00:00
Alex Ionescu
502215cb1c - Simplify PsGetNextProcess so it works like PsGetNextProcessThread.
- Reformat and annotate parts of process.c
- Remove PsGetWin32Process, PsGetWin32Thread and implement/export the real functions PsGetCurrentProcessWin32Process, PsGetCurrentThreadWin32Thread, change win32k to use them.
- Initailize and use process rundown.
- Set corrent GrantedAccess.
- Remove an extra incorrect reference we were adding to processes.
- Implement PsIsProcessBeingDebugged.
- Make the same changes to NtOpenProcess that we did previously to NtOpenThread.

svn path=/trunk/; revision=23192
2006-07-20 14:53:47 +00:00
Peter Ward
ea5261fe10 Applied patch by: Thomas Weidenmueller
- win32k window class rewrite.
- http://www.reactos.org/bugzilla/show_bug.cgi?id=1366

svn path=/trunk/; revision=21460
2006-04-05 08:05:55 +00:00
Ged Murphy
b5c963889c - change the GDI code a bit so it's able to handle multiple tables (e.g. separate Dd table)
- patch by Thomas Weidenmueller

svn path=/trunk/; revision=21433
2006-04-01 15:25:40 +00:00
Maarten Bosma
e1f7c6d561 Moved win32k
svn path=/trunk/; revision=21063
2006-02-17 12:22:36 +00:00
Renamed from reactos/subsys/win32k/ntuser/cursoricon.c (Browse further)