[ubuntu-art] NW Config update + idea

Anton Kerezov ankere at gmail.com
Sat Jan 9 14:44:41 GMT 2010


В 14:45 +0100 на 09.01.2010 (сб), Thorsten Wilms написа:
> Well, even if you really have to do that, there would still be an
> advantage to having fixed names and an SVG template. It just wouldn't be
> the source of _all_ final images, then.

Porbably possible :)


> 
> Either the border values have to specified separately (a GUI tool could
> help), or perhaps you could have a layer with rectangles in the SVG and
> have a script that queries for their dimensions.
> 
> Aren't there elements where stretch is pretty much a must? Or do you
> have an example of an element that would have to be stretched in one of
> them, but not another?


Example:
image {
       function		= SLIDER
       recolorable      = TRUE
       state           	= PRELIGHT
       file		= "Images/Range/null.png"
       border		= { 0, 0, 0, 0 }
       stretch		= TRUE
       overlay_file= "Images/Range/slider-vert-prelight.png"
       overlay_stretch	= FALSE
       orientation      = VERTICAL
      }
where the thermer may want to stretch the overlay or	

 image
    {
      function			= BOX
      state 			= NORMAL
      detail			= "spinbutton_up"
      recolorable		= TRUE
      file			= "Images/Spin/spin-up-bg.png"
      border			= { 2, 2, 2, 2}
      stretch			= TRUE
      overlay_file		= "Images/Spin/arrow-up.png"
      overlay_stretch		= FALSE
    }

where you might want to stretch the arrow somehow and use some specific
image for bg. Still it is very uncommon to do so :) If the creator want
he can open the file and edit this manually.


As you say a GUI that creates a template folder with template svgs
(probably with example content in them) would be perfect along with that
rect that the designer specifies to be a border.



____________________________
Anton Kerezov
http://ankere.wordpress.com/




More information about the ubuntu-art mailing list