[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [E-devel] Resizing Edje Parts - on the road to entrance preview

Carsten Haitzler (The Rasterman) wrote:
> On Mon, 21 Aug 2006 13:55:45 +0100 Essien Ita Essien <essien@wazobialinux.com>
> babbled:
> no attachment :)

attached now. sorry about that.
> but - note the livethumb uses a BUFFER canvas - it sets the resolution of the
> BUFFER canvas to be higher than the output. make this resolution high enough
> (eg 800x600) and evas will scale that 800x600 "buffer" canvas down to the size
> of the output of the preview. that is how the livethumb works.
>> Hiya Everybody,
>> I've been on a slow road to building a real preview object for 
>> entrance_edit_gui. The idea is to always show the full entrance in a 
>> small preview window, complete with all the edje effects that the theme 
>> or background may have to offer. Eventually too, complete with the 
>> greetings, etc.  Right now though, all i just want is to display 
>> (obviously :) ).
>> Raster and Codewarrior asked me to look thru e_livethumb subsystem. And 
>> I discovered i knew nothing of Esmarts and coding that the evas layer, 
>> so I went to fix that and I'm better in that regard now. Here I'm 
>> attaching  minientrance.tar.gz (NOTE: THE ENTRANCE THEME FILE I USED IS 
>> HARDCODED, PLEASE MODIFY B4 YOU COMPILE) which is a complete esmart 
>> object for entrance that i'm playing with to understand the problem 
>> (apparently, there's an incomplete and not used entrance_smart object in 
>> entrance right now, but its well... not quite in use, so its rusty).
>> The main problem I have with this smart object and infact, in general is 
>> that when I load the edje, the main login box, refuses to resize below 
>> its min geometry. I do not know if its possible to *force* an edje part 
>> to resize below its min width or so.  If you compile minientrance, and 
>> resize the window, you'll notice the box just refuses to resize with the 
>> rest of the ui.
>> What I was aiming at doing is to instantiate the entrance_smart obj, and 
>> give it a size say 100x50, and have it render itself properly as a 
>> preview. When I then change the theme or background in the gui config 
>> tool, I'll just make the esmart object refresh itself. Basically, i 
>> guess once the smart object works well, its all ok. the next issue will 
>> be loading it in an etk/ewl canvas or something. But that's another story :)
>> Am I on the right track? Someone, smack me on the head with a 
>> solution/idea :)
>> cheers,
>> Essien
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Attachment: minientrance.tar.gz
Description: application/gzip