summaryrefslogtreecommitdiff
path: root/alf/alfcompat.h
AgeCommit message (Collapse)Author
2020-06-01replace windows version checks with compat bitsJonas Kümmerlin
this saves us from calling GetVersion() and massaging the result in hot code paths
2020-06-01compat: remove unused subclass typedefJonas Kümmerlin
2020-05-29controls: subclass generic "ALFControl" windowJonas Kümmerlin
The idea is that the compiler can strip unused controls when linking statically, but the window class initialization functions blocked that.
2020-05-09remove half-baked compat implementation of SetWindowSubclassJonas Kümmerlin
2020-04-21notebook: add option of using a solid backgroundJonas Kümmerlin
unfortunately, only xp supplies actually matching color hints the color hint of Vista and later is very different from the texture used, so it looks quite ugly there :/
2020-04-18notebook: draw themed background tiled like winxp does itJonas Kümmerlin
2020-04-14replace GetVersion() calls with helper functionsJonas Kümmerlin
2020-04-14Make notebook bg gradient work. Anti-flicker work throughout the codebase.Jonas Kümmerlin
2019-06-29get rid of last usages of InterlockedIncrementJonas Kümmerlin
doesn't work right on Win95/NT 3.51
2019-05-01redo compat function architectureJonas Kümmerlin
way less code at the expense of explicit initialization
2019-04-29remove app, use global variables insteadJonas Kümmerlin
also some unrelated combobox fixes
2019-04-28add owner-drawn themed button with animationJonas Kümmerlin
2019-01-08reingineer compat layerJonas Kümmerlin
not totally sure whether that's actually better
2019-01-05move layout into own file, implement expand flagJonas Kümmerlin
2019-01-03extend compatibility to Win95 RTM, NT3.1 and Win32sJonas Kümmerlin
Only NT3.51 actually works mostly right, all others suffer from various kinds of breakage. Running a 3.1-compatible binary on newer windows enables some kind of compatibility mode with bizarro background brushes and weirdly sized combo boxes. Going forward, I'm committed to keep NT3.51 running as long as Win95RTM is supported. The future of NT3.1 and Win32s support is uncertain.
2019-01-01fix embarrassing bug wrt High-DPI fontsJonas Kümmerlin
2019-01-01first try at combobox implementationJonas Kümmerlin
2018-12-28move ALF_CreateCompatFuncTable() declarationJonas Kümmerlin
2018-12-28create alfcompat.h headerJonas Kümmerlin