add todo setup

This commit is contained in:
2025-12-21 00:36:00 +01:00
parent 36f8b6d8b2
commit 22a1b7e369
13 changed files with 277 additions and 31 deletions

View File

@@ -1,8 +0,0 @@
#pragma once
#include "components/popover.hpp"
class Todo : public Popover {
public:
Todo(std::string icon, std::string title);
};

View File

@@ -0,0 +1,19 @@
#pragma once
#include "components/popover.hpp"
#include "services/todo.hpp"
#include <string>
class TodoPopover : public Popover {
public:
TodoPopover(std::string icon, std::string title);
void update();
private:
std::string name;
TodoService* todoService = nullptr;
Gtk::Box container;
Gtk::Box inputArea;
Gtk::Box* todoList = nullptr;
};