Package list mdp-src / 1318527
New upstream version 1.0.14 Lev Lamberov 2 years ago
4 changed file(s) with 6 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
1313 guobin2312
1414 lukebond
1515 namhyung
16 ethanherbertson
1617
2424
2525 #define MDP_VER_MAJOR 1
2626 #define MDP_VER_MINOR 0
27 #define MDP_VER_REVISION 13
27 #define MDP_VER_REVISION 14
2828
2929 #endif // !defined( MAIN_H )
7373 struct _slide_t *next;
7474 int lines;
7575 int stop;
76 int lines_consumed;
7677 } slide_t;
7778
7879 typedef struct _deck_t {
157157 max_lines_slide = sc;
158158 }
159159
160 slide->lines_consumed = lc;
160161 slide = slide->next;
161162 ++sc;
162163 }
336337
337338 // print lines
338339 while(line) {
339 add_line(content, l, (COLS - max_cols) / 2, line, max_cols, colors);
340 add_line(content, l + ((LINES - slide->lines_consumed - bar_top - bar_bottom) / 2),
341 (COLS - max_cols) / 2, line, max_cols, colors);
340342
341343 // raise stop counter if we pass a line having a stop bit
342344 if(CHECK_BIT(line->bits, IS_STOP))