summaryrefslogtreecommitdiff
path: root/alf/alfcompat.cpp
AgeCommit message (Collapse)Author
2020-06-12icon view and helper functionsJonas Kümmerlin
initial implementation, needs more testing
2020-06-11double buffering implementation for pre-Vista systemsJonas Kümmerlin
label is now drawn double-buffered to reduce flicker
2020-06-10notebook: uxtheme drawing and more fixesJonas Kümmerlin
still missing mouseover effect and some fine tuning
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-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-05-03make it compile as 64bit under mingwJonas 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-16make it build with -WconversionJonas Kümmerlin
2020-04-14replace GetVersion() calls with helper functionsJonas Kümmerlin
2019-06-30label reimplementJonas 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-28add owner-drawn themed button with animationJonas Kümmerlin
2019-01-25add memory allocation functionsJonas Kümmerlin
2019-01-08reingineer compat layerJonas Kümmerlin
not totally sure whether that's actually better
2019-01-04improve label display on Win32s/NT3.x and make it actually run on NT 3.1Jonas Kümmerlin
NT 3.1 doesn't have GetSysColorBrush(), and the label display isn't broken enough for us to worry about it, since we're gonna replace it anyway at some point
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-01first try at combobox implementationJonas Kümmerlin
2018-12-28add per-monitor dpi supportJonas Kümmerlin
2018-12-27make label, edit and button text line up perfectlyJonas Kümmerlin
2018-12-27split into multiple filesJonas Kümmerlin