This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Icons


Hi,

Just did a hack along the lines of:-

Make Icons from X hints at 32 pixel iconSize (using Earle's algorithms as
they stand) and convert the icon to
whatever size was requested from winXIconToHICON along the lines of:
http://www.codeguru.com/Cpp/G-M/bitmap/icons/article.php/c4943/


Worked for me 16x16 (no stripped mask problems).

I've got to find some 24x24 etc examples somehow?

I'm on XP, 48,32,24 and 16 pixel icons only possible. Should we just work
with these values?
48x48, 32x32 and 16x16 are recommended by MS (no 24x24?).

This one may be useful for alpha blending code in future:-

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q318876

I'm lazy, surfing for code is sometimes easier than writing it :)

Colin Harrison



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]