ultimatepp/uppdev/editwithkey/editwithkey.h
cxl 8f0b78606c uppdev sync
git-svn-id: svn://ultimatepp.org/upp/trunk@683 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-12-01 08:16:03 +00:00

42 lines
661 B
C++

#ifndef _editwithkey_editwithkey_h
#define _editwithkey_editwithkey_h
#include <CtrlLib/CtrlLib.h>
using namespace Upp;
//#define LAYOUTFILE <editwithkey/editwithkey.lay>
//#include <CtrlCore/lay.h>
class element: public TopWindow
{
public:
typedef element CLASSNAME;
element();
void Increment();
virtual bool Key(dword key, int count);
private:
Button _test;
EditField _edit;
EditField _edit2;
int _count;
};
//class editwithkey : public WitheditwithkeyLayout<TopWindow> {
class editwithkey : public TopWindow
{
public:
typedef editwithkey CLASSNAME;
editwithkey();
private:
element _test;
element _test2;
};
#endif