diff options
Diffstat (limited to 'src/task.cc')
-rw-r--r-- | src/task.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/task.cc b/src/task.cc index 24e94a1..9940fc6 100644 --- a/src/task.cc +++ b/src/task.cc @@ -35,11 +35,12 @@ int current_id_count() { } task_t create_task(std::string title, std::string desc, - int x, int y) { + /*int x, int y,*/ int parent_id) { task_t t; - t.x = x; - t.y = y; + t.parent_id = parent_id; +// t.x = x; +// t.y = y; t.title = title; t.desc = desc; t.id = id_count; id_count++; |