1 |
|
2004-09-18 Yoshinori K. Okuji <okuji@enbug.org> |
2 |
|
|
3 |
|
Make the source code of the menu interface more readable. |
4 |
|
|
5 |
|
* normal/menu.c: Include grub/mm.h. |
6 |
|
(TERM_WIDTH): New macro. |
7 |
|
(TERM_HEIGHT): Likewise. |
8 |
|
(TERM_INFO_HEIGHT): Likewise. |
9 |
|
(TERM_MARGIN): Likewise. |
10 |
|
(TERM_SCROLL_WIDTH): Likewise. |
11 |
|
(TERM_TOP_BORDER_Y): Likewise. |
12 |
|
(TERM_LEFT_BORDER_X): Likewise. |
13 |
|
(TERM_BORDER_WIDTH): Likewise. |
14 |
|
(TERM_MESSAGE_HEIGHT): Likewise. |
15 |
|
(TERM_BORDER_HEIGHT): Likewise. |
16 |
|
(TERM_NUM_ENTRIES): Likewise. |
17 |
|
(TERM_FIRST_ENTRY_Y): Likewise. |
18 |
|
(TERM_ENTRY_WIDTH): Likewise. |
19 |
|
(TERM_CURSOR_X): Likewise. |
20 |
|
(draw_border): Use macros instead of magic numbers. |
21 |
|
(print_entry): Likewise. |
22 |
|
(print_entries): Likewise. |
23 |
|
(run_menu): Likewise. Also, handle the key 'e'. |
24 |
|
(run_menu_entry): Ignore empty command lines. |
25 |
|
(print_message): Added a new argument EDIT. If EDIT is true, |
26 |
|
print a different message. |
27 |
|
(init_page): Likewise. |
28 |
|
(edit_menu_entry): New function. Not implemented yet. |
29 |
|
|
30 |
2004-09-17 Marco Gerards <metgerards@student.han.nl> |
2004-09-17 Marco Gerards <metgerards@student.han.nl> |
31 |
|
|
32 |
Add `linux.mod' and `multiboot.mod' so linux and multiboot kernels |
Add `linux.mod' and `multiboot.mod' so linux and multiboot kernels |