summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-30fixup and test modal dialogJonas Kümmerlin
2020-05-30toplevel: rename and reorganize functionsJonas Kümmerlin
2020-05-30remove ALF_BuildUniqueName in favor of wsprintfJonas Kümmerlin
2020-05-30fix overflow possibility in ALF_AllocJonas Kümmerlin
2020-05-30remove "unimplemented" comment from ALF_LAYOUT_SIZE_ flags that are implementedJonas Kümmerlin
2020-05-30notebook: always move focus on clickJonas Kümmerlin
fixes another default button bug
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-25widget factory: set window titleJonas Kümmerlin
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-09widget factory: remove unused brushesJonas 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-04widget factory: test label alignment (broken atm)Jonas 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-28add menus to widget factoryJonas 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-28Remove 31 makefilesJonas Kümmerlin
With /opt:nowin98, the regular ANSI version will run on Win32s. NT 3.51 has no problems with the 4.0 version either. Older NT versions have been unsupported for some time already.
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