diff options
Implement scrolling in the appointments panel
With multiple days in the APP panel, up/down movements should change
behaviour at the top and bottom of the list displayed, and load the
previous/next lot of days.
This requires that the move function returns the result of the
operation. Furthermore, the ability to move the selection to the
beginning of a day is needed when moving down (in order to move from the
first day to the last day). For this reason a DAY_SEPARATOR has been
inserted also after the last day of a lot.
Appointments have a listbox height of three to separate them clearly
when there is more than one in a day. This leaves a spurious empty line
at the end of a day with appointments. The DAY_SEPARATOR height is
reduced from two to one, and a new EMPTY_SEPARATOR of height one is
inserted in any day with only events.
When scrolling up the DAY_HEADING becomes visible when the selection
reaches the first item of the day.
The length of the separator (between events and appointments) is
adjusted to leave a space to the window border at both ends, thereby
making it a part of the day, not a separation between days.
The dummy event must also be recognisable when not the selected item and
is only inserted in interactive mode.
The test for a saved selection must also recognise caption items which
have item pointer NULL.
The function day_get_nb() has been renamed day_get_days().
Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/day.c%25252525253fid%25252525253d4284ca91bc0fd04851a34c67dae1068f3c1defc9%252525253fid%252525253d4284ca91bc0fd04851a34c67dae1068f3c1defc9&id2%252525253d1ccfe128cce8d670d12c350326bb13fbc0276d0a%2525253fid%2525253d4284ca91bc0fd04851a34c67dae1068f3c1defc9&id2%2525253d1ccfe128cce8d670d12c350326bb13fbc0276d0a%25253fid%25253d4284ca91bc0fd04851a34c67dae1068f3c1defc9&id2%25253d1ccfe128cce8d670d12c350326bb13fbc0276d0a%253fid%253d4284ca91bc0fd04851a34c67dae1068f3c1defc9%3fid%3d4284ca91bc0fd04851a34c67dae1068f3c1defc9&id2%3d1ccfe128cce8d670d12c350326bb13fbc0276d0a?id=4284ca91bc0fd04851a34c67dae1068f3c1defc9')
0 files changed, 0 insertions, 0 deletions