[slang-users] Refresh problem
leslie.polzer at gmx.net
leslie.polzer at gmx.net
Wed Jun 28 13:57:55 EDT 2006
On Wed, Jun 28, 2006 at 11:47:25AM -0400, John E. Davis wrote:
> The screen update is smart and should update only that part of the
> display that has changed. Are you invalidating the lines on the screen
> using, e.g., SLsmg_touch_lines or SLsmg_touch_screen?
No, nothing like that. The relevant code snippet is very simple:
---
SLtt_set_color(200, NULL, "white", "cyan");
SLsmg_set_color(200);
SLsmg_gotorc(1, 1);
SLsmg_write_nstring(NULL, 10);
SLsmg_gotorc(1, 1);
SLsmg_printf("%s", "some string");
SLsmg_refresh();
---
Leslie
--
gpg --keyserver pgp.mit.edu --recv-keys 0x52D70289
http://nic-nac-project.de/~skypher/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://mailman.jtan.com/pipermail/slang-users-l/attachments/20060628/c515e64b/attachment.bin
More information about the slang-users-l
mailing list