Lines Matching refs:bg_index
157 state->bg_index = -1;
328 state->bg_index = value;
333 state->bg_index = -1;
336 argi += 1 + lookup_colour(state, CSI_ARG(args[argi+1]), args+argi+2, argcount-argi-2, &state->pen.bg, &state->bg_index);
341 state->bg_index = -1;
356 state->bg_index = value;
410 if(state->bg_index >= 0 && state->bg_index < 8)
411 args[argi++] = 40 + state->bg_index;
412 else if(state->bg_index >= 8 && state->bg_index < 16)
413 args[argi++] = 100 + state->bg_index - 8;
414 else if(state->bg_index >= 16 && state->bg_index < 256) {
417 args[argi++] = state->bg_index;