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? KaKaRoTo On Wed, Sep 7, 2011 at 11:09 AM, Gustavo Barbieri <barbi...@profusion.mobi>wrote: > To disable cursor we can just use standard ecore_evas and set a > transparent rectangle. But really, it is so common we could add it in > ecore_evas itself > > --Gustavo > > Sent from my iPhone > > On 07/09/2011, at 03:59, Enlightenment SVN <no-re...@enlightenment.org> > wrote: > > > Log: > > Eskiss: Disable forced dependency on ecore-x > > > > Author: kakaroto > > Date: 2011-09-06 23:58:54 -0700 (Tue, 06 Sep 2011) > > New Revision: 63257 > > Trac: http://trac.enlightenment.org/e/changeset/63257 > > > > Modified: > > trunk/GAMES/eskiss/configure.ac trunk/GAMES/eskiss/src/bin/main.c > > > > Modified: trunk/GAMES/eskiss/configure.ac > > =================================================================== > > --- trunk/GAMES/eskiss/configure.ac 2011-09-07 06:58:48 UTC (rev > 63256) > > +++ trunk/GAMES/eskiss/configure.ac 2011-09-07 06:58:54 UTC (rev > 63257) > > @@ -54,8 +54,14 @@ > > > > # Eina library > > > > -PKG_CHECK_MODULES(ESKISS, [edje ecore-evas ecore-x ecore-file ecore evas > eet eina]) > > +PKG_CHECK_MODULES(ESKISS, [edje ecore-evas ecore-file ecore evas eet > eina]) > > +PKG_CHECK_MODULES(ECORE_X, [ecore-x], [have_ecore_x="yes"], > [have_ecore_x="no"]) > > > > +AM_CONDITIONAL(HAVE_ECORE_X, test "x$have_ecore_x" = "xyes") > > +if test "x$have_ecore_x" = "xyes"; then > > + AC_DEFINE(HAVE_ECORE_X, 1, [Ecore-x available]) > > +fi > > + > > ### Checks for header files > > > > AC_CHECK_HEADER([chipmunk/chipmunk.h], > > > > Modified: trunk/GAMES/eskiss/src/bin/main.c > > =================================================================== > > --- trunk/GAMES/eskiss/src/bin/main.c 2011-09-07 06:58:48 UTC (rev > 63256) > > +++ trunk/GAMES/eskiss/src/bin/main.c 2011-09-07 06:58:54 UTC (rev > 63257) > > @@ -24,7 +24,10 @@ > > #include "level.h" > > #include "level_editor.h" > > #include "level_chooser.h" > > + > > +#ifdef HAVE_ECORE_X > > #include <Ecore_X.h> > > +#endif > > > > int _drawin_log_domain = -1; > > > > @@ -311,11 +314,13 @@ > > if (is_fullscreen) > > ecore_evas_fullscreen_set(application->ee, EINA_TRUE); > > > > +#ifdef HAVE_ECORE_X > > if (!has_cursor && > !strcmp(ecore_evas_engine_name_get(application->ee), "software_x11")) > > { > > Ecore_X_Window ewin = > ecore_evas_software_x11_window_get(application->ee); > > ecore_x_window_cursor_show(ewin, 0); > > } > > +#endif > > > > ecore_evas_show(application->ee); > > > > > > > > > ------------------------------------------------------------------------------ > > Using storage to extend the benefits of virtualization and iSCSI > > Virtualization increases hardware utilization and delivers a new level of > > agility. Learn what those decisions are and how to modernize your storage > > and backup environments for virtualization. > > http://www.accelacomm.com/jaw/sfnl/114/51434361/ > > _______________________________________________ > > enlightenment-svn mailing list > > enlightenment-...@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > > ------------------------------------------------------------------------------ > Using storage to extend the benefits of virtualization and iSCSI > Virtualization increases hardware utilization and delivers a new level of > agility. Learn what those decisions are and how to modernize your storage > and backup environments for virtualization. > http://www.accelacomm.com/jaw/sfnl/114/51434361/ > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > ------------------------------------------------------------------------------ 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