Anders Hörnfeldt
/
coniolib
Port of Conio.h
h/ui.h@0:6c1bc9b3a347, 2010-04-19 (annotated)
- Committer:
- hornfeldt
- Date:
- Mon Apr 19 20:20:10 2010 +0000
- Revision:
- 0:6c1bc9b3a347
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
hornfeldt | 0:6c1bc9b3a347 | 1 | /* |
hornfeldt | 0:6c1bc9b3a347 | 2 | ui.h |
hornfeldt | 0:6c1bc9b3a347 | 3 | User interface functions. |
hornfeldt | 0:6c1bc9b3a347 | 4 | Part of MicroVGA CONIO library / demo project |
hornfeldt | 0:6c1bc9b3a347 | 5 | Copyright (c) 2008-9 SECONS s.r.o., http://www.MicroVGA.com |
hornfeldt | 0:6c1bc9b3a347 | 6 | |
hornfeldt | 0:6c1bc9b3a347 | 7 | This program is free software: you can redistribute it and/or modify |
hornfeldt | 0:6c1bc9b3a347 | 8 | it under the terms of the GNU General Public License as published by |
hornfeldt | 0:6c1bc9b3a347 | 9 | the Free Software Foundation, either version 3 of the License, or |
hornfeldt | 0:6c1bc9b3a347 | 10 | (at your option) any later version. |
hornfeldt | 0:6c1bc9b3a347 | 11 | |
hornfeldt | 0:6c1bc9b3a347 | 12 | This program is distributed in the hope that it will be useful, |
hornfeldt | 0:6c1bc9b3a347 | 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
hornfeldt | 0:6c1bc9b3a347 | 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
hornfeldt | 0:6c1bc9b3a347 | 15 | GNU General Public License for more details. |
hornfeldt | 0:6c1bc9b3a347 | 16 | |
hornfeldt | 0:6c1bc9b3a347 | 17 | You should have received a copy of the GNU General Public License |
hornfeldt | 0:6c1bc9b3a347 | 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
hornfeldt | 0:6c1bc9b3a347 | 19 | */ |
hornfeldt | 0:6c1bc9b3a347 | 20 | |
hornfeldt | 0:6c1bc9b3a347 | 21 | //Display Northon Commander like function key menu on bottom of the screen. |
hornfeldt | 0:6c1bc9b3a347 | 22 | void drawfkeys(ROMDEF char *fkeys[]); |
hornfeldt | 0:6c1bc9b3a347 | 23 | |
hornfeldt | 0:6c1bc9b3a347 | 24 | //Display text-based selection menu on the screen. |
hornfeldt | 0:6c1bc9b3a347 | 25 | //int runmenu(char x, char y, const char *menu[], int defaultitem); |
hornfeldt | 0:6c1bc9b3a347 | 26 | int runmenu(char x, char y,ROMDEF char *menu[], int defaultitem); |
hornfeldt | 0:6c1bc9b3a347 | 27 | |
hornfeldt | 0:6c1bc9b3a347 | 28 | //Display empty frame on the screen. |
hornfeldt | 0:6c1bc9b3a347 | 29 | void drawframe(int x, int y, int width, int height, int color); |
hornfeldt | 0:6c1bc9b3a347 | 30 | |
hornfeldt | 0:6c1bc9b3a347 | 31 | /* */ |