Winamp has this marvellous feature where you can change the user interface with a "skin" which is a graphic image that overlays Winamp. I am wondering how this feature was implemented. Has anyone an idea?
Printable View
Winamp has this marvellous feature where you can change the user interface with a "skin" which is a graphic image that overlays Winamp. I am wondering how this feature was implemented. Has anyone an idea?
Hi Keith,
just a guess:
i think they've done it using an underlying coordinate grid to handle user input(every skin has the same layout). So the skin is just BitBlt'ed to the predefined coordinates
Just a guess.
It may be COMponent that WinAmp enable it to draw in specific regiona and the playing context (Sound frequency or something else) transfered to it (enabling it to create corresponding picture).
Alexander Tumarov.
[email protected]
ICQ#:39711978
I am not here for rates, but rates will give me an opportunity to figure out whether my postings help or not.
I would think that the program just loads it from file instead of loading it from its resource. I.e....
if d:/winap/skin/skin.dat
load skin.dat
else
use resource
just a guess. That is how I would try to go about doing it.
All information you need should be available here:
http://lyme.virtualave.net/winampui/index.htm
Hi,
I am the author of the Winamp UI project. I have recently completed an article for another web site detailing how to create your own Winamp Style Windows. Email me at [email protected] (remove nospam.) to get the address and source code.
Cheers
James Spibey
Winamp UI Project Coordinator
Test
The mentioned link is "dead"! The correct link to Jame's website is
http://www.lymesoft.co.uk
The article "Nullsoft Winamp Plugin With Bitmapped UI, Docking and Restrictive Resizing" by James appears at codeproject.com. The URL is
http://www.codeproject.com/dialog/winampwnd.asp
Cheers,
Indrajit
Also take a look at this link:
http://msdn.microsoft.com/msdnmag/is...00/c/c1000.asp