grub/normal
okuji 18aa81f206 2004-09-18 Yoshinori K. Okuji <okuji@enbug.org>
Make the source code of the menu interface more readable.

  * normal/menu.c: Include grub/mm.h.
  (TERM_WIDTH): New macro.
  (TERM_HEIGHT): Likewise.
  (TERM_INFO_HEIGHT): Likewise.
  (TERM_MARGIN): Likewise.
  (TERM_SCROLL_WIDTH): Likewise.
  (TERM_TOP_BORDER_Y): Likewise.
  (TERM_LEFT_BORDER_X): Likewise.
  (TERM_BORDER_WIDTH): Likewise.
  (TERM_MESSAGE_HEIGHT): Likewise.
  (TERM_BORDER_HEIGHT): Likewise.
  (TERM_NUM_ENTRIES): Likewise.
  (TERM_FIRST_ENTRY_Y): Likewise.
  (TERM_ENTRY_WIDTH): Likewise.
  (TERM_CURSOR_X): Likewise.
  (draw_border): Use macros instead of magic numbers.
  (print_entry): Likewise.
  (print_entries): Likewise.
  (run_menu): Likewise. Also, handle the key 'e'.
  (run_menu_entry): Ignore empty command lines.
  (print_message): Added a new argument EDIT. If EDIT is true,
  print a different message.
  (init_page): Likewise.
  (edit_menu_entry): New function. Not implemented yet.
2004-09-18 13:42:05 +00:00
..
i386 2004-04-04 Yoshinori K. Okuji <okuji@enbug.org> 2004-04-04 13:46:03 +00:00
arg.c 2004-07-12 Marco Gerards <metgerards@student.han.nl> 2004-07-12 17:53:07 +00:00
cmdline.c 2004-06-27 Tomas Ebenlendr <ebik@ucw.cz> 2004-06-27 11:03:24 +00:00
command.c 2004-09-17 Marco Gerards <metgerards@student.han.nl> 2004-09-17 09:36:52 +00:00
main.c 2004-08-21 Yoshinori K. Okuji <okuji@enbug.org> 2004-08-21 13:54:22 +00:00
menu.c 2004-09-18 Yoshinori K. Okuji <okuji@enbug.org> 2004-09-18 13:42:05 +00:00