git-svn-id: svn://db.shs.com.ru/pip@696 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2019-02-06 15:02:13 +00:00
parent 8eb755a8d4
commit 39e8e1b52a
2 changed files with 3 additions and 3 deletions

View File

@@ -4,8 +4,8 @@ class A: public PIObject {
PIOBJECT(A)
public:
A() {}
EVENT_HANDLER1(void, handlerA1, PIString, s) {piCout << "handlerA1 s" << s;}
EVENT_HANDLER1(void, handlerA1, float, f) {piCout << "handlerA1 f" << f;}
EVENT_HANDLER1(void, handlerA2, PIString, s) {piCout << "handlerA2 s" << s;}
//uchar _[0x10];
};
@@ -23,7 +23,7 @@ int main() {
A a;
B b;
CONNECTU(&b, eventB1, &a, handlerA1)
CONNECTU(&b, eventB2, &a, handlerA1)
CONNECTU(&b, eventB2, &a, handlerA2)
a.dump();
b.dump();
b.eventB1(0.33);

View File

@@ -127,7 +127,7 @@ private:
PRIVATE_DECLARATION
int width, height, pwidth, pheight;
int mouse_x, mouse_y;
PIVector<PIVector<PIScreenTypes::Cell> > cells, pcells, dcells;
PIVector<PIVector<PIScreenTypes::Cell> > cells, pcells;
};
void begin();