Hi again, concerning Dirks' proposal of XML+"engines": That's exactly what I had in mind and tried to formulate in my last posting.
On Thursday 05 January 2006 17:05, Jason Tackaberry wrote: > But this is no longer 4:3. Consider a margin (overscan) of 10 pixels. > (640-20)/(480-20) = 1.347. > > This isn't really a problem. We shouldn't require a specific aspect > ratio. We shouldn't be positioning items by fixed coordinate but rather > by percentages of their container. Exactly my thoughts. > <container left="10" top="10" right="-10" bottom="-10"> > * Allow negative coordinates for right/bottom (and > hcenter/vcenter) coords. ..this might clash with that: > <container margin="10 10 10 10" > > <image file="foo.png" left="-10" /> > </container> I find the latter more natural (and very useful, too) - how about allowing simple expressions as values, then one could write "100% - 10" to simulate the first. I know, this is extra work to implement, but it's certainly something I missed several times in HTML/CSS. > [...] > This where things get rather ugly. The problem here is that the > condition clearly can't be evaluated at xml-parse time. It almost seems > to mean canvas objects will need a condition property, which isn't very > elegant. I'm not sure the right way to implement this. I'll need to > think about it. How about a "visible" property? Then Freevo can use the extra condition attributes (canvas.xml could store them without looking at them) and conditionally hide/show canvas elements. Have a nice day! Hans ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Freevo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-devel
