Window discovering

2006-02-22 Thread Cyril Margorin
this application? -- Cyril Margorin

Re: StretchDIBits function problem.

2006-02-13 Thread Cyril Margorin
, and useShm field correctly in X11DRV_SetDIBits? Why it was NULL in X11DRV_GetDIBits and is NULL in X11DRV_SetDIBits, with useShm hardcoded to FALSE? -- Cyril Margorin

Re: StretchDIBits function problem.

2006-02-10 Thread Cyril Margorin
suggestions? 2006/1/27, Cyril Margorin [EMAIL PROTECTED]: Hello, I've discovered, that using of GetDIBits after StretchDIBits doesn't return correct data. More then - all pixels that it returns are black. In attachment the test function. Changelog: Cyril Margorin [EMAIL PROTECTED] add test

Re: LoadImage (4bpp) / CopyImage() crashing

2006-01-26 Thread Cyril Margorin
or two. Changelog: Cyril Margorin [EMAIL PROTECTED] Fix of CopyImage function for non-compatible to ScreenDC bitmaps. Handling of LR_CREATEDIBSECTION flag. user_cursoricon_copyimage.3.patch Description: Binary data

StretchDIBits function problem.

2006-01-26 Thread Cyril Margorin
Hello, I've discovered, that using of GetDIBits after StretchDIBits doesn't return correct data. More then - all pixels that it returns are black. In attachment the test function. Changelog: Cyril Margorin [EMAIL PROTECTED] add test of StretchDIBits()/GetDIBits() bunch to gdi/test/bitmap.c

Re: LoadImage (4bpp) / CopyImage() crashing

2006-01-23 Thread Cyril Margorin
Hello, Is something wrong with patch that I sent before? I wonder that no one tell me anything about it. 2006/1/12, Cyril Margorin [EMAIL PROTECTED]: Hello, I've just noticed that Alexander had put patch that eliminates crashing on CopyImage. The way, he solved this problem is simple

Re: LoadImage (4bpp) / CopyImage() crashing

2006-01-23 Thread Cyril Margorin
/23, Alexandre Julliard [EMAIL PROTECTED]: Cyril Margorin [EMAIL PROTECTED] writes: Hello, Is something wrong with patch that I sent before? I wonder that no one tell me anything about it. You are creating a DIB section in all cases, that's not what the function is supposed to do. I'd

Re: LoadImage (4bpp) / CopyImage() crashing

2006-01-11 Thread Cyril Margorin
loses color table information, stored with DIB. - New created image should be easy selectable in DC, but it must have DIB section and associated created PhysicalPixmap. In attachment you can find my (next) view on that function. -- Cyril Margorin user_cursoricon_copyimage.2.patch Description

Re: LoadImage (4bpp) / CopyImage() crashing

2005-12-09 Thread Cyril Margorin
. In attachment you may find a patch for it. Am I wrong somewhere? 2005/11/25, Cyril Margorin [EMAIL PROTECTED]: Hello, During research the crashing application I've found a problem that can be easily reproduced by test. (http://www.winehq.org/pipermail/wine-patches/2005-November/022384.html

Re: LoadImage (4bpp) / CopyImage() crashing

2005-12-09 Thread Cyril Margorin
I'm sorry, previouse diff was made with '-u' flag. In attachment - fixed one. 2005/12/10, Cyril Margorin [EMAIL PROTECTED]: Hello, Could anyone tell me, why function CopyImage uses GetBitmapBits/SetBitmapBits, while MSDN marks these function as absolete? I've tried to move from

Re: LoadImage (4bpp) / CopyImage() crashing

2005-12-09 Thread Cyril Margorin
Unfortunately, problem is that GetBitmapBits function in wine is incorrect, and may causes a buffer overflow, but the GetDIBits isn't. 2005/12/10, Mike McCormack [EMAIL PROTECTED]: Cyril Margorin wrote: Could anyone tell me, why function CopyImage uses GetBitmapBits/SetBitmapBits, while

Re: LoadImage (4bpp) / CopyImage() crashing

2005-12-09 Thread Cyril Margorin
was looked up from same file. It uses static variable screen_dc But may be you are right, GetDC(0) should be used. 2005/12/10, Vitaliy Margolen [EMAIL PROTECTED]: Friday, December 9, 2005, 3:12:23 PM, Cyril Margorin wrote: Hello, Could anyone tell me, why function CopyImage uses

Re: LoadImage (4bpp) / CopyImage() crashing

2005-12-09 Thread Cyril Margorin
is that it takes in to account only physical pixmap (as it was called in x11drv/bitmap.c) but it should take pair physical pixmap/logical bitmap, and make pixels conversion from one to another. -- Cyril Margorin

LoadImage (4bpp) / CopyImage() crashing

2005-11-25 Thread Cyril Margorin
++) === -- Cyril Margorin