Re: [E-devel] etk?
Hi guys, About the current situation of Etk, I don't think I will work on it anytime soon for several reasons. First of all, for the last months, I haven't really had so much free time to dedicate to Etk, I have been kept quite busy by a lot of things such as school, personnal projects, friends... I also have somehow lost faith in this whole project (not only Etk, but the whole E project), I won't tell more about it, but I don't think the current situation suits me. And another important reason is that I don't think that Etk is innovative enough to be a real step forward... let's face it, it's just another toolkit such as Gtk or Qt, that uses the EFL ok, but there is nothing really innovative about it. I've recently started to work on another project that I find more innovative and interesting. It'll be something like Adobe Flash, but with a real toolkit inside it. It'll be used to create real customized GUI for application, but also to create some gadgets or some games. In fact, something like Edje, but with widgets and with a more powerful scripting language that will allow to have a real control on the animation. I really have nothing to show yet and almost no code written, just a lot of ideas in my head. I'll probably use a lot of code from Etk for the widget side of the project. Anyway.. if anybody who already contributed to Etk wants to become the new maintainer, I'd be glad to hear that the project is not totally dead. I just don't think I'll work on it anymore... Simon Selon Jose Gonzalez [EMAIL PROTECTED]: The recent discussions here about toolkit theming and such has brought up, to me at least, the question of the future of the etk gui-toolkit. From what I can see, there has been little or no work done on this lib in a looong time -- it appears abandoned or maybe just plain un-maintained right now. Simon, etk's maintainer, hasn't been seen in a long time.. and yet there are apps out there that depend on it, eg. edje-editor which I've noticed has a bug report stating that it's impossible to enter text correctly. Moom is working on this in etk...thanks. So, does anyone know what's up with etk.. is it dead, or sleeping, or planning big-things, or what? - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Nightly build log for E17 on 2008-04-04 07:09:17 -0700
Build log for Enlightenment DR 0.17 on 2008-04-04 07:09:17 -0700 Build logs are available at http://download.enlightenment.org/tests/logs Packages that failed to build: ecore_li http://download.enlightenment.org/tests/logs/ecore_li.log empower http://download.enlightenment.org/tests/logs/empower.log engage http://download.enlightenment.org/tests/logs/engage.log enna http://download.enlightenment.org/tests/logs/enna.log epdf http://download.enlightenment.org/tests/logs/epdf.log Packages with no supported build system: entice, esmart_rsvg, exorcist, python-efl, Packages skipped: camE, enotes, enscribe, epbb, eplay, erss, etk_server, etox, e_utils, Evas_Perl, evoak, gfx_routines, lvs-gui, med, nexus, notgame, ruby-efl, webcam, Packages that build OK: alarm, bling, calendar, cpu, deskshow, echo, eclair, ecore, edata, edb, e_dbus, edje_editor, edje, edje_viewer, edvi, eet, eflame, eflpp, efm_nav, efm_path, efreet, elapse, elation, elicit, elitaire, e, embrace, embryo, emotion, emphasis, emprint, emu, enesim, engrave, engycad, enhance, enity, enterminus, enthrall, entrance_edit_gui, entrance, entropy, envision, epeg, ephoto, e_phys, epsilon, epx, equate, esmart, estickies, etk_extra, etk, etk-perl, evas, evfs, evolve, ewl, examine, execwatch, exhibit, exml, expedite, express, exquisite, extrackt, feh, flame, forecasts, gevas2, iconbar, imlib2_loaders, imlib2, Imlib2_Perl, imlib2_tools, language, mail, mem, mixer, moon, mpdule, net, news, notification, penguins, pesh, photo, rage, rain, screenshot, scrot, slideshow, snow, taskbar, tclock, uptime, weather, winselector, wlan, Debian GNU/Linux 4.0 \n \l Linux enlightenment2 2.6.18-4-686 #1 SMP Wed May 9 23:03:12 UTC 2007 i686 GNU/Linux See http://download.enlightenment.org/tests/ for details. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch] Dragable etk_scrolled_view
Hi All, Thanks for the feedback of CodeWarrior. I add extra two function that make the bouncy also an option. Default is True, but if you turn it to False, it will not bounce when hit the boundary. Adding two functions: +voidetk_scrolled_view_drag_bouncy_set(Etk_Scrolled_View *scrolled_view, Etk_Bool bouncy); +Etk_Booletk_scrolled_view_drag_bouncy_get(Etk_Scrolled_View *scrolled_view); Cheers, Tick Tick 提到: Hi All, The attached patch lets etk_scrolled_view been dragable with pressing on the panel directly and drag. If you drag fast, after releasing the panel will still scrolling until it stop slowly. Adding the following functions. voidetk_scrolled_view_dragable_set(Etk_Scrolled_View *scrolled_view, Etk_Bool dragable); Etk_Bool etk_scrolled_view_dragable_get(Etk_Scrolled_View *scrolled_view); additional functions for detail control. (Most user don't need them) double etk_scrolled_view_drag_sample_interval_magic_set(Etk_Scrolled_View *scrolled_view,double interval); double etk_scrolled_view_drag_sample_interval_magic_get(Etk_Scrolled_View *scrolled_view); unsigned int etk_scrolled_view_drag_damping_magic_set(Etk_Scrolled_View *scrolled_view,unsigned int damping); unsigned int etk_scrolled_view_drag_damping_magic_get(Etk_Scrolled_View *scrolled_view); You can test this with etk_test after patching and adding two line in etk_test cvs diff: Diffing . Index: etk_scrolled_view_test.c === RCS file: /var/cvs/e/e17/libs/etk/src/bin/etk_scrolled_view_test.c,v retrieving revision 1.8 diff -r1.8 etk_scrolled_view_test.c 29a30,31 etk_scrolled_view_policy_set(ETK_SCROLLED_VIEW(scrolled_view),ETK_POLICY_HIDE,ETK_POLICY_HIDE); etk_scrolled_view_dragable_set(ETK_SCROLLED_VIEW(scrolled_view),ETK_TRUE); Cheers, Tick Index: etk/src/lib/etk_scrolled_view.c === --- etk.orig/src/lib/etk_scrolled_view.c 2008-04-02 11:53:32.0 +0800 +++ etk/src/lib/etk_scrolled_view.c 2008-04-05 00:41:47.0 +0800 @@ -37,7 +37,15 @@ static Etk_Bool _etk_scrolled_view_child_added_cb(Etk_Object *object, void *child, void *data); static Etk_Bool _etk_scrolled_view_child_removed_cb(Etk_Object *object, void *child, void *data); static Etk_Bool _etk_scrolled_view_child_scroll_size_changed_cb(Etk_Object *object, void *data); +static int _etk_scrolled_view_motive_bounce(void *data); + +static Etk_Bool _etk_scrolled_view_mouse_down(Etk_Object *object, Etk_Event_Mouse_Down *event, void *data); +static Etk_Bool _etk_scrolled_view_mouse_up(Etk_Object *object, Etk_Event_Mouse_Up *event, void *data); +static Etk_Bool _etk_scrolled_view_mouse_click(Etk_Object *object, Etk_Event_Mouse_Up *event, void *data); +static Etk_Bool _etk_scrolled_view_mouse_move(Etk_Object *object, Etk_Event_Mouse_Move *event, void *data); + +static Etk_Bool _etk_scrolled_view_bar_mouse_down(Etk_Object *object, Etk_Event_Mouse_Down *event, void *data); /** * * Implementation @@ -173,6 +181,106 @@ *vpolicy = scrolled_view ? scrolled_view-vpolicy : ETK_POLICY_AUTO; } +/** + * @brief Set the scrolled view dragable or not + * @param scrolled_view a scrolled view + * @param dragable The scrolled view is dragable or not? + */ +void etk_scrolled_view_dragable_set(Etk_Scrolled_View *scrolled_view, Etk_Bool dragable) +{ + if (!scrolled_view) + return; + scrolled_view-drag.dragable = dragable; +} + +/** + * @brief Get the scrolled view dragable flag + * @param scrolled_view a scrolled view + * @return Returns ETK_TURE if the scrolled view is dragable + */ +Etk_Bool etk_scrolled_view_dragable_get(Etk_Scrolled_View *scrolled_view) +{ + if (!scrolled_view) + return ETK_FALSE; + return scrolled_view-drag.dragable; +} + +/** + * @brief Set the scrolled view boucy or not. + * @param scrolled_view a scrolled view + * @param bouncy The scrolled view is bouncy or not (Default TRUE) + */ +void etk_scrolled_view_drag_bouncy_set(Etk_Scrolled_View *scrolled_view, Etk_Bool bouncy) +{ + if (!scrolled_view) + return; + scrolled_view-drag.bouncy = bouncy; +} + +/** + * @brief Get the scrolled view bouncy flag + * @param scrolled_view a scrolled view + * @return Returns ETK_TURE if the scrolled view is bouncy + */ +Etk_Bool etk_scrolled_view_drag_bouncy_get(Etk_Scrolled_View *scrolled_view) +{ + if (!scrolled_view) + return ETK_FALSE; + return scrolled_view-drag.bouncy; +} + +/** + * @brief Set the scrolled view sample interval to calculate the scrolling speed. + * @param scrolled_view a scrolled view + * @param interval The interval of sampling latest scrolling speed (minimial 0.2 second, default 0.5 second) + * @return Returns the actual sampling interval set. If scrolled_view is NULL returns 0.0f. + */ +double etk_scrolled_view_drag_sample_interval_magic_set(Etk_Scrolled_View