<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rockbox/firmware/export/lcd-remote.h, branch master</title>
<subtitle>My Rockbox tree</subtitle>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/'/>
<entry>
<title>put_line/scrolling: Make the scroll engine inform custom scrollers about start/stop of scrolling.</title>
<updated>2014-01-12T00:34:06+00:00</updated>
<author>
<name>Thomas Martitz</name>
<email>kugel@rockbox.org</email>
</author>
<published>2014-01-12T00:30:26+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=488a1b983e1c2fac14de25aa781caf12628e53c8'/>
<id>488a1b983e1c2fac14de25aa781caf12628e53c8</id>
<content type='text'>
With the new lcd_putsxy_scroll_func() code can register custom scroll functions
(put_line() makes use of that). In order for the custom scroller to be able
to properly manage its userdata pointer (set via struct scrollinfo::userdata)
the scroll engine must inform the scroller about start and stop of scrolling.

To inform about start the lcd_scroll_* functions now return true when
the line will scroll. To inform about stop the scroll engine calls into the
scroller one last time, with the text set to NULL.

put_line() can use this to release the userdata registered per scrolling line
so that it can be recycled.

This fixes that some scrolling lines became glitchy after some time because
the userdata was recycled too early.

Change-Id: Iff0a6ce2a4f9ae2bada1b8e62f4f5950224942a9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With the new lcd_putsxy_scroll_func() code can register custom scroll functions
(put_line() makes use of that). In order for the custom scroller to be able
to properly manage its userdata pointer (set via struct scrollinfo::userdata)
the scroll engine must inform the scroller about start and stop of scrolling.

To inform about start the lcd_scroll_* functions now return true when
the line will scroll. To inform about stop the scroll engine calls into the
scroller one last time, with the text set to NULL.

put_line() can use this to release the userdata registered per scrolling line
so that it can be recycled.

This fixes that some scrolling lines became glitchy after some time because
the userdata was recycled too early.

Change-Id: Iff0a6ce2a4f9ae2bada1b8e62f4f5950224942a9
</pre>
</div>
</content>
</entry>
<entry>
<title>lcd-common/scroll_engine: Remove unused functions lcd_puts_style_xyoffset() and lcd_puts_scroll_style_xyoffset().</title>
<updated>2014-01-07T13:13:48+00:00</updated>
<author>
<name>Thomas Martitz</name>
<email>kugel@rockbox.org</email>
</author>
<published>2013-04-14T16:15:09+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=9a4686b563ac9e27615e1032792bd9878bb291f7'/>
<id>9a4686b563ac9e27615e1032792bd9878bb291f7</id>
<content type='text'>
With this functions removed there is no exported function in firmware left
that draws line decorations. Also no function supports specifying an y-offset
anymore (was used for pixel accurate positioning of otherwise strictly line-based
API calls).

Both should be handled in apps/ now.

Change-Id: Iba4b28ccc6e686c7db63e34b51ad4badae983fce
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With this functions removed there is no exported function in firmware left
that draws line decorations. Also no function supports specifying an y-offset
anymore (was used for pixel accurate positioning of otherwise strictly line-based
API calls).

Both should be handled in apps/ now.

Change-Id: Iba4b28ccc6e686c7db63e34b51ad4badae983fce
</pre>
</div>
</content>
</entry>
<entry>
<title>lcd-common/scroll_engine: Remove unused functions lcd_puts_scroll_style().</title>
<updated>2014-01-07T13:13:48+00:00</updated>
<author>
<name>Thomas Martitz</name>
<email>kugel@rockbox.org</email>
</author>
<published>2013-04-14T16:13:12+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=775ebe4ff6508d13712beb6bc18e546adb39f47d'/>
<id>775ebe4ff6508d13712beb6bc18e546adb39f47d</id>
<content type='text'>
Change-Id: Ia4f943b3738ab6e66b0e3f1507c629b36d7eba94
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ia4f943b3738ab6e66b0e3f1507c629b36d7eba94
</pre>
</div>
</content>
</entry>
<entry>
<title>lcd-common: Remove unused function lcd_puts_style_offset().</title>
<updated>2014-01-07T13:13:48+00:00</updated>
<author>
<name>Thomas Martitz</name>
<email>kugel@rockbox.org</email>
</author>
<published>2013-04-13T16:20:42+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=7cd07290e6fc21ab8b2b6d438d7a6b24b3708e35'/>
<id>7cd07290e6fc21ab8b2b6d438d7a6b24b3708e35</id>
<content type='text'>
Change-Id: I24da23d132f933fe647416dc58e8f50879715423
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I24da23d132f933fe647416dc58e8f50879715423
</pre>
</div>
</content>
</entry>
<entry>
<title>lcd-common: Remove unused function lcd_puts_style().</title>
<updated>2014-01-07T13:13:48+00:00</updated>
<author>
<name>Thomas Martitz</name>
<email>kugel@rockbox.org</email>
</author>
<published>2013-04-13T16:19:55+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=1e324aac36c123340d8d33338042402164581860'/>
<id>1e324aac36c123340d8d33338042402164581860</id>
<content type='text'>
Change-Id: Id2c64c116f79b8e61a7af49b9072b3e884ffb455
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Id2c64c116f79b8e61a7af49b9072b3e884ffb455
</pre>
</div>
</content>
</entry>
<entry>
<title>lcd-common: Remove unused function lcd_puts_offset().</title>
<updated>2014-01-07T13:13:48+00:00</updated>
<author>
<name>Thomas Martitz</name>
<email>kugel@rockbox.org</email>
</author>
<published>2013-04-13T16:17:16+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=8f64625888965d7eed46101fad8fc7fbd9e30f03'/>
<id>8f64625888965d7eed46101fad8fc7fbd9e30f03</id>
<content type='text'>
Change-Id: I39749bf3db915e5a8ddb6e6f25eb201ea0aaf981
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I39749bf3db915e5a8ddb6e6f25eb201ea0aaf981
</pre>
</div>
</content>
</entry>
<entry>
<title>lcd-common/scroll_engine: Remove unused functions lcd_puts_scroll_offset() and lcd_puts_scroll_style_offset().</title>
<updated>2014-01-07T13:13:48+00:00</updated>
<author>
<name>Thomas Martitz</name>
<email>kugel@rockbox.org</email>
</author>
<published>2013-04-11T10:07:06+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=a422604435bbb92b6d69552e347c8fa56c0830a2'/>
<id>a422604435bbb92b6d69552e347c8fa56c0830a2</id>
<content type='text'>
Change-Id: Ia84ae88020d06a1cb634942ab5e635fd5d10ac66
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ia84ae88020d06a1cb634942ab5e635fd5d10ac66
</pre>
</div>
</content>
</entry>
<entry>
<title>lcd-common/scroll_engine: Introduce lcd_putsxy_scroll_func().</title>
<updated>2014-01-07T10:36:00+00:00</updated>
<author>
<name>Thomas Martitz</name>
<email>kugel@rockbox.org</email>
</author>
<published>2013-12-20T22:34:28+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=6630958533d02d66dca8cc79897fda2cb744c076'/>
<id>6630958533d02d66dca8cc79897fda2cb744c076</id>
<content type='text'>
This function supports installing a custom scroll callback. This will be
called when the scrollengine redraws the line. It allows to draw extended
styles (or anything your can possible imagine) along with the text.

It is also strictly pixel-based, the first pixel-based function that supports
scrolling.

Change-Id: I57f81ac7b3d08b877aea4cb8afa882f175ebcdfc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This function supports installing a custom scroll callback. This will be
called when the scrollengine redraws the line. It allows to draw extended
styles (or anything your can possible imagine) along with the text.

It is also strictly pixel-based, the first pixel-based function that supports
scrolling.

Change-Id: I57f81ac7b3d08b877aea4cb8afa882f175ebcdfc
</pre>
</div>
</content>
</entry>
<entry>
<title>scroll_engine: Add STYLE_NONE to allow for drawing lines without styling.</title>
<updated>2013-12-14T22:11:31+00:00</updated>
<author>
<name>Thomas Martitz</name>
<email>kugel@rockbox.org</email>
</author>
<published>2013-04-12T05:27:08+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=26801b3bd8f11fe680146086aa0a2fd12e7de289'/>
<id>26801b3bd8f11fe680146086aa0a2fd12e7de289</id>
<content type='text'>
This allows to draw lines without destroying styles that were drawn manually
(e.g. from apps/) beforehand.

Change-Id: I0de290c9343061efb115e1b76da5b76395c2b2af
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows to draw lines without destroying styles that were drawn manually
(e.g. from apps/) beforehand.

Change-Id: I0de290c9343061efb115e1b76da5b76395c2b2af
</pre>
</div>
</content>
</entry>
<entry>
<title>scroll_engine: Rename scroll_stop* functions to be more consistent with the lcd api.</title>
<updated>2013-12-14T22:11:30+00:00</updated>
<author>
<name>Thomas Martitz</name>
<email>kugel@rockbox.org</email>
</author>
<published>2013-04-03T14:33:23+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=1c5d0b41eebdb4f8c627b1a0e5f7b699f0b08fb8'/>
<id>1c5d0b41eebdb4f8c627b1a0e5f7b699f0b08fb8</id>
<content type='text'>
Change-Id: I8ada10b96bfb628cca0331689e8b936ae47c7e1c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I8ada10b96bfb628cca0331689e8b936ae47c7e1c
</pre>
</div>
</content>
</entry>
</feed>
