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

@@ -0,0 +1,18 @@
#pragma once
#include "gtkmm/box.h"
#include <sys/stat.h>
class TodoEntry : public Gtk::Box {
public:
TodoEntry(int id, std::string text, sigc::signal<void(int)> signal_dismissed);
~TodoEntry() override;
int get_id() const { return id; }
private:
int id;
sigc::signal<void(int)> signal_dismissed;
void on_dismiss_clicked();
};