On Wed, Sep 7, 2011 at 10:08 PM, Youness Alaoui
<kakar...@kakaroto.homelinux.net> wrote:
> That's a good idea. the PS3's GPU also has a special command to hide/show a
> cursor on screen, and I was planning on doing an API for it in
> ecore_psl1ght, but it would be better to integrate it directly into
> ecore_evas. I think an API like the one in ecore_x would be good, but return
> a boolean instead of void, this way you can report errors (for engines that
> don't support it, or for the ps3 where it wouldn't work if you don't supply
> it with a cursor bitmap first).
> So, what do you think about this API :
>
> EAPI Eina_Bool ecore_evas_cursor_show(Ecore_Evas *ee, Eina_Bool show);
>
> If agreed on, should I just go ahead and add it to Ecore-evas?

visible_set() would be more EFL-like. With visible_get() to pair.

I wonder if the return will be of any use... if the user must do
something else, then just do it in Ecore_Evas. For example, if you
don't support turning off the cursor, do some trick, like transparent
bitmap.


-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to