00001 /* liqbase 00002 * Copyright (C) 2008 Gary Birkett 00003 * 00004 * This program is free software; you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License version 2 00006 * as published by the Free Software Foundation. 00007 * 00008 * This program is distributed in the hope that it will be useful, 00009 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00011 * GNU General Public License for more details. 00012 * 00013 * You should have received a copy of the GNU General Public License 00014 * along with this program; if not, write to the Free Software 00015 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00016 */ 00017 00018 /* 00019 * 00020 * Basic Canvas control functions 00021 * 00022 */ 00023 00024 #include <X11/Xlib.h> 00025 #include <X11/Xutil.h> 00026 #include <X11/Xatom.h> 00027 #include <X11/extensions/Xv.h> 00028 #include <X11/extensions/Xvlib.h> 00029 00030 00031 #include "liqcanvas.h" 00032 00033 #define HILDON_APPVIEW_HEIGHT 420 00034 #define HILDON_APPVIEW_WIDTH 720 00035 00036 //#define HILDON_APPVIEW_HEIGHT 396 00037 //#define HILDON_APPVIEW_WIDTH 672 00038 00039 00040 //extern XvImage *yuv_image; // this is the liqcanvass_xv base display 00041 00042 int liqcanvas_xv_init(); 00043 int liqcanvas_xv_close(); 00044 inline int liqcanvas_xv_refreshdisplay(); 00045 int liqcanvas_xv_eventcount(); 00046 int liqcanvas_xv_nextevent(LIQEVENT *ev,int *dirtyflagptr); 00047 int liqcanvas_xv_minimize();