I made a screenshot to show things
I'm encountered some minor graphical glitches, while scrolling or when I try to look through menus. I prefer to put a link to these two here too because they're may be related.


Post by ralphtricky »
Ahah [:D]ORIGINAL: ralphtricky
For the floating boxes, I'd suggest not doing that[:D] I felt it was better to allow overlap than to avoid overlap and make it more difficult to move things around. I've logged the scrolling issue. I may try something, but the 'best' graphical solution would make scrolling slower, and I'd rather not do that.
Believe it or not a 2D game has to be optimized, in different ways a 3D game since the CPU is doing most of the work, I did a lot of work to avoid redrawing, all the dialogs have a 'dirty flag' and when changed are drawn to a 'backbuffer' then the map is copied to another backbuffer and the dialog buffers are copied over top then the result is drawn to the screen. With 3D calls, I'd push everything to the videocard and let it sort everything out[8D]

There is always good and bad sides for everythingORIGINAL: Shadrach
I've been playing a lot of Command Ops 2 over the years and it handles overlapping panels really well:
https://imgur.com/a/caKCi
There's a slight shadow to make the panel stand out, but I think it's a part of the graphics so it's probably not drawn on every repaint. I think it uses standard Windows controls, and you can even move the panels outside the current monitor, overlap them, and it remembers the position. Scrolling the map around them is smooth.
You can't resize them though, and one things the CmdOps engine sorely lacks is scaling for modern displays, all the panels are hard-coded in size to fit with the text boxes. Hence the slightly blurry look of my screenshot, since it uses System DPI scaling to even be able to read the text on 1440p displays.

