My favorites | Sign in
Project Home Downloads Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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;
}

Change log

r4180 by Sc0rch on Nov 17, 2011   Diff
MapRender: First release
(FormEditorCommon, FormEditorProperties,
Map, MapBG, MapCommon, MapEditor,
MapRenderTest.
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 338 bytes, 18 lines
Powered by Google Project Hosting