mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: add collapsed state to the dive data structure
This is only used in Subsurface-mobile. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9d9047d040
commit
ff47dd9b30
1 changed files with 3 additions and 0 deletions
|
@ -144,6 +144,9 @@ struct dive {
|
|||
struct dive_trip *divetrip;
|
||||
bool selected;
|
||||
bool hidden_by_filter;
|
||||
#if defined(SUBSURFACE_MOBILE)
|
||||
uint8_t collapsed; /* four values: 0 = don't show, 1 = show as dive, 2 = show corresponding trip, 3 = show dive and trip */
|
||||
#endif
|
||||
timestamp_t when;
|
||||
struct dive_site *dive_site;
|
||||
char *notes;
|
||||
|
|
Loading…
Add table
Reference in a new issue