summaryrefslogtreecommitdiff
path: root/alf/alflayout.cpp
AgeCommit message (Collapse)Author
2020-04-29layout: make minimum size actually work as a minimumJonas Kümmerlin
2020-04-28first try at checkboxJonas Kümmerlin
The size calculation is really messy and the background stuff does not work with comctl v5. Probably need to go full owner-drawn, again.
2020-04-23move background color and font handling into layoutJonas Kümmerlin
It's the same for window and all panel-like widgets, so it makes sense to share it. Might need to refactor it out if we ever need a layout without background and fonts
2020-04-23changed DPI handling: dpi is now pushed into every control and saved thereJonas Kümmerlin
2020-04-21embarrassing notebook content flicker fixesJonas Kümmerlin
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-19calc edit sizes in layout, no more subclassingJonas 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-14Make notebook bg gradient work. Anti-flicker work throughout the codebase.Jonas Kümmerlin
2019-01-25add memory allocation functionsJonas Kümmerlin
2019-01-07fixup panel supportJonas Kümmerlin
2019-01-06initial panel implementationJonas Kümmerlin
2019-01-06move some message handling code into layoutJonas 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