16 |
The state is now defined using an enum called color_state. |
The state is now defined using an enum called color_state. |
17 |
|
|
18 |
* stage2/term.h (color_state): New enum. |
* stage2/term.h (color_state): New enum. |
19 |
(COLOR_STATE_STANDARD): Standard color to use when not using user defined. |
(COLOR_STATE_STANDARD): Standard color to use when not using |
20 |
|
user defined. |
21 |
(COLOR_STATE_NORMAL): User defined normal color. |
(COLOR_STATE_NORMAL): User defined normal color. |
22 |
(COLOR_STATE_HIGHLIGHT): User defined highlight color. |
(COLOR_STATE_HIGHLIGHT): User defined highlight color. |
23 |
(console_highlight): Renamed to console_setcolorstate. |
(console_highlight): Renamed to console_setcolorstate. |
33 |
(console_color_state): Likewise. |
(console_color_state): Likewise. |
34 |
(console_highlight): Renamed to console_setcolorstate. |
(console_highlight): Renamed to console_setcolorstate. |
35 |
(console_setcolorstate): Added switch to handle new states. |
(console_setcolorstate): Added switch to handle new states. |
36 |
* stage2/serial.c (serial_highlight): Renamed to serial_setcolorstate. |
* stage2/serial.c (serial_highlight): Renamed to |
37 |
|
serial_setcolorstate. |
38 |
(serial_setcolorstate): Adjusted 'if' to suit new states. |
(serial_setcolorstate): Adjusted 'if' to suit new states. |
39 |
* grub/asmstub.c (console_highlight): Renamed to console_setcolorstate. |
* grub/asmstub.c (console_highlight): Renamed to |
40 |
|
console_setcolorstate. |
41 |
(console_setcolorstate): Adjusted 'if' to suit new states. |
(console_setcolorstate): Adjusted 'if' to suit new states. |
42 |
* stage2/stage2.c (print_entry): Set color states using new states. |
* stage2/stage2.c (print_entry): Set color states using new |
43 |
|
states. |
44 |
(print_border): Likewise. |
(print_border): Likewise. |
45 |
* stage2/stage2.c (run_menu): Reverse if (!) to if () for uniformitty. |
* stage2/stage2.c (run_menu): Reverse if (!) to if () for |
46 |
|
uniformitty. |
47 |
|
|
48 |
2002-07-12 Yoshinori K. Okuji <okuji@enbug.org> |
2002-07-12 Yoshinori K. Okuji <okuji@enbug.org> |
49 |
|
|