Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There are some minor discrepancies. Window titlebars weren't gradient in Win98 - that came in Win2k and WinME. The combobox dropdown has rounded ages (Win11 + Edge) and there's a gap between it and the textbox. The tree view has different widths for "+" and "-" on the nodes, and neither is properly aligned with the dotted lines of the tree.

The biggest giveaway, though, is that you can drag to highlight text pretty much anywhere.



Windows 98 used a gradient for its title bar [1]:

https://microsoft.fandom.com/wiki/Windows_98?file=W98-2.png


I must have misremembered, then; my apologies. Perhaps it was a Win98 vs Win98 SE difference?


Maybe it also required GPU drivers to be installed? I clearly remember the gradient bars.


Win32 GUI wasn't composited until Vista, so it was all GDI 2D primitives rendered directly to the framebuffer. These could be accelerated, but I don't recall any case where some GDI feature would be unavailable if hardware didn't accelerate it - all primitives had software implementations, it just wouldn't be as fast.

However, now that I think about it, such gradient bars must have required at least 16-bit color to work without dithering, so they were probably turned off by default for anything lower. And, at the time, budget video cards had limits on color depth in higher resolutions - e.g. for S3 Trio, if I remember correctly, you got a max of 24-bit color at 800x600, 16-bit at 1024x768, and 8-bit at 1280x1024; you could see the color depth combo box switch as you dragged the resolution slider. So I probably just ran it at 8-bit depth then.


I think they were disabled for 16 color mode, but on 256 colors they were rendered with dithering, which looked kinda cool. I distinctly remember it from playing rollercoaster tycoon; the game ran in 8bpp mode and used the system open/save dialogs.


Given the deep integration of Internet Explorer I wonder if an IE update did it?


Styling drop-down contents in most modern browsers os either very limited or impossible. That's why so many UI frameworks reimplement them from scratch, usually with the help of JavaScript


Well, it has just become available recently. But, since this is a project from 2020, this hadn't been an option then.

[1] https://web.dev/state-of-css-2022/#customizing-select-elemen...


Windows 95 lacked titlebar gradients. Windows 98 introduced them.


Like many UI elements at the time, they were first introduced in Microsoft Office (95 in this case) and then put in the next version of Windows.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: