summaryrefslogtreecommitdiff
path: root/widgetfactory.cpp
AgeCommit message (Collapse)Author
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-23move checkbox into buttonJonas Kümmerlin
2020-05-23add radio buttonJonas 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-04widget factory: test label alignment (broken atm)Jonas Kümmerlin
2020-05-01groupbox first implementationJonas Kümmerlin
only classic theme for now, will do uxtheme soon
2020-04-30panel: support edge (like delphi)Jonas Kümmerlin
mainly to force me to implement layout margins
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-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-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-20fixup transparent background work and add test in widgetfactoryJonas Kümmerlin
Win32s bites once again with its 16bit WPARAM
2020-04-19TMP window bg testJonas Kümmerlin
2020-04-19widget factory: add more tabs to simulate full notebookJonas 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-16panel: show centered text like DelphiJonas 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-06-30label reimplementJonas Kümmerlin
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-25add memory allocation functionsJonas 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-06initial panel implementationJonas 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
2019-01-04improve label display on Win32s/NT3.x and make it actually run on NT 3.1Jonas Kümmerlin
NT 3.1 doesn't have GetSysColorBrush(), and the label display isn't broken enough for us to worry about it, since we're gonna replace it anyway at some point
2019-01-03extend compatibility to Win95 RTM, NT3.1 and Win32sJonas Kümmerlin
Only NT3.51 actually works mostly right, all others suffer from various kinds of breakage. Running a 3.1-compatible binary on newer windows enables some kind of compatibility mode with bizarro background brushes and weirdly sized combo boxes. Going forward, I'm committed to keep NT3.51 running as long as Win95RTM is supported. The future of NT3.1 and Win32s support is uncertain.
2019-01-03widget layout improvementsJonas Kümmerlin
2019-01-02implement cleanup functionsJonas Kümmerlin
2019-01-02make combobox implementation more completeJonas Kümmerlin
2019-01-01change edit and button paddings to look betterJonas Kümmerlin