[E-devel] Fw: Evas and alpha premul color data
I'm forwarding the messages that Jose sent me because he seems to be detected as a spammer by the ML service. - Forwarded Message - Date: Fri, 23 Jun 2006 23:26:21 GMT From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To_: [EMAIL PROTECTED] Cc: enlightenment-devel@lists.sourceforge.net Subject: Re: [E-devel] Evas and alpha premul color data > Hi Jose, > > Mm.. It seems to be a very important change indeed. If I understand > correctly, it means that all the apps that calls > evas_object_color_set() and every edje theme will have to be > updated. This is a problem, but it can be quickly solved. Yes, it sucks... I know. Also every app that calls image_data set/get as well. > The most important problem imho is that "alpha premul" colors are > really less intuitive than "normal" colors, at least for me :) > > For example, when you are designing an edje theme, you often change > the alpha of a part to try different values, and to see which alpha > value looks the best. So now, every alpha change will need a change > of the r, g, b components too, right? > It seems that way because you're so used to thinking in non-premul terms, but yes that's what will have to happen.. and either you do it yourself, or evas is going to do it for you behind your back -- there's no way out of this if evas moves to premul internally. I prefer that you do it yourself so you know exactly what's going on, and become comfortable with thinking premul colors. > > Another problem, but maybe I'm wrong on that point, is for > transition. A simple example, you want an object to fade out. > For now, you only have to use a timer that makes the alpha of the > object decrease progressively. It's rather intuive for now. > But with this change, you'll also have to update the rgb values, > no?! > Internally it may detect that you're just changing the alpha and perform things in special ways to speed things up.. but yes, you can't arbitrarily decrease the alpha without also decreasing the colors. Again, if you don't do it.. evas will have to do it for you behind your back. However, changing the transparency of an object (image or whatever), so as to make it fade-in or out, is trivial -- just set the obj's color to (a,a,a,a) for whatever 'a', that's all there is to it :) > > > For me, if the only advantage is to avoid some confusion inside > the evas's code (so for now, the evas-user is not confused), > I think it doesn't worth it. We'll avoid a confusion in the code > of evas, but we'll probably confuse the user (i.e. the coder that > uses evas). But maybe i'm wrong on the 2 examples I've given, > maybe the change is not so important. > > Regards :) > Simon TRENY Well, internally there are a *lot* of advantages -- Right now, for the blending functions to work 'well', with some semblance of speed, when there's dst alpha.. and for the other render ops besides blend, there's a messy, ugly, slow stuff... Moving to premul internally would eliminate all this, get rid of a 65Kb table, and make the software routines easier, faster, and more accurate. Also, to get things to work with the xrender engine, we have to premul all data we hand to xrender pictures since that's what it expects... same for a cairo engine if someone ever gets around to finishing that. So, if doing this internally is the way to go, and I think it is, then the question is: what about the api interfaces, specifically, the get/set data and color functions? In order for the get/set image data functions to have any usefulness, you'll have to do this with the data being premul, or it'll be so SLOW as to be worthless. Also, if you want to work with image data yourself, then having it premul is the way to go as it makes doing graphics operations easier, faster, ... Ok, then what about the color set/get? Either evas assumes that you're setting premul colors (ie. satisfying a >= r,g,b) or it has to force them to be so. What would you prefer? jose. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Fw: Evas and alpha premul color data
I'm forwarding the messages that Jose sent me because he seems to be detected as a spammer by the ML service. - Forwarded Message - Date: Sat, 24 Jun 2006 00:40:32 GMT From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To_: [EMAIL PROTECTED] Subject: Re: [E-devel] Evas and alpha premul color data > And I forgot to mention another problem I have in mind. > > For now, in edje, if you want to do a color transition from > color1="255 0 0 255" to color2="0 255 0 0", you have to > create 2 states, the first associated to color1, and the second > to color2. > > With "alpha premul" colors, it will become (if I understand > correctly): color1'="255 0 0 255" and color2'="0 0 0 0". > > So how Edje will guess it has to make a transition from red > to green? Or we'll have to keep "normal" colors in edje, but > it won't be coherent with the API of evas :/ > > Simon > Ummm, that's odd... Edje should not consider the color 0 255 0 0 as "green". It should be transparent - that's what evas will do with such an input color.. if an obj's color has alpha = 0, the obj is transparent. To transition to green one should set color2 to be, green! ie. 0 255 0 255. If edje is doing otherwise then it has a bug, or something funky :( PS. No email that I send to the edev list is getting thru since someone has taken it upon themselves to report me as 'spam' to the spamblock service that the list uses. I don't have the time or desire to screw around with things like this so unfortunately I won't be sending anything to that list as long as that keeps up :( Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Evas and alpha premul color data
On Sat, 24 Jun 2006 00:40:32 GMT, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote : > Well, internally there are a *lot* of advantages -- > Right now, for the blending functions to work 'well', with some > semblance of speed, when there's dst alpha.. and for the other > render ops besides blend, there's a messy, ugly, slow stuff... > Moving to premul internally would eliminate all this, > get rid of a 65Kb table, and make the software routines easier, > faster, and more accurate. > > Also, to get things to work with the xrender engine, > we have to premul all data we hand to xrender pictures since > that's what it expects... same for a cairo engine if someone > ever gets around to finishing that. > > So, if doing this internally is the way to go, and I > think it is, then the question is: what about the api interfaces, > specifically, the get/set data and color functions? > In order for the get/set image data functions to have > any usefulness, you'll have to do this with the data being premul, > or it'll be so SLOW as to be worthless. Also, if you want to work > with image data yourself, then having it premul is the way to go > as it makes doing graphics operations easier, faster, ... > > Ok, then what about the color set/get? Either evas assumes > that you're setting premul colors (ie. satisfying a >= r,g,b) or it > has to force them to be so. What would you prefer? Maybe we could just use premul alpha for image data, because that's the only critical case where premul alpha color will effectively improve the perfs, and since, afaik, some image formats already store premul alpha colors, it's somehow logical. For the other cases, I don't think it's a good idea to use premul alpha, it will definitively confuse the final user of evas, and it won't really affect the perfs of Evas I guess. > > > And I forgot to mention another problem I have in mind. > > > > For now, in edje, if you want to do a color transition from > > color1="255 0 0 255" to color2="0 255 0 0", you have to > > create 2 states, the first associated to color1, and the second > > to color2. > > > > With "alpha premul" colors, it will become (if I understand > > correctly): color1'="255 0 0 255" and color2'="0 0 0 0". > > > > So how Edje will guess it has to make a transition from red > > to green? Or we'll have to keep "normal" colors in edje, but > > it won't be coherent with the API of evas :/ > > > > Simon > > > > Ummm, that's odd... Edje should not consider the color > 0 255 0 0 as "green". It should be transparent - that's what > evas will do with such an input color.. if an obj's color has > alpha = 0, the obj is transparent. > To transition to green one should set color2 to be, > green! ie. 0 255 0 255. > > If edje is doing otherwise then it has a bug, or > something funky :( "0 255 0 255" is indeed transparent, but since you use a smooth transition, Edje interpolates linearly from "255 0 0 255" to "0 255 0 255". And so, the "path" to go from "255 0 0 255" to "0 255 0 255" is not the same than the "path" to go from "255 0 0 255" to "0 0 0 255", even if in the 2 cases, the starting and the ending color are the same. > > > > PS. > No email that I send to the edev list is getting > thru since someone has taken it upon themselves to report > me as 'spam' to the spamblock service that the list uses. > I don't have the time or desire to screw around with things > like this so unfortunately I won't be sending anything to > that list as long as that keeps up :( Do you want me to forward your messages to the ML? Regards :) Simon Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Evas and alpha premul color data
I'm forwarding the messages that Jose sent me because he seems to be detected as a spammer by the ML service. - Forwarded Message - Date: Sat, 24 Jun 2006 07:10:42 GMT From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To_: [EMAIL PROTECTED] Subject: Re: [E-devel] Evas and alpha premul color data > > And I forgot to mention another problem I have in mind. > > > > For now, in edje, if you want to do a color transition from > > color1="255 0 0 255" to color2="0 255 0 0", you have to > > create 2 states, the first associated to color1, and the second > > to color2. > > > > With "alpha premul" colors, it will become (if I understand > > correctly): color1'="255 0 0 255" and color2'="0 0 0 0". > > > > So how Edje will guess it has to make a transition from red > > to green? Or we'll have to keep "normal" colors in edje, but > > it won't be coherent with the API of evas :/ > > > > Simon > > > > Ummm, that's odd... Edje should not consider the color > 0 255 0 0 as "green". It should be transparent - that's what > evas will do with such an input color.. if an obj's color has > alpha = 0, the obj is transparent. > To transition to green one should set color2 to be, > green! ie. 0 255 0 255. > > If edje is doing otherwise then it has a bug, or > something funky :( No, it's ok :) I see what you mean.. How would it know that it should transition thru something half-way that is partly-red partly-green partly-transparent, ie. that at the half-way point of the transition the color should be set to 128 128 0 128 It wouldn't, that's correct. That's part of the problem of dealing with non-premul colors, it gives a bad idea of what is actually going to be displayed. In order to get a transition that varies from opaque-red, to half-opaque-brownish, to transparent, you'd need to transition between these *three* premul colors, ie. you'd need three premul colors to transition from, not just two. The thing about using premul colors is that it gives you a very exact, direct idea of what you'll actually get displayed, whereas non-premul colors give an indirect idea of such. This is why I think it's such a bad idea to mix the two -- it creates confusion as to what should be happenning. If you stick to using premul colors, you always get a good idea of what is going to be displayed. jose. PS. Please feel free to forward/copy these emails to the elist. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] taskbar 0.1.3
Sthithaprajna Garapaty wrote: I merged your diff and stuck everything in cvs. Other than that, please let me know if I left out anything important. You left out some autofoo changes, mostly related to translation.. but also some fixes to the theme build process.. See the attached diff. I'll churn out some more diffs once I get everything sorted out. -- Morten :wq Index: Makefile.am === RCS file: /var/cvs/e/e_modules/taskbar/Makefile.am,v retrieving revision 1.2 diff -u -r1.2 Makefile.am --- Makefile.am 22 Jun 2006 05:30:18 - 1.2 +++ Makefile.am 24 Jun 2006 12:11:09 - @@ -1,12 +1,10 @@ MAINTAINERCLEANFILES = Makefile.in -SUBDIRS = data +SUBDIRS = data po # data files for the module filesdir = $(datadir) -files_DATA = \ -module_icon.png \ -module.eap +files_DATA = module.eap EXTRA_DIST = $(files_DATA) @@ -19,7 +17,7 @@ pkg_LTLIBRARIES= module.la module_la_SOURCES = e_mod_main.c \ e_mod_main.h \ - e_mod_config.c + e_mod_config.c module_la_LIBADD = @e_libs@ module_la_LDFLAGS = -module -avoid-version @@ -27,4 +25,3 @@ clean-local: rm -rf *~ - Index: autogen.sh === RCS file: /var/cvs/e/e_modules/taskbar/autogen.sh,v retrieving revision 1.1 diff -u -r1.1 autogen.sh --- autogen.sh 13 Jun 2006 23:54:41 - 1.1 +++ autogen.sh 24 Jun 2006 12:11:09 - @@ -10,6 +10,19 @@ echo "Running autoconf..." ; autoconf || exit 1 echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --automake) || exit 1 echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1 +echo "Generating gettext taskbar.pot template"; \ +xgettext \ +-n \ +-C \ +-d taskbar \ +-p po \ +--copyright-holder="Enlightenment development team" \ +--foreign-user \ +--msgid-bugs-address="enlightenment-devel@lists.sourceforge.net" \ +-k -k_ -kd_ -kN_ -kD_ \ +--from-code=UTF-8 \ +-o taskbar.pot \ +`find . -name "*.[ch]" -print` || exit 1 if [ -z "$NOCONFIGURE" ]; then ./configure "$@" Index: configure.in === RCS file: /var/cvs/e/e_modules/taskbar/configure.in,v retrieving revision 1.2 diff -u -r1.2 configure.in --- configure.in22 Jun 2006 05:30:18 - 1.2 +++ configure.in24 Jun 2006 12:11:09 - @@ -17,6 +17,9 @@ AM_ENABLE_SHARED AM_PROG_LIBTOOL +ALL_LINGUAS="" +AC_SUBST(ALL_LINGUAS) + MODULE_ARCH="$host_os-$host_cpu" AC_SUBST(MODULE_ARCH) AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture") @@ -155,6 +158,7 @@ Makefile data/Makefile data/themes/Makefile +po/Makefile ],[ ]) Index: e_mod_config.c === RCS file: /var/cvs/e/e_modules/taskbar/e_mod_config.c,v retrieving revision 1.2 diff -u -r1.2 e_mod_config.c --- e_mod_config.c 22 Jun 2006 22:21:17 - 1.2 +++ e_mod_config.c 24 Jun 2006 12:11:09 - @@ -23,20 +23,21 @@ v = E_NEW(E_Config_Dialog_View, 1); v->create_cfdata = _create_data; - v->free_cfdata = _free_data; - v->basic.apply_cfdata = _basic_apply_data; + v->free_cfdata = _free_data; + + v->basic.apply_cfdata = _basic_apply_data; v->basic.create_widgets = _basic_create_widgets; con = e_container_current_get(e_manager_current_get()); cfd = e_config_dialog_new(con, _("Taskbar Configuration"), NULL, 0, v, ci); - taskbar_config->config_dialog = cfd; + taskbar_config->config_dialog = evas_list_append(taskbar_config->config_dialog, cfd); } static void _fill_data(Config_Item *ci, E_Config_Dialog_Data *cfdata) { cfdata->show_label = ci->show_label; - cfdata->show_all = ci->show_all; + cfdata->show_all = ci->show_all; } static void * @@ -55,29 +56,26 @@ static void _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata) { - if (!taskbar_config) - return; - taskbar_config->config_dialog = NULL; + if (!taskbar_config) return; + taskbar_config->config_dialog = evas_list_remove(taskbar_config->config_dialog, cfd); free(cfdata); } static Evas_Object * _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata) { - Evas_Object *o, *of, *ob, *label, *time_entry, *time_check, *date_entry, *date_check; - E_Radio_Group *rg; + Evas_Object *o, *of, *ob; o = e_widget_list_add(evas, 0, 0); of = e_widget_framelist_add(evas, _("Display"), 0); + ob = e_widget_check_add(evas, _("Show Labels"), &(cfdata->show_label)); - if (cfdata->show_label) - e_widget_check_checked_set(ob, 1); - e_widget_framelist_object_append(of, ob); + e_widget_framelist_object_append(of, ob); + ob = e_widget_check_add(evas, _("Show windows from all desktops"), &(cfdata->show_all)); - if (cfdata->sh
Re: [E-devel] taskbar 0.1.3
Morten Nilsen wrote: See the attached diff. Here's one change I forgot to include.. -- Morten :wq Index: e_mod_main.c === RCS file: /var/cvs/e/e_modules/taskbar/e_mod_main.c,v retrieving revision 1.4 diff -u -r1.4 e_mod_main.c --- e_mod_main.c22 Jun 2006 22:21:17 - 1.4 +++ e_mod_main.c24 Jun 2006 12:19:41 - @@ -1261,8 +1261,8 @@ { e_gadcon_provider_unregister(&_gadcon_class); - if (taskbar_config->config_dialog) - e_object_del(E_OBJECT(taskbar_config->config_dialog)); + while (taskbar_config->config_dialog) + e_object_del(E_OBJECT(taskbar_config->config_dialog->data)); while (taskbar_config->handlers) { Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] ETK without X possible?
Hi Michael, You can now use the Etk_Embed widget to have Etk's widgets in your evas programs, but Etk is still dependant on X. It means that you can now use Etk widgets in a framebuffer program, but since Etk is still linked to X, you'll need to have X installed, even if it is not used :o Next task will be to move the Ecore_X-dependant code to a different dir, so we could build Etk without X. Regards, Simon TRENY On Sun, 18 Jun 2006 17:33:22 +0200, Simon TRENY <[EMAIL PROTECTED]> wrote : > Hi Michael, > > The ./configure script indeed looks for Ecore_X and doesn't complain > if Ecore_X is not detected but there are still some pieces of code in > Etk that uses Ecore_X without the #ifdef/#endif thing > (Etk_Popup_Window for example), so for now, you can't compile Etk for > the framebuffer. > > But we plan to put all the Ecore_X-dependant code in a separated dir > (ie the files etk_dnd.c, etk_selection.c, etk_clipboard.c, > etk_popup_window.c, ...) so a framebuffer port could be really easily > written. > > Regards, > Simon TRENY > > > > Le Sun, 18 Jun 2006 16:50:55 +0200, > Michael 'Mickey' Lauer <[EMAIL PROTECTED]> a > _crit : > > > Hi, > > > > ecore_x looks like an optional dependency for ETK. Would it be > > possible to run it without X at all? I already work with > > framebuffer-only versions of evas, ecore and edje. It would be nice > > to have access to a full blown widget toolkit without needing X. > > While I can do a lot of impressive things with edje alone, it's > > still a bit low-level. > > > > > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Edje transition: works only in one direction
Hi Sevcsik It seems to be a bug of Edje, when a part has no state called "default". Just replace "state1" to "default" and it should work. But I don't know if it's a wanted behaviour or if it's actually a bug of Edje. As a rule, to avoid this kind of bug, you should always call the first state of a part "default". Regards, Simon TRENY On Thu, 22 Jun 2006 20:22:04 +0200, Andrew Sevcsik <[EMAIL PROTECTED]> wrote : > Here is everything. > > On Thu, 22 Jun 2006 17:52:39 +0200 > Simon TRENY <[EMAIL PROTECTED]> wrote: > > > Hi Sevcsik > > Mime-Version: 1.0 > > Content-Type: text/plain; charset=us-ascii > > Content-Transfer-Encoding: binary > > > > Hi Sevcsik > > > > You should send the whole .edc code and the images so we could > > compile the animation and test by ourselves. > > > > Regards, > > Simon TRENY > > > > > > > > Le Thu, 22 Jun 2006 17:33:19 +0200, > > Andrew Sevcsik <[EMAIL PROTECTED]> a _crit : > > > > > > > > > > > Hi list. > > > > > > I have these programs: > > > > > > program { /*Programs that do the mouseover animation for > > > statusimg_bg */ name, "statusimg_bg_in"; > > > signal, "mouse,in"; > > > source, "statusimg_bg_over"; > > > action, STATE_SET "state2" 1.0; > > > target, "statusimg_bg_over"; > > > transition, LINEAR 0.5; > > > after, "statusimg_bg_in2"; > > > } > > > program { > > > name, "statusimg_bg_in2"; > > > action, STATE_SET "state2" 1.0; > > > target, "statusimg_bg"; > > > transition, LINEAR 0.5; > > > } > > > program { /* !! TODO: TRANSITION IS NOT WORKING HERE !!! > > > */ name, "statusimg_bg_out"; > > > signal, "mouse,out"; > > > source, "statusimg_bg_over"; > > > action, STATE_SET "state1" 1.0; > > > target, "statusimg_bg"; > > > transition, LINEAR 0.5; > > > after, "statusimg_bg_out2"; > > > } > > > program { > > > name, "statusimg_bg_out2"; > > > action, STATE_SET "state1" 1.0; > > > target, "statusimg_bg_over"; > > > transition, LINEAR 0.5; > > > } > > > > > > Transition works nicely at mouse,in, but it at mouse,out, it only > > > wait 0.5 seconds, and change suddenly. These are just alpha > > > changes, so I don't understand. > > > > > > statusimg_bg (original) > > > state1 - visible > > > state2 - hidden > > > > > > statusimg_bg (glow) > > > state1 - hidden > > > state2 - visible > > > > > > Thanks for the help. > > > Sevcsik > > > > > > Using Tomcat but need to do more? Need to support web services, > > > security? Get stuff done quickly with pre-integrated technology to > > > make your job easier Download IBM WebSphere Application Server > > > v.1.0.1 based on Apache Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ___ > > > enlightenment-devel mailing list > > > enlightenment-devel@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > > > > Using Tomcat but need to do more? Need to support web services, > > security? Get stuff done quickly with pre-integrated technology to > > make your job easier Download IBM WebSphere Application Server > > v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > ___ enlightenment-devel > > mailing list enlightenment-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Edje transition: works only in one direction
On Sat, 24 Jun 2006 19:02:01 +0200 Simon TRENY <[EMAIL PROTECTED]> wrote: Thank you very much! It works now. Cheers Sevcsik > Hi Sevcsik > Mime-Version: 1.0 > Content-Type: text/plain; charset=us-ascii > Content-Transfer-Encoding: binary > > Hi Sevcsik > > It seems to be a bug of Edje, when a part has no state called > "default". Just replace "state1" to "default" and it should work. > > But I don't know if it's a wanted behaviour or if it's actually a bug > of Edje. As a rule, to avoid this kind of bug, you should always call > the first state of a part "default". > > Regards, > Simon TRENY > > > On Thu, 22 Jun 2006 20:22:04 +0200, > Andrew Sevcsik <[EMAIL PROTECTED]> wrote : > > > Here is everything. > > > > On Thu, 22 Jun 2006 17:52:39 +0200 > > Simon TRENY <[EMAIL PROTECTED]> wrote: > > > > > Hi Sevcsik > > > Mime-Version: 1.0 > > > Content-Type: text/plain; charset=us-ascii > > > Content-Transfer-Encoding: binary > > > > > > Hi Sevcsik > > > > > > You should send the whole .edc code and the images so we could > > > compile the animation and test by ourselves. > > > > > > Regards, > > > Simon TRENY > > > > > > > > > > > > Le Thu, 22 Jun 2006 17:33:19 +0200, > > > Andrew Sevcsik <[EMAIL PROTECTED]> a _crit : > > > > > > > > > > > > > > > Hi list. > > > > > > > > I have these programs: > > > > > > > > program { /*Programs that do the mouseover animation for > > > > statusimg_bg */ name, "statusimg_bg_in"; > > > > signal, "mouse,in"; > > > > source, "statusimg_bg_over"; > > > > action, STATE_SET "state2" 1.0; > > > > target, "statusimg_bg_over"; > > > > transition, LINEAR 0.5; > > > > after, "statusimg_bg_in2"; > > > > } > > > > program { > > > > name, "statusimg_bg_in2"; > > > > action, STATE_SET "state2" 1.0; > > > > target, "statusimg_bg"; > > > > transition, LINEAR 0.5; > > > > } > > > > program { /* !! TODO: TRANSITION IS NOT WORKING HERE !!! > > > > */ name, "statusimg_bg_out"; > > > > signal, "mouse,out"; > > > > source, "statusimg_bg_over"; > > > > action, STATE_SET "state1" 1.0; > > > > target, "statusimg_bg"; > > > > transition, LINEAR 0.5; > > > > after, "statusimg_bg_out2"; > > > > } > > > > program { > > > > name, "statusimg_bg_out2"; > > > > action, STATE_SET "state1" 1.0; > > > > target, "statusimg_bg_over"; > > > > transition, LINEAR 0.5; > > > > } > > > > > > > > Transition works nicely at mouse,in, but it at mouse,out, it > > > > only wait 0.5 seconds, and change suddenly. These are just alpha > > > > changes, so I don't understand. > > > > > > > > statusimg_bg (original) > > > > state1 - visible > > > > state2 - hidden > > > > > > > > statusimg_bg (glow) > > > > state1 - hidden > > > > state2 - visible > > > > > > > > Thanks for the help. > > > > Sevcsik > > > > > > > > Using Tomcat but need to do more? Need to support web services, > > > > security? Get stuff done quickly with pre-integrated technology > > > > to make your job easier Download IBM WebSphere Application > > > > Server v.1.0.1 based on Apache Geronimo > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > ___ > > > > enlightenment-devel mailing list > > > > enlightenment-devel@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > > > > > > > Using Tomcat but need to do more? Need to support web services, > > > security? Get stuff done quickly with pre-integrated technology to > > > make your job easier Download IBM WebSphere Application Server > > > v.1.0.1 based on Apache Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ___ > > > enlightenment-devel mailing list > > > enlightenment-devel@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > Using Tomcat but need to do more? Need to support web services, > security? Get stuff done quickly with pre-integrated technology to > make your job easier Download IBM WebSphere Application Server > v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ___ enlightenment-devel > mailing list enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ enlightenment-devel mailing list enlightenment-devel@lists.sou
Re: [E-devel] Edje transition: works only in one direction
On Sat, 24 Jun 2006 19:02:01 +0200 Simon TRENY <[EMAIL PROTECTED]> babbled: > Hi Sevcsik > > It seems to be a bug of Edje, when a part has no state called "default". > Just replace "state1" to "default" and it should work. > > But I don't know if it's a wanted behaviour or if it's actually a bug > of Edje. As a rule, to avoid this kind of bug, you should always call > the first state of a part "default". i should really have edje_cc report it as an error- BUT the FIRST state is ALWAYS meant to be called "default" - regardless. it is assumed and expected by the code. > Regards, > Simon TRENY > > > On Thu, 22 Jun 2006 20:22:04 +0200, > Andrew Sevcsik <[EMAIL PROTECTED]> wrote : > > > Here is everything. > > > > On Thu, 22 Jun 2006 17:52:39 +0200 > > Simon TRENY <[EMAIL PROTECTED]> wrote: > > > > > Hi Sevcsik > > > Mime-Version: 1.0 > > > Content-Type: text/plain; charset=us-ascii > > > Content-Transfer-Encoding: binary > > > > > > Hi Sevcsik > > > > > > You should send the whole .edc code and the images so we could > > > compile the animation and test by ourselves. > > > > > > Regards, > > > Simon TRENY > > > > > > > > > > > > Le Thu, 22 Jun 2006 17:33:19 +0200, > > > Andrew Sevcsik <[EMAIL PROTECTED]> a _crit : > > > > > > > > > > > > > > > Hi list. > > > > > > > > I have these programs: > > > > > > > > program { /*Programs that do the mouseover animation for > > > > statusimg_bg */ name, "statusimg_bg_in"; > > > > signal, "mouse,in"; > > > > source, "statusimg_bg_over"; > > > > action, STATE_SET "state2" 1.0; > > > > target, "statusimg_bg_over"; > > > > transition, LINEAR 0.5; > > > > after, "statusimg_bg_in2"; > > > > } > > > > program { > > > > name, "statusimg_bg_in2"; > > > > action, STATE_SET "state2" 1.0; > > > > target, "statusimg_bg"; > > > > transition, LINEAR 0.5; > > > > } > > > > program { /* !! TODO: TRANSITION IS NOT WORKING HERE !!! > > > > */ name, "statusimg_bg_out"; > > > > signal, "mouse,out"; > > > > source, "statusimg_bg_over"; > > > > action, STATE_SET "state1" 1.0; > > > > target, "statusimg_bg"; > > > > transition, LINEAR 0.5; > > > > after, "statusimg_bg_out2"; > > > > } > > > > program { > > > > name, "statusimg_bg_out2"; > > > > action, STATE_SET "state1" 1.0; > > > > target, "statusimg_bg_over"; > > > > transition, LINEAR 0.5; > > > > } > > > > > > > > Transition works nicely at mouse,in, but it at mouse,out, it only > > > > wait 0.5 seconds, and change suddenly. These are just alpha > > > > changes, so I don't understand. > > > > > > > > statusimg_bg (original) > > > > state1 - visible > > > > state2 - hidden > > > > > > > > statusimg_bg (glow) > > > > state1 - hidden > > > > state2 - visible > > > > > > > > Thanks for the help. > > > > Sevcsik > > > > > > > > Using Tomcat but need to do more? Need to support web services, > > > > security? Get stuff done quickly with pre-integrated technology to > > > > make your job easier Download IBM WebSphere Application Server > > > > v.1.0.1 based on Apache Geronimo > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > ___ > > > > enlightenment-devel mailing list > > > > enlightenment-devel@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > > > > > > > Using Tomcat but need to do more? Need to support web services, > > > security? Get stuff done quickly with pre-integrated technology to > > > make your job easier Download IBM WebSphere Application Server > > > v.1.0.1 based on Apache Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ___ enlightenment-devel > > > mailing list enlightenment-devel@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)[EMAIL PROTECTED] 裸好多 Tokyo, Japan (東京 日本) Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel