On Sat, 1 Jan 2011 14:16:47 +0100 Michael Taubert <mich...@arachnodroid.de> said:
> Hi all! > > I'm trying to draw an evas text object within an ecore_evas_gl_x11_new(). > > As stated in the Evas/Ecore docs, there should be no need to update it > manually, except for updating the content within an animator. My assumption > was this: > > - Init of ecore, evas, ecore_evas, ecore_x > - Create an gl_x11 Evas_Object > - Add a text object > - configure the text object (color,text,...) > - Show the object > - Show the gl_x11 Canvas/Window (depends on wether a parent window has been > supplied) > - Register an animator for content updates > - Start the ecore mainloop > > But it is not working. I saw that some people are using the elementary > mainloop, but I don't need any widgets here. What should be the correct way > to setup a canvas or window and have it updated within ecore's mainloop? you have it right. maybe try a rectangle as a bg (a big white or blue or grey rect) and then move a different colored rect obj around instead of text your text obj may not appear due to font not being available that u set up? u'll know if font works by getting text obj geometry after setting up font+text -it will be 0x0. i assume the window appears - it's just empty? > Thanks in advance, > Michael > > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > 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) ras...@rasterman.com ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel