Display current entry in another window
[ttodo.git] / elist.h
blobbcabe2c67cd37391a4943fc3e9ff751d1a8fda49
1 // todolist.h
2 //
4 #ifndef TODOLIST_H_7BDB6D9539FC19CC7C7DA4A0140965B0
5 #define TODOLIST_H_7BDB6D9539FC19CC7C7DA4A0140965B0
7 #include "ui/window.h"
8 #include "tde.h"
10 /// List of todo entries.
11 class CTodoList : public CWindow {
12 public:
13 typedef const todolist_t& rctodolist_t;
14 public:
15 CTodoList (rctodolist_t rctdl);
16 virtual void OnDraw (CGC& gc);
17 virtual void OnKey (wchar_t key);
18 inline uoff_t Selection (void) const { return (m_Selection); }
19 private:
20 rctodolist_t m_Todos;
21 uoff_t m_Selection;
24 #endif