342 |
} |
} |
343 |
} |
} |
344 |
done_painting: |
done_painting: |
345 |
|
return; |
|
char bottom_line_text[255]; |
|
|
info = level_pack->get_info(iselected); |
|
|
snprintf (bottom_line_text, 254, " #%d %s (%s)", |
|
|
iselected+1, |
|
|
info->name.c_str(), |
|
|
info->filename.c_str()); |
|
|
smallfnt->render (gc, 5, 460, bottom_line_text); |
|
346 |
} |
} |
347 |
|
|
348 |
void |
void |
370 |
int oldsel = iselected; |
int oldsel = iselected; |
371 |
iselected = newsel; |
iselected = newsel; |
372 |
|
|
|
redraw(Rect(5,460,400,19)); // level name at the bottom line |
|
373 |
redraw(areas[oldsel-ifirst]); // old selection |
redraw(areas[oldsel-ifirst]); // old selection |
374 |
redraw(areas[iselected-ifirst]); // new selection |
redraw(areas[iselected-ifirst]); // new selection |
375 |
} |
} |