ui/common/context.h

changeset 1195
6ec3c71ba298
parent 1166
01653cc7256b
equal deleted inserted replaced
1194:91696f7fa475 1195:6ec3c71ba298
96 96
97 // allow only one document to be attached 97 // allow only one document to be attached
98 // attaching a document will automatically detach the current document 98 // attaching a document will automatically detach the current document
99 UiBool single_document_mode; 99 UiBool single_document_mode;
100 100
101 ui_callback close_callback; 101 ui_callback onattach;
102 void *close_data; 102 void *onattachdata;
103
104 ui_callback ondetach;
105 void *ondetachdata;
106
107 ui_callback onclose;
108 void *onclosedata;
103 109
104 unsigned int ref; 110 unsigned int ref;
105 }; 111 };
106 112
107 struct UiVar { 113 struct UiVar {

mercurial