Notification test with full screen of text - 15 cahrs by 10 lines

This commit is contained in:
Nils Faerber 2011-07-31 00:53:51 +02:00
parent 1141284143
commit b13e74e7ce
3 changed files with 44 additions and 3 deletions

View file

@ -387,7 +387,7 @@ void mw_send_bitmap(int mw_fd, unsigned char mode, int width, int height, int of
memset(mw_buf, 0, 24);
memcpy(mw_buf, (bmapbuf+(y*rowlength)), (rowlength > 12) ? 12 : rowlength);
memcpy((mw_buf+12), (bmapbuf+((y+1)*rowlength)), (rowlength > 12) ? 12 : rowlength);
mw_write_buffer(mw_fd, mode, 0, 31+y, mw_buf, 24);
mw_write_buffer(mw_fd, mode, 0, offset+y, mw_buf, 24);
}
}