summaryrefslogtreecommitdiff
path: root/alf
AgeCommit message (Collapse)Author
2020-05-29groupbox: WM_NCHITTEST -> HTTRANSPARENTJonas Kümmerlin
more focus bug fixes
2020-05-29label: WM_NCHITTEST -> HTTRANSPARENTJonas Kümmerlin
fixes focus bugs
2020-05-29label: switch to ALF_Compat_DrawDisabledTextJonas Kümmerlin
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-28minor rotations on window initialization, ALF_EnsureWindowBigEnoughJonas Kümmerlin
2020-05-26focus and default button handling: fixes and some documenting commentsJonas Kümmerlin
2020-05-26layout: support for spanning cellsJonas Kümmerlin
mostly untested for now
2020-05-25add explicit functions for adding native buttonsJonas Kümmerlin
2020-05-25toplevel window: make it a dialogJonas Kümmerlin
when you're reimplementing parts of the dialog manager, might as well just use the real thing
2020-05-23rework default button and focus handlingJonas Kümmerlin
2020-05-23combo: add hack pre-95 to color space between edit and buttonJonas Kümmerlin
2020-05-23checkbox: allow (un)checking via +-= keysJonas Kümmerlin
2020-05-23move radio button into button classJonas Kümmerlin
2020-05-23move checkbox into buttonJonas Kümmerlin
2020-05-23add radio buttonJonas Kümmerlin
2020-05-09notebook: fix focus when changing tabsJonas Kümmerlin
2020-05-09remove half-baked compat implementation of SetWindowSubclassJonas Kümmerlin
2020-05-09widget factory: table-based pane registry, allow adding tabs via menuJonas Kümmerlin
2020-05-06notebook: add tricks for faster renderingJonas Kümmerlin
Win10 in particular sucks at stretching a completely white bitmap
2020-05-04label: make alignment workJonas Kümmerlin
2020-05-04fix GDI region leak in groupboxJonas Kümmerlin
2020-05-03make it compile as 64bit under mingwJonas Kümmerlin
2020-05-03classic button: use thunk instead of GWLP_USERDATAJonas Kümmerlin
GWLP_USERDATA belongs to the control user
2020-05-01groupbox: uxtheme supportJonas Kümmerlin
disabled state looks different to original (where it looks the same as the enabled state), but I like it better that way.
2020-05-01groupbox first implementationJonas Kümmerlin
only classic theme for now, will do uxtheme soon
2020-05-01button: don't clip textJonas Kümmerlin
Especially on WinXP, subpixel colors from ClearType may bleed beyond the bounding rectangle, and it looks better when they're visible. I highly suspect that the underlying issue is actually a bug in XP, since ClearType stays within bounds on Win7 and newer.
2020-04-30panel: support edge (like delphi)Jonas Kümmerlin
mainly to force me to implement layout margins
2020-04-29layout: make minimum size actually work as a minimumJonas Kümmerlin
2020-04-29button: use default min size and fixup order vertical centeringJonas Kümmerlin
2020-04-29widget factory: move to tabbed interfaceJonas 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-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