The exquisite tool that comes with Enlightenment is a nice, pure edje application that is used for showing boot process splash screens. I thought it was a nice splash screen and more generally, a nice progress bar and wanted to use it in my own apps.
I have modified the exquisite tool to become a library so it can be used by others in their applications, while keeping the exquisite and exquisite-writer tools intact (they will now depend on libexquisite.so though).
Since it’s a very simple feature (only a couple hundred lines of code), the API is simple as well. Here’s an example of use :
Evas_Object *obj = exquisite_object_add (evas, theme); evas_object_show (obj); exquisite_object_title_set (obj, "Title of the screen"); exquisite_object_message_set (obj, "My Message"); int test_id = exquisite_object_text_add (obj, "First test"); int second_test = exquisite_object_text_add (obj, "Second text!"); exquisite_object_status_set (obj, test_id, "FAIL", EXQUISITE_STATUS_TYPE_FAILURE); exquisite_object_status_set (obj, second_test, "OK", EXQUISITE_STATUS_TYPE_SUCCESS); exquisite_object_pulsate (obj); exquisite_object_progress_set (obj, 0.95);
That’s it, and you get a nice screen with title, message, text area for status messages (if you want it), and a progress bar. This also means you can use the default theme from exquisite or write your own using the same theme specification which can later on be used by others.
Please review the API provided, and this is the right time to suggest any changes to the API or to improve on the library, so let us know what you think!
Very Clever keep up the good work 😀
Very nice work indeed
Awesome work man….. Am waiting for your hen .. keep it up.. a big salute
COOL
To bad i dont understand.
Yet.
Thats why we love you guys.
No Homo
hI,
where i could found this library?
Thx
Gio
The library has been committed to E’s SVN repository. You can also find it in my github repository at : http://github.com/kakaroto/e17