Changeset 26e7d6d in mainline for uspace/app/tester/console/console1.c
- Timestamp:
- 2011-09-19T16:31:00Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a347a11
- Parents:
- 3842a955 (diff), 086290d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/console/console1.c
r3842a955 r26e7d6d 76 76 for (i = COLOR_BLACK; i <= COLOR_WHITE; i++) { 77 77 console_flush(console); 78 console_set_color(console, i, COLOR_WHITE,78 console_set_color(console, COLOR_WHITE, i, 79 79 j ? CATTR_BRIGHT : 0); 80 80 printf(" %s ", color_name[i]); … … 89 89 for (i = COLOR_BLACK; i <= COLOR_WHITE; i++) { 90 90 console_flush(console); 91 console_set_color(console, COLOR_WHITE, i,91 console_set_color(console, i, COLOR_WHITE, 92 92 j ? CATTR_BRIGHT : 0); 93 93 printf(" %s ", color_name[i]); … … 102 102 for (i = 0; i < 255; i += 16) { 103 103 console_flush(console); 104 console_set_rgb_color(console, (255 - i) << 16, i<< 16);104 console_set_rgb_color(console, i << 16, (255 - i) << 16); 105 105 putchar('X'); 106 106 } 107 107 console_flush(console); 108 console_set_color(console, COLOR_ BLACK, COLOR_WHITE, 0);108 console_set_color(console, COLOR_WHITE, COLOR_BLACK, 0); 109 109 putchar('\n'); 110 110 111 111 for (i = 0; i < 255; i += 16) { 112 112 console_flush(console); 113 console_set_rgb_color(console, (255 - i) << 8, i<< 8);113 console_set_rgb_color(console, i << 8, (255 - i) << 8); 114 114 putchar('X'); 115 115 } 116 116 console_flush(console); 117 console_set_color(console, COLOR_ BLACK, COLOR_WHITE, 0);117 console_set_color(console, COLOR_WHITE, COLOR_BLACK, 0); 118 118 putchar('\n'); 119 119 120 120 for (i = 0; i < 255; i += 16) { 121 121 console_flush(console); 122 console_set_rgb_color(console, 255 - i,i);122 console_set_rgb_color(console, i, 255 - i); 123 123 putchar('X'); 124 124 }
Note:
See TracChangeset
for help on using the changeset viewer.