Lines Matching defs:hdscr

109 	struct hlcd_screen *hdscr = id;
111 hdscr->hlcd_curon = on;
112 hdscr->hlcd_curx = col;
113 hdscr->hlcd_cury = row;
131 struct hlcd_screen *hdscr = id;
134 if (row > 0 && (hdscr->hlcd_sc->sc_flags & (HD_MULTILINE|HD_MULTICHIP)))
135 hdscr->image[hdscr->hlcd_sc->sc_cols * row + col] = c;
137 hdscr->image[col] = c;
146 struct hlcd_screen *hdscr = id;
148 if ((dstcol + ncols - 1) > hdscr->hlcd_sc->sc_cols)
149 ncols = hdscr->hlcd_sc->sc_cols - srccol;
151 if (row > 0 && (hdscr->hlcd_sc->sc_flags & (HD_MULTILINE|HD_MULTICHIP)))
152 memmove(&hdscr->image[hdscr->hlcd_sc->sc_cols * row + dstcol],
153 &hdscr->image[hdscr->hlcd_sc->sc_cols * row + srccol],
156 memmove(&hdscr->image[dstcol], &hdscr->image[srccol], ncols);
166 struct hlcd_screen *hdscr = id;
168 if ((startcol + ncols) > hdscr->hlcd_sc->sc_cols)
169 ncols = hdscr->hlcd_sc->sc_cols - startcol;
171 if (row > 0 && (hdscr->hlcd_sc->sc_flags & (HD_MULTILINE|HD_MULTICHIP)))
172 memset(&hdscr->image[hdscr->hlcd_sc->sc_cols * row + startcol],
175 memset(&hdscr->image[startcol], ' ', ncols);
182 struct hlcd_screen *hdscr = id;
183 int ncols = hdscr->hlcd_sc->sc_cols;
185 if (!(hdscr->hlcd_sc->sc_flags & (HD_MULTILINE|HD_MULTICHIP)))
187 memmove(&hdscr->image[dstrow * ncols], &hdscr->image[srcrow * ncols],
194 struct hlcd_screen *hdscr = id;
195 int ncols = hdscr->hlcd_sc->sc_cols;
197 memset(&hdscr->image[startrow * ncols], ' ', ncols * nrows);
242 struct hlcd_screen *hdscr = v, *new;
246 new->hlcd_sc = hdscr->hlcd_sc;
262 struct hlcd_screen *hdscr = v;
264 hdscr->hlcd_sc->sc_curscr = cookie;
265 callout_schedule(&hdscr->hlcd_sc->redraw, 1);