summaryrefslogtreecommitdiff
path: root/alf
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-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-22label: refactor paint and size calculation into own functionsJonas Kümmerlin
2020-04-22label: invalidate layout if one of the ALIGN_*_LIKE_EDIT flags is toggledJonas Kümmerlin
2020-04-22label: add way to customize text colorJonas Kümmerlin
2020-04-22label: allow custom background colorJonas Kümmerlin
2020-04-22notebook: save layout flags to control font and bg inheritanceJonas Kümmerlin
this makes setting fonts and background color for tab panels work, instead of appearing to work but then being overridden later
2020-04-21embarrassing notebook content flicker fixesJonas 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-21make ALF_SetBackgroundColor disable color inheritanceJonas Kümmerlin
2020-04-21fix GDI leak in notebookJonas 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-19window: add paint vfuncJonas Kümmerlin
2020-04-19panel vtbl first implementationJonas Kümmerlin
still basically untested
2020-04-19calc edit sizes in layout, no more subclassingJonas Kümmerlin
2020-04-18notebook: draw themed background tiled like winxp does itJonas 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-18extract toplevel window stuff into alfwindow.cppJonas Kümmerlin
2020-04-16remove toplevel WS_EX_COMPOSITED.Jonas Kümmerlin
WS_EX_COMPOSITED is buggy on XP and seemingly unimplemented both pre-XP and Vista+
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-16fix embarrassing bug in ALF_TextJonas 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-14replace GetVersion() calls with helper functionsJonas Kümmerlin
2020-04-14fix disabled label on Win32sJonas Kümmerlin
2020-04-14use Win95 fonts and colors even when running on Win32s/NT3.51Jonas 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-07-07label: invalidate on text setJonas Kümmerlin
2019-06-30remove and restore button default state on window inactiveJonas 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-05-01reorganize how combobox text is being handled.Jonas Kümmerlin
fixes some weird issues with MSLU.
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-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-11ALF_Text(): use GetWindowText instead of sending WM_GETTEXT directlyJonas Kümmerlin
2019-01-11add pretranslate message hookJonas 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-07fixup panel supportJonas Kümmerlin
2019-01-06initial panel implementationJonas Kümmerlin
2019-01-06move some message handling code into layoutJonas Kümmerlin