Fix default ui start
[forms.git] / doc / NOTES
blobb1c524394726bd0be593f18d8040a69aec2972c5
2  2 ÏÓÎÏ×ÎÙÈ ÔÒÅÄÙ :
4         - app thread [ virtual F_App::run() ] :
5                 - ÉÓÐÏÌØÚÕÅÔÓÑ ÄÌÑ ÎÕÖÄ ÓÁÍÏÇÏ ÐÒÉÌÏÖÅÎÉÑ
7         - ui thread  [ virtual F_UI::run()  ] :
8                 - ÐÏÓÌÅ ÏÐÒÅÄÅÌÅÎÉÑ ÔÅËÕÝÅÇÏ ui, ÚÁÎÉÍÁÅÔÓÑ ÅÇÏ
9                         ÏÂÓÌÕÖÉ×ÁÎÉÅÍ for ex. for F_Linux_Console_UI :
11                 void F_Linux_Console_UI::run() :
12                         - check for mouse/input/display events
13                          - F_Linux_Console_UI_Display::handle()
14                           - F_Window::handle()
15                            - F_Widget::handle()
16                         ÅÓÌÉ ËÁËÏÊ-ÎÉÔØ handle() ×ÅÒÎÕÌ true, ÚÎÁÞÉÔ event
17                         ÏÂÒÁÂÏÔÁÎ, ÉÎÁÞÅ F_Linux_Console_UI_Display::handle()
18                         default
20  Some hacking info:
22  - You may set env var for debug messages (sorted by noiseness) :
23          FLOG_LEVEL - debug/chat/info/notice/warn/error/alert/critical/fatal
24  - if you compile libforms with libiberty from binutils, and may send
25         F_TRACE_SIGNAL (by default SIGURG) to app and got nice backtrace,
26         also this printed when bad things occured - SIGSEGV / SIGBUS / SIGILL
27         / SIGFPE .