mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-17 14:16:10 -06:00
37 lines
717 B
C++
37 lines
717 B
C++
#ifndef _TestXMLMenu_TestXMLMenu_h
|
|
#define _TestXMLMenu_TestXMLMenu_h
|
|
|
|
#include <XMLMenu/XMLMenu.h>
|
|
|
|
using namespace Upp;
|
|
|
|
#define IMAGECLASS TestImg
|
|
#define IMAGEFILE <TestXMLMenu/TestXMLMenu.iml>
|
|
#include <Draw/iml_header.h>
|
|
|
|
#define LAYOUTFILE <TestXMLMenu/TestXMLMenu.lay>
|
|
#include <CtrlCore/lay.h>
|
|
|
|
class TestXMLMenu : public WithTestXMLMenuLayout<TopWindow>
|
|
{
|
|
// context menu handler
|
|
virtual void RightDown(Point p, dword);
|
|
|
|
void commandCb(XMLCommands &cmds);
|
|
|
|
void quitCb(void) { Break(0); Close(); }
|
|
|
|
DropList testDrop;
|
|
|
|
public:
|
|
typedef TestXMLMenu CLASSNAME;
|
|
|
|
WithXMLMenu<StaticRect> menuCtrl;
|
|
LineEdit bottomCtrl;
|
|
|
|
TestXMLMenu();
|
|
|
|
};
|
|
|
|
#endif
|
|
|