mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 22:02:58 -06:00
33 lines
633 B
C++
33 lines
633 B
C++
#ifndef _ValueCtrlTest_ValueCtrlTest_h
|
|
#define _ValueCtrlTest_ValueCtrlTest_h
|
|
|
|
#include <CtrlLib/CtrlLib.h>
|
|
|
|
using namespace Upp;
|
|
|
|
#include <ValueCtrl/ValueCtrl.h>
|
|
|
|
#define LAYOUTFILE <ValueCtrlTest/ValueCtrlTest.lay>
|
|
#include <CtrlCore/lay.h>
|
|
|
|
|
|
|
|
class ValueCtrlTest : public WithValueCtrlTestLayout<TopWindow> {
|
|
public:
|
|
typedef ValueCtrlTest CLASSNAME;
|
|
ValueCtrlTest();
|
|
|
|
void ToInfo(const String& s)
|
|
{
|
|
info.Insert(info.GetLength(), s);
|
|
info.Insert(info.GetLength(), "\n");
|
|
info.SetCursor(info.GetLength());
|
|
}
|
|
void Clear() { info.Clear(); }
|
|
void ActionCB();
|
|
|
|
ValueCtrl vc;
|
|
};
|
|
|
|
#endif
|
|
|