Anders Hörnfeldt / Mbed 2 deprecated coniolib

Dependencies:   mbed

Dependents:   KNN_coba5

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ui.h Source File

ui.h

00001 /*
00002     ui.h
00003     User interface functions.
00004     Part of MicroVGA CONIO library / demo project
00005     Copyright (c) 2008-9 SECONS s.r.o., http://www.MicroVGA.com
00006 
00007     This program is free software: you can redistribute it and/or modify
00008     it under the terms of the GNU General Public License as published by
00009     the Free Software Foundation, either version 3 of the License, or
00010     (at your option) any later version.
00011 
00012     This program is distributed in the hope that it will be useful,
00013     but WITHOUT ANY WARRANTY; without even the implied warranty of
00014     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015     GNU General Public License for more details.
00016 
00017     You should have received a copy of the GNU General Public License
00018     along with this program.  If not, see <http://www.gnu.org/licenses/>.
00019 */
00020 
00021 //Display Northon Commander like function key menu on bottom of the screen. 
00022 void drawfkeys(ROMDEF char *fkeys[]);
00023 
00024 //Display text-based selection menu on the screen.
00025 //int runmenu(char x, char y, const char *menu[], int defaultitem);
00026 int runmenu(char x, char y,ROMDEF char *menu[], int defaultitem);
00027 
00028 //Display empty frame on the screen.
00029 void drawframe(int x, int y, int width, int height, int color);
00030 
00031 /* */