summaryrefslogtreecommitdiff
path: root/widgetfactory.cpp
AgeCommit message (Collapse)Author
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-21make ALF_SetBackgroundColor disable color inheritanceJonas Kümmerlin
2020-04-20fixup transparent background work and add test in widgetfactoryJonas Kümmerlin
Win32s bites once again with its 16bit WPARAM
2020-04-19TMP window bg testJonas Kümmerlin
2020-04-19widget factory: add more tabs to simulate full notebookJonas Kümmerlin
2020-04-18implement background colorJonas Kümmerlin
reduce flickering by keeping pixels if we know the background didn't change panel text is now gone, it would require us to redraw every transparent widget on top, which is a bad tradeoff since that panel text isn't very useful anyway.
2020-04-16make it build with -WconversionJonas Kümmerlin
2020-04-16rework grid layoutJonas Kümmerlin
Fractional expand is now supported like Qt, and also per row/column instead of as a widget attribute. Instead of margins, you're now supposed to use empty rows/columns instead. Spacer is also gone, use empty rows/columns with minimum size. Layout engine is prepared to directly calculate edit, button, etc. sizes without subclassing these controls
2020-04-16layout: invalidate and recalculate, automaticallyJonas Kümmerlin
2020-04-16font handling change: allow controls to inherit fontsJonas Kümmerlin
also do it automatically when adding widget to layout, no more calling applyfonts manually
2020-04-16panel: show centered text like DelphiJonas Kümmerlin
2020-04-14Make notebook bg gradient work. Anti-flicker work throughout the codebase.Jonas Kümmerlin
2019-07-07first notebook implementationJonas Kümmerlin
2019-06-30label reimplementJonas Kümmerlin
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-25add memory allocation functionsJonas Kümmerlin
2019-01-09add spacer widgetJonas Kümmerlin
2019-01-08reingineer compat layerJonas Kümmerlin
not totally sure whether that's actually better
2019-01-06initial panel implementationJonas Kümmerlin
2019-01-05changed my mind about how fonts should be applied to new widgetsJonas Kümmerlin
2019-01-05move layout into own file, implement expand flagJonas Kümmerlin
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-03widget layout improvementsJonas Kümmerlin
2019-01-02implement cleanup functionsJonas Kümmerlin
2019-01-02make combobox implementation more completeJonas Kümmerlin
2019-01-01change edit and button paddings to look betterJonas Kümmerlin
2019-01-01first try at combobox implementationJonas Kümmerlin
2018-12-29make it build with ansiJonas Kümmerlin
it now actually works on Win95. WOHOO!
2018-12-28create class name automaticallyJonas Kümmerlin
2018-12-28remove instance params structJonas Kümmerlin
2018-12-28add per-monitor dpi supportJonas Kümmerlin
2018-12-27add win2k and VC6 (with PSDK2003) supportJonas Kümmerlin