[hatari-devel] FYI: new --desktop option
Nicolas Pomarède
npomarede at corp.free.fr
Thu Mar 24 23:07:32 CET 2011
Le 23/03/2011 23:07, Eero Tamminen a écrit :
> Anyway, if you want another layout, I'd like first an ASCII template for all
> the dialogs that need to be changed. The SDL dialogs are *really* painful
> to modify with a one where you can calculate the offsets etc.
>
> Attached is the ASCII layout I did for current dialog + diff.
>
In fact, I wonder if we could have 2 sections : STF/STE and Falcon/TT
In Falcon/TT, let's have "keep resolution" and "max zoomed win"
In STF/STE, I think it would be better to have
- displayed pixels in left/right/top/bottom border
- double X or double Y for low res
- double Y for med res
(this is similar to what Steem does and I find it easier to understand
that current "max zoomed win" that includes both the zoom factor and the
border size.
eg:
-----------------------------------------------
STF/STE
[] Double X on low res [] Double Y on low res
[] Double Y on med res
displayed pixels in borders
xx left xx right
xx top xx bottom
-----------------------------------------------
Falcon/TT
[] Keep desktop resolution
Max zoomed win <- xxx ->
x <- xxx ->
-----------------------------------------------
In STF/STE, I want to add support soon for non-multiple of 16 pixels in
borders ; this would allow to better mimic the behaviour seen in
overscan line during the hi/lo res switches (this will require some
changes in convert/*c functions)
In order to get the same results as a real ST (if the user wants to), I
think we should have separate settings for left/right border and
top/bottom border (on a real ST, the displayed area is not necessarily
centered, so these values could be different).
Code is not ready on my side yet, but I will add such support soon in
video.c / screen.c to really fine tune the first/last 16 pixels of each
overscan line, so If you're ready to refactor the panel, maybe it could
be good to include those concepts now.
Nicolas
More information about the hatari-devel
mailing list