ultimatepp/bazaar/PointCtrlTest/PointCtrlTest.h
2010-12-28 16:50:38 +00:00

29 lines
643 B
C++

#ifndef _PointCtrlTest_PointCtrlTest_h
#define _PointCtrlTest_PointCtrlTest_h
#include <CtrlLib/CtrlLib.h>
using namespace Upp;
#include <PointCtrl/PointCtrl.h>
#define LAYOUTFILE <PointCtrlTest/PointCtrlTest.lay>
#include <CtrlCore/lay.h>
class PointCtrlTest : public WithPointCtrlTestLayout<TopWindow> {
public:
typedef PointCtrlTest CLASSNAME;
PointCtrlTest();
void ToInfo(const String& s) { info.Insert(info.GetLength(), s + "\n"); info.SetCursor(info.GetLength()); }
void PosCB();
void SlXCB();
void SlYCB();
void OnAddPoint();
void OnRemovePoint(int i);
void OnMovePoint(int i);
};
#endif