1 // Copyright (c) 2006 by Mike Sharov <msharov@users.sourceforge.net>
6 #ifndef EEDIT_H_2D55AEF271DA70232C96241A36B8EA24
7 #define EEDIT_H_2D55AEF271DA70232C96241A36B8EA24
9 #include "ui/editbox.h"
12 /// \class CEntryEditDialog editdlg.h editdlg.h
13 class CEntryEditDialog
: public CWindow
{
15 typedef const CTodoEntry
& rcentry_t
;
17 CEntryEditDialog (void);
18 virtual void OnCreate (void);
19 virtual void OnResize (rcrect_t wr
);
20 virtual void OnDraw (CGC
& gc
);
21 virtual void OnKey (wchar_t key
);
22 void SetEntry (rcentry_t e
);
23 inline rcentry_t
Entry (void) const { return (m_Entry
); }
25 inline CEditBox
& EntryText (void) { return (static_cast<CEditBox
&>(CW(0))); }