Enlightenment CVS committal Author : moom Project : e17 Module : proto
Dir : e17/proto/etk/src/engines/ecore_fb Modified Files: ecore_fb.c Log Message: A lot of changes and API breaks. Most of the existing apps are probably broken... * [Etk_Theme] The whole theme system has been rewritten to make it simpler and more powerful * [Etk_Theme] The widgets now use the same theme naming convention as e17 (i.e. "etk/widget" for the groups, "etk.swallow.name" for the swallow parts, "etk.text.name" for the text parts, ...). It means that all the (few) existing themes are broken :( * [Etk_Main] Replace the main Ecore_Job by an idle-enterer: it improves the perfs A LOT when a large part of the screen has to be redrawn (e.g scrolling the iconbox or the tree is now ultra fast!!) * [Etk_Selection] Rewrite the selection/clipboard system * [Etk_Widgets] Fix problems caused by the premul-color change * [Etk_Entry] The entry has received more work: it is now entirely themable and it now supports copy/paste * [Etk_Box] Fix a bug/segv that happened when more than one child were packed in the end-group * [Etk_Toolbar] Some work on the toolbar * [Etk_Button] Bugs have been fixed, and the code has been fully documented/cleaned up * [Etk_Label] Bugs have been fixed, and the code has been fully documented/cleaned up * [Etk_Dialog] The behaviour of etk_dialog_pack_*() has been changed: packing a widget in the end-group now *appends* it into this group (it was prepended before) * [X11 engine] Fix a bug with the popup window creation (the mouse was not correctly grabbed) * [Etk_Statusbar] The API has been changed: etk_statusbar_push/pop/remove() --> etk_statusbar_message_push/pop/remove() * [Etk_Tooltip] The tooltips are disabled for now since they are a bit buggy * [Etk_Widget] etk_widget_visibility_locked_set/get() --> etk_widget_internal_set/get() * [Etk_Toplevel] Etk_Toplevel_Widget --> Etk_Toplevel * [Etk_Container] Add etk_container_remove_all() * [Etk_Iconbox] Add etk_iconbox_scrolled_view_get() * [Etk_Main] Don't use the "-e" program arg to detect the engine to use * [Documentation] More documentation for a lot of widgets More API breaks to come... enjoy! :) =================================================================== RCS file: /cvs/e/e17/proto/etk/src/engines/ecore_fb/ecore_fb.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -3 -r1.8 -r1.9 --- ecore_fb.c 5 Sep 2006 00:17:01 -0000 1.8 +++ ecore_fb.c 6 Oct 2006 17:04:14 -0000 1.9 @@ -116,18 +116,12 @@ _mouse_position_get, _mouse_screen_geometry_get, + NULL, /* selection_text_set */ + NULL, /* selection_text_request */ + NULL, /* selection_clear */ + NULL, /* drag_constructor */ NULL, /* drag_begin */ - - NULL, /* dnd_init */ - NULL, /* dnd_shutdown */ - - NULL, /* clipboard_text_request */ - NULL, /* clipboard_text_set */ - - NULL, /* selection_text_request */ - NULL, /* selection_text_set */ - NULL, /* _selection_clear */ }; /************************** @@ -183,7 +177,8 @@ ecore_evas_show(_ecore_evas); /* Create the background */ - _background_object = etk_theme_object_load(_evas, etk_theme_widget_theme_get(), "wm_background"); + _background_object = edje_object_add(_evas); + etk_theme_edje_object_set(_background_object, etk_theme_widget_get(), "wm_background", NULL); evas_object_resize(_background_object, _fb_width, _fb_height); evas_object_show(_background_object); @@ -226,7 +221,7 @@ engine_data->border = NULL; window->engine_data = engine_data; - ETK_TOPLEVEL_WIDGET(window)->evas = _evas; + ETK_TOPLEVEL(window)->evas = _evas; etk_signal_connect("realize", ETK_OBJECT(window), ETK_CALLBACK(_window_realized_cb), NULL); } @@ -409,7 +404,8 @@ return; engine_data = window->engine_data; - engine_data->border = etk_theme_object_load_from_parent(_evas, ETK_WIDGET(window), NULL, "wm_border"); + engine_data->border = edje_object_add(_evas); + etk_theme_edje_object_set(engine_data->border, etk_widget_theme_file_get(ETK_WIDGET(window)), "wm_border", NULL); edje_extern_object_min_size_set(ETK_WIDGET(window)->smart_object, engine_data->size.w, engine_data->size.h); edje_object_part_swallow(engine_data->border, "content", ETK_WIDGET(window)->smart_object); edje_object_size_min_calc(engine_data->border, &border_w, &border_h); ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs