- Timestamp:
- Jan 20, 2007, 9:49:55 PM (17 years ago)
- Branches:
- master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 575877f
- Parents:
- 212764e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
message.c
rf4d32cd r8fa9562 516 516 } 517 517 518 void owl_message_curs_waddstr(owl_message *m, WINDOW *win, int aline, int bline, int acol, int bcol, int color)518 void owl_message_curs_waddstr(owl_message *m, WINDOW *win, int aline, int bline, int acol, int bcol, int fgcolor, int bgcolor) 519 519 { 520 520 owl_fmtext a, b; … … 528 528 owl_fmtext_truncate_lines(&(m->fmtext), aline, bline-aline+1, &a); 529 529 owl_fmtext_truncate_cols(&a, acol, bcol, &b); 530 if (color!=OWL_COLOR_DEFAULT) { 531 owl_fmtext_colorize(&b, color); 530 if (fgcolor!=OWL_COLOR_DEFAULT) { 531 owl_fmtext_colorize(&b, fgcolor); 532 } 533 if (bgcolor!=OWL_COLOR_DEFAULT) { 534 owl_fmtext_colorizebg(&b, bgcolor); 532 535 } 533 536
Note: See TracChangeset
for help on using the changeset viewer.