Checklist highlights

This commit is contained in:
2023-01-04 17:34:33 +01:00
parent a7a7c1c845
commit 99354918f7
2 changed files with 53 additions and 1 deletions

View File

@@ -50,11 +50,20 @@ public:
std::unordered_map<std::string, std::vector<time_t>> tasks = {};
};
enum class HoverTargetType
{
HOVER_TARGET_NONE = 0,
HOVER_TARGET_CHECKLIST_DAY = 1,
};
class ApplicationData {
public:
ApplicationSettings settings = {};
size_t checklistLength = 0;
int checklistHighlightDurationDays = 3;
std::shared_ptr<AudioData> audioData = std::make_shared<AudioData>();
HoverTargetType hoverTargetType = HoverTargetType::HOVER_TARGET_NONE;
time_t hoverTargetDay = 0;
//ApplicationData(const ApplicationData&) = delete;
//ApplicationData& operator=(const ApplicationData&) = delete;