Re: [e-users] Adapt canvas content when the canvas is resized

2014-05-13 Thread jcazaux
Le Sun, 11 May 2014 01:37:25 +0200, Carsten Haitzler  
ras...@rasterman.com a écrit:

 On Mon, 05 May 2014 09:06:34 +0200 jcaz...@sirlan.com said:

Hello,

Thank you for your response

 However with the callback way, content of the canvas will not be resized
 automatically.

 that's your job in the callback - to resize it accordingly.  elm provides
 widgets and infra that does this for you (how do you thing resizing of a  
 window
 magically adjust content properly?

Ok. This is what I have already done.

Ok for elm and widgets. For the time being, I only used EFL. I will look  
at the Elementary project.

Best regards


 When the canvas is resized (according to the TV resolution), I would  
 like
 that its content be resized automatically.

 Is there a way in Evas/Evas-Core to intercept the content (pixels) of a
 canvas before it's send to the framebuffer (in order to apply an alpha  
 to
 it) ?

 no. alpha is added based on content if you enable alpha and the engine  
 supports
 an alpha destination (gl-x11, software-x11, wayland_egl and wayland_shm  
 all
 support shm destinations). ie withe these, where there is no content, it  
 is
 transparent.
 

--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Using Mode_switch breaks Left Alt in e18

2014-05-13 Thread Dave
 In the year 2014, of the month of May, on the 12th day, Marc MERLIN wrote:
 On Mon, May 12, 2014 at 02:07:30AM +1000, Dave wrote:
   I had a little look at the enlightenment source code to try and figure this
  out, half as an excuse to start learning about the code for enlightenment.
  
   I traced the problem down as far as the e_bindings_mouse_button_find
  function.  Normally, the left Alt key returns a modifier value of 4 (Alt).
  When the right Alt key is set to Mode_switch, the left Alt key returns a
  modifier value of 20 (Alt+AltGr).  Hence it doesn't match the configured
  binding parameters for windows resizing, and you get no action.
  
 Aaah, very interesting.
 
   Further than that, the problem seems to reside in evas or ecore_input_evas 
  .
  If I get some spare time in the next few days, I'll try prying into the
  source code for those libs to see if I can uncover anything interesting
  there.
 
 Thanks much for looking.
 So since this used to work in e17, is it maybe easier to look at what
 changed between the two to find when it broke?
 

 It's actually more work to sift through the changes.  Too many of them.
Besides, since this is an exercise for me to learn the source code, it's more
beneficial for me to follow the codepath and see what's happening.

 I've come up with a fix for the problem.  The issue resides in EFL, not in
the Enlightenment source.

 In the EFL source tree, edit the src/lib/ecore_x/xlib/ecore_x.c file, and
comment out the following line:
   ECORE_X_MODIFIER_ALTGR = _ecore_x_key_mask_get(XK_Mode_switch)

 It's not root cause of the issue, but it'll fix things for you.  It will
also break the AltGr key, for those that have keyboards with it.  Yep,
there's always a compromise.

 Cheers,
 dave.k


--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Using Mode_switch breaks Left Alt in e18

2014-05-13 Thread Marc MERLIN
On Tue, May 13, 2014 at 06:11:01PM +1000, Dave wrote:
  In the EFL source tree, edit the src/lib/ecore_x/xlib/ecore_x.c file, and
 comment out the following line:
ECORE_X_MODIFIER_ALTGR = _ecore_x_key_mask_get(XK_Mode_switch)
 
  It's not root cause of the issue, but it'll fix things for you.  It will
 also break the AltGr key, for those that have keyboards with it.  Yep,
 there's always a compromise.

Thanks much for that.

Raster, given this, do you have any idea how this changed in e18 and how
to make it work for all like it did in e17?
Obviously I can patch source, but long term I'd rather not want to patch
forever :)

Merci d'avance :)
Marc
-- 
A mouse is a device used to point at the xterm you want to type in - A.S.R.
Microsoft is to operating systems 
   what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ | PGP 1024R/763BE901

--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Terminology and EFL 1.10.0 beta 1

2014-05-13 Thread tcech

Hi all,

On Sun, May 11, 2014 at 11:17:10AM +0200, ADA wrote:


It looks like, I've screwed up something, so my Terminology git was not
up to date. I've cloned it again to get a clean state, now it compiles fine.

By the way, the only file with problems was app_server.c. I've just
tracked the changes in EFL to make it compile. So:
 - ELM_APP_SERVER_VIEW_EV_... - ELM_APP_SERVER_VIEW_EVENT_...
 - eo_base_data_get - eo_key_data_get
 - elm_app_server_view_id_get call change

Basically, that's it.


But it is still issue when terminology release is used - IOW EFL and
elementart 1.10.0 beta2 cannot be used with terminology 0.5.0 due to API
changes...

S_W
--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Terminology and EFL 1.10.0 beta 1

2014-05-13 Thread Boris Faure
On 14-05-11 09:32, Carsten Haitzler wrote:
 it should build with 1.10 - what did you change? why didn't it build?

app_server. I was fed up with making that thing compatible with
different efl versions. On git, this part is only compiled with efl ≥
1.10. If people care about that part of the could, I'll be glad to
review patches to make it compatible with efl ≥ 1.7.

-- 
Boris Faure
Pointer Arithmetician
--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Terminology and EFL 1.10.0 beta 1

2014-05-13 Thread The Rasterman
On Tue, 13 May 2014 21:18:03 +0200 tc...@suse.cz said:

 Hi all,
 
 On Sun, May 11, 2014 at 11:17:10AM +0200, ADA wrote:
 
  It looks like, I've screwed up something, so my Terminology git was not
 up to date. I've cloned it again to get a clean state, now it compiles fine.
 
  By the way, the only file with problems was app_server.c. I've just
 tracked the changes in EFL to make it compile. So:
   - ELM_APP_SERVER_VIEW_EV_... - ELM_APP_SERVER_VIEW_EVENT_...
   - eo_base_data_get - eo_key_data_get
   - elm_app_server_view_id_get call change
 
  Basically, that's it.
 
 But it is still issue when terminology release is used - IOW EFL and
 elementart 1.10.0 beta2 cannot be used with terminology 0.5.0 due to API
 changes...

see my other mail - it's a problem with elementary in 1.10 due to eo changes.

-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users