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 'doc%2525252525252525252525252525253fid%2525252525252525252525252525253d41061103e6b1a590793352aadf71c7cca514b57e%25252525252525252525252525253fid%25252525252525252525252525253d31b02513aa4616879f2146df49a6261b5f983b81%252525252525252525252525253fid%252525252525252525252525253d31b02513aa4616879f2146df49a6261b5f983b81%2525252525252525252525253fid%2525252525252525252525253d62fe506e526d8c2d0ae6d8d89d2cddfb3ef040d1%25252525252525252525253fid%25252525252525252525253d62fe506e526d8c2d0ae6d8d89d2cddfb3ef040d1&id2%25252525252525252525253dd15f1e9242f77d9021af8c4b45eec96eb82a8eb6%252525252525252525253fid%252525252525252525253d62fe506e526d8c2d0ae6d8d89d2cddfb3ef040d1&id2%252525252525252525253dd15f1e9242f77d9021af8c4b45eec96eb82a8eb6%2525252525252525253fid%2525252525252525253d62fe506e526d8c2d0ae6d8d89d2cddfb3ef040d1%25252525252525253fid%25252525252525253dd15f1e9242f77d9021af8c4b45eec96eb82a8eb6%252525252525253fid%252525252525253d4db9677119f412fd38440e5591afbfb631a11b3d%2525252525253fid%2525252525253df9cf5fb0c1528c006697a23813be72f69458d53d%25252525253fid%25252525253d80ce812effec8190bfbb1986dced1b143162a4c8%252525253fid%252525253d0bb4a59b5fb089062f0eb369d39289ff1ccfc2ba%2525253fid%2525253d0bb4a59b5fb089062f0eb369d39289ff1ccfc2ba&id2%2525253d4284ca91bc0fd04851a34c67dae1068f3c1defc9%25253fid%25253d0bb4a59b5fb089062f0eb369d39289ff1ccfc2ba%253fid%253d0bb4a59b5fb089062f0eb369d39289ff1ccfc2ba&id2%253d4284ca91bc0fd04851a34c67dae1068f3c1defc9%3fid%3d0bb4a59b5fb089062f0eb369d39289ff1ccfc2ba?id=4284ca91bc0fd04851a34c67dae1068f3c1defc9')
0 files changed, 0 insertions, 0 deletions