TilePICoutix
git-svn-id: svn://db.shs.com.ru/pip@45 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
2
main.cpp
2
main.cpp
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user