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
19
20
21
22
23
24
25
26
27
28
29
30
#include "IMapRender.h"

void IMapRender::StateOff(dword state)
{
IMapItem::StateOff(state);
for (int i = 0; i < _items.GetCount(); ++i)
if (_items[i])
_items[i]->StateOff(state);
}

void IMapRender::StateOn (dword state)
{
IMapItem::StateOn(state);
for (int i = 0; i < _items.GetCount(); ++i)
if (_items[i])
_items[i]->StateOn(state);
}

bool IMapRender::IsState (dword state)
{
return IMapItem::IsState(state);
}

void IMapRender::PerformState(dword state, const String& param)
{
IMapItem::PerformState(state, param);
for (int i = 0; i < _items.GetCount(); ++i)
if (_items[i])
_items[i]->PerformState(state, param);
}

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: 672 bytes, 30 lines
Powered by Google Project Hosting