mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-17 06:06:00 -06:00
42 lines
661 B
C++
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
|
|
|