Anders Hörnfeldt
/
coniolib
Port of Conio.h
Diff: h/ui.h
- Revision:
- 0:6c1bc9b3a347
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/h/ui.h Mon Apr 19 20:20:10 2010 +0000 @@ -0,0 +1,31 @@ +/* + ui.h + User interface functions. + Part of MicroVGA CONIO library / demo project + Copyright (c) 2008-9 SECONS s.r.o., http://www.MicroVGA.com + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + +//Display Northon Commander like function key menu on bottom of the screen. +void drawfkeys(ROMDEF char *fkeys[]); + +//Display text-based selection menu on the screen. +//int runmenu(char x, char y, const char *menu[], int defaultitem); +int runmenu(char x, char y,ROMDEF char *menu[], int defaultitem); + +//Display empty frame on the screen. +void drawframe(int x, int y, int width, int height, int color); + +/* */ \ No newline at end of file