[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-grub] color problem in CVS grub
From: |
Jason Thomas |
Subject: |
Re: [Bug-grub] color problem in CVS grub |
Date: |
Thu, 22 Aug 2002 14:56:26 +1000 |
User-agent: |
Mutt/1.4i |
okay, is this suitable?
2002-09-20 Jason Thomas <address@hidden>
changed highlight state code for hercules, console and serial.
state was 0 - normal or 1 - highlight.
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.
Updated function prototypes.
* 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, print_border): Set color states using
new states.
* stage2/stage2.c (run_menu): Reverse if (!) to if () for uniformitty.
On Thu, Aug 22, 2002 at 11:33:29AM +0900, Yoshinori K. Okuji wrote:
> Thank Jason. You did a nice hack. I think the remaining problem is
> about how to write ChangeLog. You should notice that the style of your
> ChangeLog entry is a bit different from that of mine. Please match
> yours to mine. For example:
- color problem in CVS grub, Jason Thomas, 2002/08/20
- Re: [Bug-grub] color problem in CVS grub, Jason Thomas, 2002/08/21
- Message not available
- Re: [Bug-grub] color problem in CVS grub, Jason Thomas, 2002/08/21
- Message not available
- Re: [Bug-grub] color problem in CVS grub, Jason Thomas, 2002/08/21
- Re: [Bug-grub] color problem in CVS grub, Yoshinori K. Okuji, 2002/08/21
- Re: [Bug-grub] color problem in CVS grub,
Jason Thomas <=
- Re: [Bug-grub] color problem in CVS grub, Yoshinori K. Okuji, 2002/08/22
- Re: [Bug-grub] color problem in CVS grub, Jason Thomas, 2002/08/22