add todo setup
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include "components/popover.hpp"
|
||||
|
||||
class Todo : public Popover {
|
||||
public:
|
||||
Todo(std::string icon, std::string title);
|
||||
};
|
||||
19
include/widgets/todoPopover.hpp
Normal file
19
include/widgets/todoPopover.hpp
Normal 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;
|
||||
};
|
||||
Reference in New Issue
Block a user