Re:Ask HN: What's your "it's not stupid if it works" story?
by TonyTrapp on Saturday December 23, 2023 @05:11AM
(#38743058)
Maybe some incompetent people did it that way, but 1-bit transparency was very well possible with native Windows APIs in the 90s (see SetWindowRgn). Later on (starting with Windows 2000 IIRC) it was also possible to have semi-transparent (alpha-blended) regions.
[ Parent
| on HN ]
Re:Ask HN: What's your "it's not stupid if it works" story?
by timbaboon on Saturday December 23, 2023 @06:07AM
(#38743304)
It's not stupid if it works...
Re:Ask HN: What's your "it's not stupid if it works" story?
by stormking on Saturday December 23, 2023 @05:33AM
(#38743148)
Please educate yourself before you accuse people of incompetency. Of course it was about (pseudo) alpha blending because "smooth shadows" around everything became very popular in the late 90s.
Re:Ask HN: What's your "it's not stupid if it works" story?
by constantly on Saturday December 23, 2023 @06:03AM
(#38743284)
In a thread about “if it’s not stupid if it works” you accuse people of doing something “incompetent” by doing something ostensibly “stupid but works” but totally miss on what was even possible “non-stupidly.” There feels like some form of irony here.
Re:Ask HN: What's your "it's not stupid if it works" story?
by TonyTrapp on Saturday December 23, 2023 @06:29AM
(#38743436)
Yes, obviously there a grain of irony in the reply. ;)
Re:Ask HN: What's your "it's not stupid if it works" story?
by 8n4vidtmkvmk on Saturday December 23, 2023 @10:53PM
(#38750950)
I'm not convinced it works though. A screenshot would break any animations playing underneath
Re:Ask HN: What's your "it's not stupid if it works" story?
by firebot on Saturday December 23, 2023 @05:49AM
(#38743224)
Not exactly. With 2000/XP you can set the entire window opacity. Still no gdi+ native. So regions were still just shapes(1bit mask). Trying to set a pre-multiplied bitmap to a window will just give you a brightened version(the multiplied version).
Though there was some support for cursor shadow at this point, and the improved GDI heap really helped, making faking a window drop shadow actually pretty feasible. Vista and Aero is the first native support for Windows with alpha channels.
I actually liked Vista. It worked just fine and wasn't unnecessarily reorganized. Plus the improvements to the OS threading model were excellent, which is why 7 is so incredibly rock solid, probably peak Windows.