You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Gav...." <br...@brightontown.com.au> on 2006/08/21 13:05:18 UTC
Round Corners implementation.
I was wondering if anybody thought that the implementation of round or
diagonal corners could be made easier to implement.
Currently we have, to create an image
background-image:
url(images/rc-b-r-5-1header-2tab-selected-3tab-selected.png);
Would it be more beneficial to create a section (in skinconf.xml ?)
<image-corners>
<style name = "type" value = "rc" />
<style name = "orientation" value = "br" />
<style name = "backgroundColor" value = "header" />
<style name = "strokeColor" value = "tab-selected" />
<style name = "foregroundColor" value = "tab-selected" />
</image-corners>
Then apply it with just
background-image: url(images/image-corners.png);
Looks much better but Would this work, would it help clarify or a waste of
time ?
Gav...
RE: Round Corners implementation.
Posted by "Gav...." <br...@brightontown.com.au>.
> -----Original Message-----
> From: Gav.... [mailto:brightoncomputers@brightontown.com.au]
> Sent: Monday, 21 August 2006 7:05 PM
> To: dev@forrest.apache.org
> Subject: Round Corners implementation.
>
> I was wondering if anybody thought that the implementation of round or
> diagonal corners could be made easier to implement.
>
> Currently we have, to create an image
>
>
> background-image:
> url(images/rc-b-r-5-1header-2tab-selected-3tab-selected.png);
>
> Would it be more beneficial to create a section (in skinconf.xml ?)
>
> <image-corners>
> <style name = "type" value = "rc" />
> <style name = "orientation" value = "br" />
> <style name = "backgroundColor" value = "header" />
> <style name = "strokeColor" value = "tab-selected" />
> <style name = "foregroundColor" value = "tab-selected" />
> </image-corners>
Erm, not at the moment because there would need to be one of these sections
for every occurance of a round-corner image.
Forget I mentioned it, I'll mull it over some more.
Gav...
>
> Then apply it with just
>
> background-image: url(images/image-corners.png);
>
> Looks much better but Would this work, would it help clarify or a waste of
> time ?
>
>
> Gav...
>
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.11.3/423 - Release Date: 8/18/2006