Thanks!
I'm currently rewriting the whole thing from scratch. The current version (codename: SAW, Simple Arma Windows) looks a bit nicer than the old one:
Edit:I've attached the current version. Hit 0-0-0 to get the windows.
Changes:
- Every window has a border now that can be used for resizing.
- Maximizing works (I still don't know were to place minimized windows).
- I've added several functions to deal with windows (hide, show, make modal, set title, etc).
Known problems:
- The "trash" that shows up a split second before the windows appear is because I forgot to set the default sizes of the controls to zero.
- Being forced to use single precision floating point numbers for UI element positioning that also might have an additional scale factor applied.
This whole "Interface size" scaling stuff is one big pain! It makes it almost impossible to get pixel-accurate results [1]. Every damn X/Y-value, height and width is handpicked and had to be tested, adjusted, tested, adjusted, tested, adjusted, <insert CYCLE waypoint here>. Depending on your settings there are gaps between borders, the scrollbars are too big (or too small), texts are rendered beyond their controls, etc. Just take a look at window #2 and #4 (you have to resize them to read the full title).
This project probably pushes the UI far beyond what it was designed for (or I'm simply too dumb to figure out how to get it right). I hope for the latter to be true.
[1] At least for me, if someone knows how to solve this then pretty please with sugar on top: enlighten me!