summaryrefslogtreecommitdiff
path: root/alf/alfbutton.cpp
AgeCommit message (Collapse)Author
2020-04-27button: make themed button always use unicode and do internal text handlingJonas Kümmerlin
2020-04-27add functions for drawing disabled text on buttonsJonas Kümmerlin
now using the right way to do it everywhere but on Win3.1
2020-04-24button class redesignJonas Kümmerlin
now using completely custom control on NT, and a stripped down owner-drawn version on Win9x. The old Win3.1 rendering style has been removed, buttons on NT 3.51 and Win32s will now look like on Win95.
2020-04-23changed DPI handling: dpi is now pushed into every control and saved thereJonas Kümmerlin
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-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-04-28add owner-drawn themed button with animationJonas Kümmerlin
2019-01-25remove edit control margins to match up with buttonJonas Kümmerlin
we'll owner-draw the button to get rid of the margin
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-03widget layout improvementsJonas Kümmerlin
2019-01-02implement cleanup functionsJonas Kümmerlin
2019-01-01change edit and button paddings to look betterJonas Kümmerlin
2018-12-29make it build with ansiJonas Kümmerlin
it now actually works on Win95. WOHOO!
2018-12-28different method for button marginJonas Kümmerlin
this one works with WM_CLIPCHILDREN, which we intend to make default
2018-12-27make label, edit and button text line up perfectlyJonas Kümmerlin
2018-12-27split into multiple filesJonas Kümmerlin