[Bug 25778] 'kIconServices16PixelDataARGB' undeclared (first use in this function)

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jan 20 19:18:32 CST 2011


http://bugs.winehq.org/show_bug.cgi?id=25778

Charles Davis <cdavis at mines.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cdavis at mines.edu

--- Comment #4 from Charles Davis <cdavis at mines.edu> 2011-01-20 19:18:32 CST ---
(In reply to comment #3)
> don't know what kind of tweaks might be required to get it to
> work on older Mac OS X.
I can think of at least two.

- Use ImageIO, a subframework of ApplicationServices that supports reading and
writing a variety of image formats, including icns. ImageIO is available on Mac
OS X 10.4; Tiger was in fact the first version to have ImageIO. (As a matter of
fact, I wouldn't mind if WindowsCodecs used ImageIO for everything on Mac OS!
Then we wouldn't need libjpeg, libpng, etc...)
- Declare the constants ourselves. The constants follow a pattern. 16x16 is
'ic04', 32x32 is 'ic05', and so on, all the way up to 512x512, which is 'ic09'.
If you don't believe me, look up the constants in 10.5/10.6's OSServices and
see for yourself. Of course, I have to wonder if Tiger even supports loading
16x16 images from an icns file. In that case, there are other constants (the
'Mini', 'Small', 'Large', and 'Huge' icon types) we can use.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list