Re: SetCursorProperties
Peter Hunnisett <[email protected]>
| Newsgroups | gmane.comp.emulators.winex.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Jarmo, we just had time to take a look at your patch - sorry about the delay blame it on the power outage ;) The comments that we had were basically due to the fact that you're mucking around with USER internals. Here are a couple of URLs which describe the process by which an alpha cursor should be set using winXP. But basically we should be using a CreateIconIndirect and feeding that to SetCursor etc. http://www.dotnet247.com/247reference/msgs/13/66301.aspx http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q318876 Additionally we'll need 2 checks for libXcursor.so - one for compile time and another for runtime. The compile time one is done in configure.ac and then use autoheader to generate the new include/config.h.in and autoconf to generate the new configure test which will set HAVE_LIBXCURSOR, or something like that. The test can basically be similar to may of the ones already performed. The run time check would be run if HAVE_LIBXCURSOR is defined and would attempt to dlopen it. On top of that, it might be nice to generate thread safe wrapper for that library. Have a look at tools/make_X11wrappers and you can also look at what was done for XRandR in that regard if you'd like to see what to change. All those thread safe wrappers hang out in include/ts_* and tsx11/*. However, this isn't needed, it's just a keen been project since the only call to the library doesn't require a TSX version based on where it's used in the code. Let me know if any of that doesn't make sense. Ciao, Peter** Jarmo wrote: >Thanks, > >It seems that I was wrong about XFree86 color cursor support I had some out of >date documentation. So here is the patch for D3D8_SetCursorProperties. This >patch requires libXcursor.so I don't know does this require modifications in >configure scripts. A game called Wazzal is used for testing and everyting >seems to work fine. Infact the cursor moves much smoother that in a Windows >:) > >Regards, >Jarmo Nikkanen > > > > <snip patch> ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104