Re: <> Added shell32.dll functions to browse for unix directory; altered winecfg to use it to select the root directory of a virtual drive

2004-12-11 Thread Arjen Nienhuis
> > Hmm. For the winecfg use case though we have to pass back a Unix path, > as by definition it might not be mapped to a Windows path. I suspect > most code that uses the browse folder API converts the PIDL straight > into a path that it can use with CreateFileEx and so on so it might > break stu

GradientFill revisited

2004-11-16 Thread Arjen Nienhuis
I created a patch! Hooray! http://www.nienhuisbeheer.nl/~arjen/gradientfill.patch Does anyone have a test for this function. What is the best way to create a program to test these things? I've never written a windows program from scratch. Does anyone have a simple app, where I can insert some ca

Using a DIB to reduce number of calls to X

2004-11-13 Thread Arjen Nienhuis
GradientFill can be implemented by drawing to a DIB, and then blting that DIB to the screen. This will reduce the number of calls to X from O(n) to O(1). 1. Is that a good idea? Any caveats? 2. Can that method be used elsewhere? I'll try to implement it right away. P.S. We do implement the alpha