<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rockbox/apps/gui/skin_engine/wps_internals.h, branch master</title>
<subtitle>My Rockbox tree</subtitle>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/'/>
<entry>
<title>skin_engine: New param "noborder" for the bar tags.</title>
<updated>2014-01-12T14:22:29+00:00</updated>
<author>
<name>Thomas Martitz</name>
<email>kugel@rockbox.org</email>
</author>
<published>2014-01-12T14:11:46+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=3ae73433ab826c7a4f3c49b4d0a86fd9dc29a9cc'/>
<id>3ae73433ab826c7a4f3c49b4d0a86fd9dc29a9cc</id>
<content type='text'>
By specifying this param the bar will not have a border/box. Instead
the inner part that fills up is maximized on the bar area.

Note that this only affects bars using foreground and background colors,
not those constructed with images.

Change-Id: Ib8dd49ecbaf9e16b96de840f5f365871b73d4fa4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By specifying this param the bar will not have a border/box. Instead
the inner part that fills up is maximized on the bar area.

Note that this only affects bars using foreground and background colors,
not those constructed with images.

Change-Id: Ib8dd49ecbaf9e16b96de840f5f365871b73d4fa4
</pre>
</div>
</content>
</entry>
<entry>
<title>skin engine: Fix FS#12884.</title>
<updated>2014-01-10T20:54:06+00:00</updated>
<author>
<name>Thomas Martitz</name>
<email>kugel@rockbox.org</email>
</author>
<published>2014-01-10T20:50:37+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=d4d3f3c494e48304d41eada0a4881a9d2b4b97f4'/>
<id>d4d3f3c494e48304d41eada0a4881a9d2b4b97f4</id>
<content type='text'>
The %Vf and %Vb tags change the colors for the rest of the viewport. This
requires the rest of the vp to be redrawn when they change due to a conditional.
The previous code did this redraw in all cases (conditional or not) which
led to visible blinking.

Change-Id: Ie59dfc6fe8ed76485a2a2bd7caf1315f1944c227
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The %Vf and %Vb tags change the colors for the rest of the viewport. This
requires the rest of the vp to be redrawn when they change due to a conditional.
The previous code did this redraw in all cases (conditional or not) which
led to visible blinking.

Change-Id: Ie59dfc6fe8ed76485a2a2bd7caf1315f1944c227
</pre>
</div>
</content>
</entry>
<entry>
<title>skin_engine: Fix albumart logic on skin reloading.</title>
<updated>2013-06-09T15:39:08+00:00</updated>
<author>
<name>Thomas Martitz</name>
<email>kugel@rockbox.org</email>
</author>
<published>2013-05-14T05:03:44+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=58b4e71d3244b3c433e1fd3b494d17379bf57c48'/>
<id>58b4e71d3244b3c433e1fd3b494d17379bf57c48</id>
<content type='text'>
This logic checks whether the skin's albumart dimensions differ from the
previous skin to force rebuffering if necessary. This was broken since
a while as the necessary information was reset.

Change-Id: I3b9f3a819c6af202af8ad66c13742f704ce45ab1
Reviewed-on: http://gerrit.rockbox.org/476
Tested-by: Thomas Martitz &lt;kugel@rockbox.org&gt;
Reviewed-by: Thomas Martitz &lt;kugel@rockbox.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This logic checks whether the skin's albumart dimensions differ from the
previous skin to force rebuffering if necessary. This was broken since
a while as the necessary information was reset.

Change-Id: I3b9f3a819c6af202af8ad66c13742f704ce45ab1
Reviewed-on: http://gerrit.rockbox.org/476
Tested-by: Thomas Martitz &lt;kugel@rockbox.org&gt;
Reviewed-by: Thomas Martitz &lt;kugel@rockbox.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>skin_engine: Add a debug screen to display skin ram usage</title>
<updated>2013-02-12T10:01:13+00:00</updated>
<author>
<name>Jonathan Gordon</name>
<email>rockbox@jdgordon.info</email>
</author>
<published>2013-02-12T10:00:05+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=aaf30651df27e0eb6fab876502fa1e6c084160bf'/>
<id>aaf30651df27e0eb6fab876502fa1e6c084160bf</id>
<content type='text'>
Change-Id: Ida9c33211d9360ac88e30a2cf8df9f191bee8b45
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ida9c33211d9360ac88e30a2cf8df9f191bee8b45
</pre>
</div>
</content>
</entry>
<entry>
<title>9 segment bitmap drawing:</title>
<updated>2012-12-09T06:11:19+00:00</updated>
<author>
<name>Jonathan Gordon</name>
<email>rockbox@jdgordon.info</email>
</author>
<published>2012-12-03T09:43:58+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=685cf5900825b10c952f36301abbbd9968567435'/>
<id>685cf5900825b10c952f36301abbbd9968567435</id>
<content type='text'>
Use %x9(id) to draw an image in the whole current viewport using the
9 segment drawer (which draws the corners as normal and *tiles*
the middle segments to the needed width/height).

Future work is to make it scale instead of tile

Change-Id: Ic3ed1cad93f96091694801eb442e0da5a2401203
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use %x9(id) to draw an image in the whole current viewport using the
9 segment drawer (which draws the corners as normal and *tiles*
the middle segments to the needed width/height).

Future work is to make it scale instead of tile

Change-Id: Ic3ed1cad93f96091694801eb442e0da5a2401203
</pre>
</div>
</content>
</entry>
<entry>
<title>skin_engine: Allow the %St() (setting) skin tag be used as a bar</title>
<updated>2012-07-05T13:30:06+00:00</updated>
<author>
<name>Jonathan Gordon</name>
<email>rockbox@jdgordon.info</email>
</author>
<published>2012-07-05T12:44:13+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=65f9df3083623484efccf502c33ecc959555d247'/>
<id>65f9df3083623484efccf502c33ecc959555d247</id>
<content type='text'>
%St(&lt;setting name&gt;) or %St(&lt;bar tags&gt;, setting, &lt;setting name&gt;)

Change-Id: I71396d683634d4d1ad2357018c4029ecb4229677
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
%St(&lt;setting name&gt;) or %St(&lt;bar tags&gt;, setting, &lt;setting name&gt;)

Change-Id: I71396d683634d4d1ad2357018c4029ecb4229677
</pre>
</div>
</content>
</entry>
<entry>
<title>skin_engine: Automatically create touch regions for skin bars</title>
<updated>2012-07-05T01:15:16+00:00</updated>
<author>
<name>Jonathan Gordon</name>
<email>rockbox@jdgordon.info</email>
</author>
<published>2012-06-24T11:52:18+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=d336eb30f8098f4a8f0bc27dc40358b30e57decd'/>
<id>d336eb30f8098f4a8f0bc27dc40358b30e57decd</id>
<content type='text'>
skin bars now automatically create the touch region the same size
as the bar on touchscreen targets. This means touches will
magically "just work" for reveresed bars (rtl or otherwise).

~5% padding is added on all 4 sides of the region rectangle but
this may need to be tweaked.

Please consider the 'progressbar' and 'volume' touchregion actions
to be deprecated.

Kudos to my new wife for figuring out the bleedingly obvious way to
do this!

Change-Id: I997a7bcaa70fce9885808aae27953c7676e9c2ff
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
skin bars now automatically create the touch region the same size
as the bar on touchscreen targets. This means touches will
magically "just work" for reveresed bars (rtl or otherwise).

~5% padding is added on all 4 sides of the region rectangle but
this may need to be tweaked.

Please consider the 'progressbar' and 'volume' touchregion actions
to be deprecated.

Kudos to my new wife for figuring out the bleedingly obvious way to
do this!

Change-Id: I997a7bcaa70fce9885808aae27953c7676e9c2ff
</pre>
</div>
</content>
</entry>
<entry>
<title>get_image_filename() return value is never used</title>
<updated>2012-05-07T03:00:52+00:00</updated>
<author>
<name>Rafaël Carré</name>
<email>funman@videolan.org</email>
</author>
<published>2012-05-07T03:00:52+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=aaf9a1be494812dd6aedde12ea7b3c2d3305d6b7'/>
<id>aaf9a1be494812dd6aedde12ea7b3c2d3305d6b7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>skin_engine: New tag to draw a rectangle (optionally with a gradient)</title>
<updated>2012-03-15T11:52:53+00:00</updated>
<author>
<name>Jonathan Gordon</name>
<email>rockbox@jdgordon.info</email>
</author>
<published>2012-03-15T11:50:17+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=014a08cabb856b2360419aac404744029ee4748c'/>
<id>014a08cabb856b2360419aac404744029ee4748c</id>
<content type='text'>
%dr(x, y, width, height, [colour1[, colour2]]):
x,y - viewport relative pixel coordinates to start the rectangle.
width, height - obvious. can be '-' to fill the viewport
if both colours are left out the viewports foreground colour will be used
if one colour is specified it will fill the rectangle that colour.
if both colours are specified it will gradient fill the rectangle.

Change-Id: Iad451e99ded663bc7c5d182443659db7d909b388
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
%dr(x, y, width, height, [colour1[, colour2]]):
x,y - viewport relative pixel coordinates to start the rectangle.
width, height - obvious. can be '-' to fill the viewport
if both colours are left out the viewports foreground colour will be used
if one colour is specified it will fill the rectangle that colour.
if both colours are specified it will gradient fill the rectangle.

Change-Id: Iad451e99ded663bc7c5d182443659db7d909b388
</pre>
</div>
</content>
</entry>
<entry>
<title>skin_engine: Clean up %x() handling - beware theme issues</title>
<updated>2012-02-28T12:51:01+00:00</updated>
<author>
<name>Jonathan Gordon</name>
<email>rockbox@jdgordon.info</email>
</author>
<published>2012-02-28T11:05:28+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=34031cba5bddcc29dee0f61b3ea6ee1529014181'/>
<id>34031cba5bddcc29dee0f61b3ea6ee1529014181</id>
<content type='text'>
Internally remove some hacks around how %x() is handled.
%x() inside the default viewport will no longer work if
other viewports are used, so if you are using viewports and
%x() make sure it is in a viewport!

Change-Id: I8ecab805d55fc0f8476ff0516cba38e23400aa20
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Internally remove some hacks around how %x() is handled.
%x() inside the default viewport will no longer work if
other viewports are used, so if you are using viewports and
%x() make sure it is in a viewport!

Change-Id: I8ecab805d55fc0f8476ff0516cba38e23400aa20
</pre>
</div>
</content>
</entry>
</feed>
