diff options
author | rodri <rgl@antares-labs.eu> | 2024-11-16 11:22:16 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2024-11-16 11:22:16 +0000 |
commit | ccd149a329f9a33195c2c6216158e283f8993076 (patch) | |
tree | 75d86a89402c424c23593ae31413c3db79dfab57 /btsd.c | |
parent | b555a1ad730994a42cfecf88bba15ece20d1e6f9 (diff) | |
download | battleship-ccd149a329f9a33195c2c6216158e283f8993076.tar.gz battleship-ccd149a329f9a33195c2c6216158e283f8993076.tar.bz2 battleship-ccd149a329f9a33195c2c6216158e283f8993076.zip |
fix the menulist (make it play nice with periodic refreshing).
before the addition of the timer for periodic matches updates
the menulist was supposed to be refreshed manually by the user,
and we didn't take into account the fact that every time you
clear it and refill it loses its navigational parameters, i.e.
which entry was selected and what's the offset if there are
more entries than the visible window (Maxvisitems).
so now we store those and reconfigure the menulist, adapting
to its new state, so that the user experiences as little
disruption as possible.
Diffstat (limited to 'btsd.c')
0 files changed, 0 insertions, 0 deletions