• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* ----------------------------------------------------------------------- *
2  *
3  *   Copyright 2004-2008 H. Peter Anvin - All Rights Reserved
4  *
5  *   This program is free software; you can redistribute it and/or modify
6  *   it under the terms of the GNU General Public License as published by
7  *   the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
8  *   Boston MA 02110-1301, USA; either version 2 of the License, or
9  *   (at your option) any later version; incorporated herein by reference.
10  *
11  * ----------------------------------------------------------------------- */
12 
13 /*
14  * menu.c
15  *
16  * Simple menu system which displays a list and allows the user to select
17  * a command line and/or edit it.
18  */
19 
20 #include <consoles.h>
21 #include "menu.h"
22 
draw_background(const char * arg)23 int draw_background(const char *arg)
24 {
25     /* Nothing to do... */
26     (void)arg;
27     return 0;
28 }
29 
set_resolution(int x,int y)30 void set_resolution(int x, int y)
31 {
32     (void)x;
33     (void)y;
34 }
35 
local_cursor_enable(bool enabled)36 void local_cursor_enable(bool enabled)
37 {
38     (void)enabled;
39 }
40 
start_console(void)41 void start_console(void)
42 {
43     console_ansi_raw();
44 }
45