mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 06:05:58 -06:00
18 lines
338 B
C++
18 lines
338 B
C++
#include "ButtonItem.h"
|
|
#include "IMapRender.h"
|
|
|
|
void ButtonItem::StatePerformed(dword state, const String& param)
|
|
{
|
|
}
|
|
|
|
bool ButtonItem::ProcessLeftDown(Point p, dword keyflags)
|
|
{
|
|
if (Contains(p))
|
|
{
|
|
if (GetParent() && GetParent()->IsState(STATE_SELECTED))
|
|
PromptOK("Getted!");
|
|
return true;
|
|
}
|
|
|
|
return false;
|
|
}
|