[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grub ./ChangeLog grub/asmstub.c stage2/char_io....
From: |
Jason Thomas |
Subject: |
grub ./ChangeLog grub/asmstub.c stage2/char_io.... |
Date: |
Thu, 22 Aug 2002 01:59:55 -0400 |
CVSROOT: /cvsroot/grub
Module name: grub
Changes by: Jason Thomas <address@hidden> 02/08/22 01:59:55
Modified files:
. : ChangeLog
grub : asmstub.c
stage2 : char_io.c console.c hercules.c serial.c
stage2.c term.h
Log message:
Changed highlight state code for hercules, console and serial.
The state was 0 - normal or 1 - highlight.
The state is now defined using an enum called color_state.
* stage2/term.h (color_state): New enum.
(COLOR_STATE_STANDARD): Standard color to use when not using user
defined.
(COLOR_STATE_NORMAL): User defined normal color.
(COLOR_STATE_HIGHLIGHT): User defined highlight color.
(console_highlight): Renamed to console_setcolorstate.
(serial_highlight): Renamed to serial_setcolorstate.
(hercules_highlight): Renamed to hercules_setcolorstate.
* stage2/hercules.c (herc_highlight_state): Removed.
(herc_standard_color): New variable.
(herc_color_state): Likewise.
(herc_highlight): Renamed to herc_setcolorstate.
(herc_setcolorstate): Added switch to handle new states.
* stage2/console.c (console_highlight_state): Removed.
(console_standard_color): New variable.
(console_color_state): Likewise.
(console_highlight): Renamed to console_setcolorstate.
(console_setcolorstate): Added switch to handle new states.
* stage2/serial.c (serial_highlight): Renamed to serial_setcolorstate.
(serial_setcolorstate): Adjusted 'if' to suit new states.
* grub/asmstub.c (console_highlight): Renamed to console_setcolorstate.
(console_setcolorstate): Adjusted 'if' to suit new states.
* stage2/stage2.c (print_entry): Set color states using new states.
(print_border): Likewise.
* stage2/stage2.c (run_menu): Reverse if (!) to if () for uniformitty.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/grub/grub/ChangeLog.diff?tr1=1.517&tr2=1.518&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/grub/grub/grub/asmstub.c.diff?tr1=1.75&tr2=1.76&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/grub/grub/stage2/char_io.c.diff?tr1=1.47&tr2=1.48&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/grub/grub/stage2/console.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/grub/grub/stage2/hercules.c.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/grub/grub/stage2/serial.c.diff?tr1=1.9&tr2=1.10&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/grub/grub/stage2/stage2.c.diff?tr1=1.37&tr2=1.38&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/grub/grub/stage2/term.h.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- grub ./ChangeLog grub/asmstub.c stage2/char_io....,
Jason Thomas <=