comparison ui.h @ 504:60e04709ce0f

Refactor window backbuffer to use integer as internal storage to simplify line handling and buffer drawing.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 02 Jun 2012 22:00:25 +0300
parents ca88945d8eda
children 942eea564b15
comparison
equal deleted inserted replaced
503:bac3f9af112c 504:60e04709ce0f
23 #define NN_BACKBUF_LEN (512) // Backbuffer size (in lines) 23 #define NN_BACKBUF_LEN (512) // Backbuffer size (in lines)
24 24
25 25
26 typedef struct 26 typedef struct
27 { 27 {
28 char *buf; 28 int *buf;
29 size_t chlen, len, bufsize; 29 size_t len, bufsize;
30 } nn_line_t; 30 } nn_line_t;
31 31
32 32
33 typedef struct 33 typedef struct
34 { 34 {