common/screen.h

00001 /*
00002  * Copyright Ian Burnett 2005, 2006.
00003  *
00004  * This file is part of Ian's Interactive LCD controller (IILC).
00005  * 
00006  * IILC is free software; you can redistribute it and/or modify it under
00007  * the terms of the GNU General Public License as published by the Free
00008  * Software Foundation; either version 2 of the License, or (at your
00009  * option) any later version.
00010  *
00011  * IILC is distributed in the hope that it will be useful, but WITHOUT
00012  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00013  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00014  * for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License along
00017  * with IILC; if not, write to the Free Software Foundation, Inc.,
00018  * 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA.
00019  */
00020 
00021 #if !defined(__SCREEN_H__)
00022 #define __SCREEN_H__
00023 
00024 
00025 #include "lcd.h"
00026 #include "module.h"
00027 
00028 typedef struct _tag_screen * LPSCREEN;
00029 
00030 
00031 
00032 
00033 LCD_API int screenCreate(LPSCREEN * ppScreen,
00034                          unsigned int uWidth,
00035                          unsigned int uHeight);
00036 
00037 LCD_API int screenDoRender(LPSCREEN pScreen, 
00038                            char * pszScreen);
00039 
00040 LCD_API int screenAddWindow(LPSCREEN pScreen,
00041                             int x,
00042                             int y,
00043                             int width,
00044                             int height,
00045                             LPMODULE pModule);
00046 
00047 LCD_API int getScreenSize(LPSCREEN pScreen,
00048                           int * width,
00049                           int * height);
00050 
00051 
00052 
00053 
00054 
00055 #endif /* __SCREEN_H__ */

Generated on Mon Jul 17 01:36:11 2006 for IILC by  doxygen 1.4.6