Lazarus IDE and your program in dark mode on Microsoft Windows

Following up on my previous post about making the Pascal IDE Lazarus look more modern by docking its floating windows into one (and arguably more comfortable to some) single program window, this time I’d like to write about a dark-mode package which makes not only the IDE itself run in dark-mode on MS Windows, but even allows you to support dark-mode in your own applications.

Concerning SDL2 as a GTK2 form control in Pascal/Lazarus

I hop between Windows 10 and Linux Mint constantly. The basic Lazarus components work fine without much changes need, if any at all. However, I wanted to use SDL2 as a form component because CPU rendering was too slow for my needs. I had for the first time to actually use compile time conditionals for these GTK2 specific problems to get SDL2 running without any issues on Linux Mint.

Lazarus IDE with "less windows"

If you dislike using the Free Pascal and Delphi compatible IDE Lazarus simply because of its unique detached window layout, you can enable a package that already came with your install of Lazarus to change that.