3 * Copyright (C) 2007, Harbour, All rights reserved.
8 // Well the only good UI for X11 I can see now is FLTK-2.0, so sorry others ;)
10 //#include <fltk/FL_API.h>
11 //#include <fltk/Threads.h>
12 //#include <fltk/run.h>
18 bool F_FLTK_UI::probe()
20 if (::getenv("DISPLAY"))
25 void F_FLTK_UI::initial()
27 Fl::lock(); // we need this before creating any user threads
28 init(); // user init/create widgets
35 // log("fltk_ui", "Default fltk main_loop has started.");
37 // do main fltk work, so our apps _has_ to be thread aware
39 //void* m = fltk::thread_message();
40 //printf("Received message: %p\n", m);