Re: [E-devel] E CVS: apps/exhibit leviathan
Enlightenment CVS wrote: Log Message: make the loading hourglass animate Note: This makes the app heavy when generating large number of thumbnails, that's why it's commited alone, so if people feel it's too much you can revert it Could we have a command line argument? (--no-hourglass) Exhibit is almost usable on devices like our Neo1973 mobile phone, but with this patch, it gets slow as molasses :) Regards, :M: -- Michael 'Mickey' Lauer | IT-Freelancer | http://www.vanille-media.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E CVS: apps/exhibit leviathan
On 7/13/07, Dr. Michael Lauer [EMAIL PROTECTED] wrote: Enlightenment CVS wrote: Log Message: make the loading hourglass animate Note: This makes the app heavy when generating large number of thumbnails, that's why it's commited alone, so if people feel it's too much you can revert it Could we have a command line argument? (--no-hourglass) Exhibit is almost usable on devices like our Neo1973 mobile phone, but with this patch, it gets slow as molasses :) The hourglass thing was not meant to be like that, it was meant to be a single animation in the corner of the window - it will be fixed (= -- Hisham Mardam Bey http://hisham.cc/ +9613609386 Codito Ergo Sum (I Code Therefore I Am) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E CVS: proto davemds
Enlightenment CVS wrote: Enlightenment CVS committal Author : davemds Project : e17 Module : proto Dir : e17/proto/edje_editor Just wanted to drop you a big thanks for working on that project -- it is very helpful for people who are less into code, i.e. I'm sure I could hand this to almost every designer. Just need to see whether we can teach those guys some embryo scripting as well ;) Thinking about that, would an embryo template library for some of the more common effects make sense? Regards, :M: -- Michael 'Mickey' Lauer | IT-Freelancer | http://www.vanille-media.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E CVS: proto davemds
On 7/13/07, Dr. Michael Lauer [EMAIL PROTECTED] wrote: Enlightenment CVS wrote: Enlightenment CVS committal Author : davemds Project : e17 Module : proto Dir : e17/proto/edje_editor Just wanted to drop you a big thanks for working on that project -- it is very helpful for people who are less into code, i.e. I'm sure I could hand this to almost every designer. Just need to see whether we can teach those guys some embryo scripting as well ;) I also want to thank dave! edje_editor is turning into a great tool! Thinking about that, would an embryo template library for some of the more common effects make sense? yes, it does make sense. I was talking to raster about this on IRC the other day. A library would be composed of some macros to define a mix of parts and programs. -- Gustavo Sverzut Barbieri -- Jabber: [EMAIL PROTECTED] MSN: [EMAIL PROTECTED] ICQ#: 17249123 Skype: gsbarbieri Mobile: +55 (81) 9927 0010 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Problem with edje and its way of dispatching mouse, * signals
Guys, I spent the whole afternoon trying to find a non-hackish (or less hackish) way to solve this problem: click on one object and then move to other, this other should also receive events. my current problem actually is: I'm trying to write a virtual keyboard for maemo, I'm basing my work on iPhone keyboard [1]. When you mouse,down,1 some key, you get a feedback of which key was pressed, if you see it was the wrong key, then just move over the right key and release, this new key will emit the signal to application. Problem is: if mouse,down,1 is done on key Q, when you move to key W, you don't get anything with source=W. You can set keys to repeat_events, then you'll get the same event on background, but still nothing on W. 1) I cannot use evas_object_callback_* directly because my goal is to NOT know what keys exist in keyboard, in other words: I don't know the parts of my edje beforehand. 2) I cannot use evas_object_top_at_xy_get() in order to get edje parts. Actually I don't get even the edje itself, I get nothing, nada, zap... Is this correct? [I do get some object created by myself, like a rectangle] This problem will appear a lot for our use with touchscreen devices, many actions are gesture-like and will be hard or impossible to do with current design. Example: we want some buttons to be combobox-like, you click-and-hold and it will slide another edje-group with buttons there, move your finger over it and release: it will execute. I know this is not the usual behavior on desktops and that's because it's like that, but any solutions to this? Where I should look? Nathan (RbdPngn) told me to use ecore's event filter and check there for mouse-down events, intercept them and do it own my own. I think it may work, yes, but it's far from easy to use :-/ I don't expect any ready-to-use edje syntax or so, but at least some option to allow parts to still emit events when the other is clicked. This way I could capture down, set a flag and start to listen for in or out events, on up I'd do the right thing and stop listening these signals. I guess this is a problem with edje, but maybe it's about evas? Hints? Ideas? [1] http://www.apple.com/iphone/usingiphone/keyboard.html -- Gustavo Sverzut Barbieri -- Jabber: [EMAIL PROTECTED] MSN: [EMAIL PROTECTED] ICQ#: 17249123 Skype: gsbarbieri Mobile: +55 (81) 9927 0010 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Problem with edje and its way of dispatching mouse, * signals
On 7/13/07, Gustavo Sverzut Barbieri [EMAIL PROTECTED] wrote: Guys, I spent the whole afternoon trying to find a non-hackish (or less hackish) way to solve this problem: click on one object and then move to other, this other should also receive events. my current problem actually is: I'm trying to write a virtual keyboard for maemo, I'm basing my work on iPhone keyboard [1]. When you mouse,down,1 some key, you get a feedback of which key was pressed, if you see it was the wrong key, then just move over the right key and release, this new key will emit the signal to application. Problem is: if mouse,down,1 is done on key Q, when you move to key W, you don't get anything with source=W. You can set keys to repeat_events, then you'll get the same event on background, but still nothing on W. 1) I cannot use evas_object_callback_* directly because my goal is to NOT know what keys exist in keyboard, in other words: I don't know the parts of my edje beforehand. 2) I cannot use evas_object_top_at_xy_get() in order to get edje parts. Actually I don't get even the edje itself, I get nothing, nada, zap... Is this correct? [I do get some object created by myself, like a rectangle] This problem will appear a lot for our use with touchscreen devices, many actions are gesture-like and will be hard or impossible to do with current design. Example: we want some buttons to be combobox-like, you click-and-hold and it will slide another edje-group with buttons there, move your finger over it and release: it will execute. I know this is not the usual behavior on desktops and that's because it's like that, but any solutions to this? Where I should look? Nathan (RbdPngn) told me to use ecore's event filter and check there for mouse-down events, intercept them and do it own my own. I think it may work, yes, but it's far from easy to use :-/ I don't expect any ready-to-use edje syntax or so, but at least some option to allow parts to still emit events when the other is clicked. This way I could capture down, set a flag and start to listen for in or out events, on up I'd do the right thing and stop listening these signals. I guess this is a problem with edje, but maybe it's about evas? Hints? Ideas? [1] http://www.apple.com/iphone/usingiphone/keyboard.html My code is at: http://barbieri-playground.googlecode.com/svn/efl-tests/vkbd/ it's not providing the visual effects, but it works already. Application is in python, bindings at e17/proto/python-efl/ -- Gustavo Sverzut Barbieri -- Jabber: [EMAIL PROTECTED] MSN: [EMAIL PROTECTED] ICQ#: 17249123 Skype: gsbarbieri Mobile: +55 (81) 9927 0010 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Problem with edje and its way of dispatching mouse, * signals
On 7/13/07, Gustavo Sverzut Barbieri [EMAIL PROTECTED] wrote: Guys, I spent the whole afternoon trying to find a non-hackish (or less hackish) way to solve this problem: click on one object and then move to other, this other should also receive events. my current problem actually is: I'm trying to write a virtual keyboard for maemo, I'm basing my work on iPhone keyboard [1]. When you mouse,down,1 some key, you get a feedback of which key was pressed, if you see it was the wrong key, then just move over the right key and release, this new key will emit the signal to application. Problem is: if mouse,down,1 is done on key Q, when you move to key W, you don't get anything with source=W. You can set keys to repeat_events, then you'll get the same event on background, but still nothing on W. 1) I cannot use evas_object_callback_* directly because my goal is to NOT know what keys exist in keyboard, in other words: I don't know the parts of my edje beforehand. 2) I cannot use evas_object_top_at_xy_get() in order to get edje parts. Actually I don't get even the edje itself, I get nothing, nada, zap... Is this correct? [I do get some object created by myself, like a rectangle] This problem will appear a lot for our use with touchscreen devices, many actions are gesture-like and will be hard or impossible to do with current design. Example: we want some buttons to be combobox-like, you click-and-hold and it will slide another edje-group with buttons there, move your finger over it and release: it will execute. I know this is not the usual behavior on desktops and that's because it's like that, but any solutions to this? Where I should look? Nathan (RbdPngn) told me to use ecore's event filter and check there for mouse-down events, intercept them and do it own my own. I think it may work, yes, but it's far from easy to use :-/ I don't expect any ready-to-use edje syntax or so, but at least some option to allow parts to still emit events when the other is clicked. This way I could capture down, set a flag and start to listen for in or out events, on up I'd do the right thing and stop listening these signals. I guess this is a problem with edje, but maybe it's about evas? Hints? Ideas? Ok, reading evas docs it's really the expected behavior, at least it's documented: * EVAS_CALLBACK_MOUSE_OUT: event_info = pointer to Evas_Event_Mouse_Out * * ... Note that no out events will be * reported if the mouse pointer is implicitly grabbed to an object (the * mouse buttons are down at all and any were pressed on that object). An * out event will be reported as soon as the mouse is no longer grabbed (no * mouse buttons are depressed). Out events will be reported once all buttons * are released, if the mouse has left the object. So, how to solve it without brake every existent thing that depends on this? -- Gustavo Sverzut Barbieri -- Jabber: [EMAIL PROTECTED] MSN: [EMAIL PROTECTED] ICQ#: 17249123 Skype: gsbarbieri Mobile: +55 (81) 9927 0010 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E CVS: proto davemds
I also want to thank you. As I am just a silly designer with almost no coding skill, this is a great tool for me! Keep it up, man! :-) 2007/7/13, Enlightenment CVS [EMAIL PROTECTED]: Enlightenment CVS committal Author : davemds Project : e17 Module : proto Dir : e17/proto/edje_editor/src/bin Modified Files: callbacks.c callbacks.h interface.c interface.h main.c main.h Log Message: * Add Tween animation support (create and manage) * Use an internal test app for show the edje result (instead of using edje_viewer) * some formatting * some shell escape inside system() invocations to handle space in file/dir name NOTE: You can now use edje_editor to view and test edje files. There is a new switch (-t) that open an edje file and show the content of the given group, without load the whole editor interface. Seems usefull to me. There was also a thread on the forum about this :) USAGE: edje_editor -t edje_file.edj group/to/display === RCS file: /cvs/e/e17/proto/edje_editor/src/bin/callbacks.c,v retrieving revision 1.23 retrieving revision 1.24 diff -u -3 -r1.23 -r1.24 --- callbacks.c 10 Jul 2007 02:16:37 - 1.23 +++ callbacks.c 13 Jul 2007 16:54:57 - 1.24 @@ -38,6 +38,9 @@ on_AllButton_click(Etk_Button *button, void *data) { char cmd[1024]; + Etk_Tree_Row *sel_row; + int row_num; + switch ((int)data) { case TOOLBAR_NEW: @@ -103,12 +106,13 @@ printf(Clicked signal on Toolbar Button 'Play' EMITTED\n); if (Cur.open_file_name) { -snprintf(cmd,1024,edje_viewer %s ,Cur.open_file_name); -printf(TEST IN VIEWER. cmd: %s\n,cmd); -if (!system(type edje_viewer)) - system(cmd); -else - ShowAlert(bCould not find 'edje_viewer'./bbrCheck that the executable is in your path.); +snprintf(cmd,1024,edje_editor -t %s %s ,Cur.open_file_name ,Cur.eg-name); +printf(TESTING EDJE. cmd: %s\n,cmd); +system(cmd); +//if (!system(type edje_viewer)) +// system(cmd); +//else +// ShowAlert(bCould not find 'edje_viewer'./bbrCheck that the executable is in your path.); }else{ ShowAlert(You need to save the file before testing it.); } @@ -124,6 +128,35 @@ if (engrave_file_font_dir_get(Cur.ef)) ShowFilechooser(FILECHOOSER_FONT); else ShowAlert(You have to save the file once for insert font.); break; + case IMAGE_TWEEN_UP: +ShowAlert(Up not yet implemented.); + break; + case IMAGE_TWEEN_DOWN: +ShowAlert(Down not yet implemented.); + break; + case IMAGE_TWEEN_DELETE: +sel_row = etk_tree_selected_row_get(ETK_TREE(UI_ImageTweenList)); +if (row_num = (int)etk_tree_row_data_get (sel_row)) +{ + PROTO_engrave_part_state_image_tween_remove_nth(Cur.eps ,row_num-1); + UpdateImageFrame(); +} + break; + case IMAGE_TWEEN_RADIO: +UpdateImageFrame(); + etk_toggle_button_active_set(ETK_TOGGLE_BUTTON(UI_ImageTweenRadio), TRUE); + etk_toggle_button_active_set(ETK_TOGGLE_BUTTON(UI_ImageNormalRadio), FALSE); +etk_widget_show(UI_ImageTweenList); +etk_widget_show(UI_MoveUpTweenButton); +etk_widget_show(UI_MoveDownTweenButton); +etk_widget_show(UI_DeleteTweenButton); +etk_combobox_active_item_set (ETK_COMBOBOX(UI_ImageComboBox), + etk_combobox_nth_item_get(ETK_COMBOBOX(UI_ImageComboBox),0)); + break; + case IMAGE_NORMAL_RADIO: +PROTO_engrave_part_state_image_tween_remove_all(Cur.eps); +UpdateImageFrame(); + break; } } @@ -452,18 +485,40 @@ on_ImageComboBox_changed(Etk_Combobox *combobox, void *data) { Engrave_Image *image; - printf(Changed signal on Image Combo EMITED\n); - + printf(Changed signal on Image Combo EMITTED\n); + + if ((image = etk_combobox_item_data_get(etk_combobox_active_item_get (combobox{ //Set an existing image if (Cur.eps){ - engrave_part_state_image_normal_set(Cur.eps, image); + if (!etk_toggle_button_active_get(UI_ImageTweenRadio)) + { +engrave_part_state_image_normal_set(Cur.eps, image); + }else{ +engrave_part_state_image_tween_add(Cur.eps,image); +UpdateImageFrame(); + } ev_redraw(); } } } void +on_ImageTweenList_row_selected(Etk_Object *object, Etk_Tree_Row *row, void *data) +{ + printf(Row selected signal on ImageTweenList EMITTED\n); + if (row != etk_tree_first_row_get (ETK_TREE(UI_ImageTweenList))) + { +