63 } |
63 } |
64 |
64 |
65 void ui_notify_except(UiObserver *observer, UiObserver *exc, void *data) { |
65 void ui_notify_except(UiObserver *observer, UiObserver *exc, void *data) { |
66 while(observer) { |
66 while(observer) { |
67 if(observer != exc) { |
67 if(observer != exc) { |
68 observer->callback(data, observer->data); |
68 UiEvent evt; |
|
69 evt.obj = NULL; |
|
70 evt.window = NULL; |
|
71 evt.document = NULL; |
|
72 evt.eventdata = data; |
|
73 evt.intval = 0; |
|
74 observer->callback(&evt, observer->data); |
69 } |
75 } |
70 observer = observer->next; |
76 observer = observer->next; |
71 } |
77 } |
72 } |
78 } |
73 |
79 |