[TYPO3-core] RFC Feature #10725: Integrate possibility to determine maximum of multiple values in GIFBUILDER

Oliver Hader oliver at typo3.org
Sat Mar 21 12:26:47 CET 2009


Hi Benni,

Benjamin Mack schrieb:
> Hey Olly,
> 
> shouldn't we do like a
> 
> XY.maxW =
> XY.maxH =
> 
> or XY.max =
> 
> to keep in style with the rest of TS?
> 
> max(30,30)
> 
> seems odd to me as an old TS user :)

The new max() function addresses the "+calc" possibility in GIFBUILDER,
e.g. for "XY" or "offset". The values are not known at this point but
calculated. Therefore setting something like XY.max would be something
completely different...

XY = [10.w]+[20.w], max([10.h], [20.h])

Furthermore the calculated values can be used for further mathematical
calculation. I think it's more confusing to introduce new properties
like "maxW" or "maxH" and allow using "+calc" there as well...

olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list