Re: Willing to help with animated icons/cursors

2004-03-13 Thread Mike McCormack


Mike Hearn wrote:

Shouldn't we be using XCursor for this? I have a feeling switching cursors
with non-XCursor capable x servers might be hackish/inefficient...
Well, I was thinking more about animated icons, not animated cursors. 
I'm not sure how(if?) windows supports animated cursors, but if so, 
Xcursor might be a good place to start.

The code for playing animated icons will go into the static control, and 
is a kind of simplified animation control.

Mike



Re: Willing to help with animated icons/cursors

2004-03-12 Thread Mike Hearn
On Fri, 12 Mar 2004 09:22:47 +0900, Mike McCormack wrote:
> I've done a little work on animated icons.  I've investigated what is 
> necessary to make them work, and written a short plain C program that 
> can parse an animated icon file and extract the icons in it to .xpm 
> files, and a very short test program that doesn't work right in Wine.

Shouldn't we be using XCursor for this? I have a feeling switching cursors
with non-XCursor capable x servers might be hackish/inefficient...




Re: Willing to help with animated icons/cursors

2004-03-11 Thread Mike McCormack
Hi Joel,

I've done a little work on animated icons.  I've investigated what is 
necessary to make them work, and written a short plain C program that 
can parse an animated icon file and extract the icons in it to .xpm 
files, and a very short test program that doesn't work right in Wine.

The code for loading icons is in windows/cursoricon.c, but the code for 
playing them will go into controls/static.c.

The note at the top of cursoricon.c about Paint Brush is for windows 
3.1, and is not valid for the code we'll write

The major tasks are:
1) redesign the data structure containing the icon/cursor info to allow 
storing of animated icon data

2) rewrite the icon loading code in cursoricon.c (difficult)

3) write some new animation code (timer based) in static.c

The second part is difficult because the existing code is pretty bad... 
does this give you enough info on where to start?

Mike

Joel Konkle-Parker wrote:
If anyone out there is currently working on animated icons/cursors in 
cursoricon.c, I'd like to try to help in any way I can. I'm not really 
sure where to start on my own though.

Thanks in advance.





Willing to help with animated icons/cursors

2004-03-11 Thread Joel Konkle-Parker
If anyone out there is currently working on animated icons/cursors in 
cursoricon.c, I'd like to try to help in any way I can. I'm not really 
sure where to start on my own though.

Thanks in advance.

--
Joel Konkle-Parker
Webmaster  [Ballsome.com]
E-mail [EMAIL PROTECTED]