ui/ui/toolkit.h

changeset 1042
f3e2811ecf3a
parent 1041
db47e814b4c5
equal deleted inserted replaced
1041:db47e814b4c5 1042:f3e2811ecf3a
554 UIEXPORT void ui_show(UiObject *obj); 554 UIEXPORT void ui_show(UiObject *obj);
555 UIEXPORT void ui_close(UiObject *obj); 555 UIEXPORT void ui_close(UiObject *obj);
556 556
557 UIEXPORT void ui_job(UiObject *obj, ui_threadfunc tf, void *td, ui_callback f, void *fd); 557 UIEXPORT void ui_job(UiObject *obj, ui_threadfunc tf, void *td, ui_callback f, void *fd);
558 UIEXPORT void ui_call_mainthread(ui_threadfunc tf, void* td); 558 UIEXPORT void ui_call_mainthread(ui_threadfunc tf, void* td);
559
560 UIEXPORT void ui_buffer_mainthread_calls(UiBool enable_buffering);
561 UIEXPORT void ui_exec_buffered_mainthread_calls(void);
562
559 UIEXPORT UiThreadpool* ui_threadpool_create(int nthreads); 563 UIEXPORT UiThreadpool* ui_threadpool_create(int nthreads);
560 UIEXPORT void ui_threadpool_destroy(UiThreadpool* pool); 564 UIEXPORT void ui_threadpool_destroy(UiThreadpool* pool);
561 UIEXPORT void ui_threadpool_job(UiThreadpool* pool, UiObject* obj, ui_threadfunc tf, void* td, ui_callback f, void* fd); 565 UIEXPORT void ui_threadpool_job(UiThreadpool* pool, UiObject* obj, ui_threadfunc tf, void* td, ui_callback f, void* fd);
562 566
563 UIEXPORT void* ui_document_new(size_t size); 567 UIEXPORT void* ui_document_new(size_t size);

mercurial