Support for w=opposite+x and x=100%-width and w=opposite/2

Everything, that fits not well into other forums - Questions, Talk, Beta-Versions ...
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
SilverEagle
Posts: 713
Joined: 30. Sep 08, 14:00
Location: Netherlands
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Support for w=opposite+x and x=100%-width and w=opposite/2

Postby SilverEagle » 8. Oct 08, 10:53

Hi Team,

For creating scalable skins I'd like the following:

1) Currently you can use w="opposite" to create squares, but w="opposite+10" or w="opposite+10%" does not work. I suppose this is a bug?

2) To be able to "glue" items with the right/lower side of a design, some syntax like x=100%-width and y=50%-height would be most welcome.

3) Could math be expanded to use +,-,*,/ and preferably () precedence bracketing? Together with my previous wish you could then use x=50%-(width/2)+10 to have really neat resize logic.

4) Could math be expanded to use scripting variables? Not sure if that would be possible within the framework, I presume the skin only gets parsed once and not with a program.refreshWindows(). But I can alway ask :-).

Regards,
SilverEagle

User avatar
Service-Team
Posts: 2448
Joined: 7. Dec 04, 04:48
Location: Germany
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Support for w=opposite+x and x=100%-width and w=opposite

Postby Service-Team » 9. Oct 08, 19:26

Thank you for your ideas, we will keep them in mind ;-)

Be sure, if we make a larger update of the skinning possibilities, positions and so on may be computed using the existant scripting engine (remember, when we defined the skinning possibilities some years ago, there was no scripting support in Silverjuke ...)

Best regards,
Your Silverjuke-Team


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Main Forum”