How about a set of components that handle specific os events and properties, like windows transparency or other more elusive events.
It would really be nice to skip those nasty ifdefs (they don't look good and i don't think they make the code more readable either), besides i doubt everyone knows every platform, i personally didn't even see a mac in real life, and linux ... (don't have the courage, but i do like open source)
Is something like this doable ?
PS excuse my poor english