TilePICoutix

git-svn-id: svn://db.shs.com.ru/pip@45 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
2015-03-30 11:23:13 +00:00
parent 595543bea9
commit 0cb2b20d2e
11 changed files with 75 additions and 19 deletions

View File

@@ -19,7 +19,7 @@ class Catcher: public PIObject {
PIOBJECT(Catcher)
public:
EVENT_HANDLER2(void, event, PIScreenTile *, t, PIScreenTypes::TileEvent, e) {
piCout << "event from" << t->name << "type" << e.type << e.data;
piCout << "event from" << t->name() << "type" << e.type << e.data;
if (e.data == 2)
delete t->parentTile();
}