/src/backend/x11-emu/ftk_display_x11.h
http://ftk.googlecode.com/ · C Header · 47 lines · 11 code · 7 blank · 29 comment · 0 complexity · 2ce88c3803c26a723f2c0e062d629c09 MD5 · raw file
- /*
- * File: ftk_display_x11.h
- * Author: Li XianJing <xianjimli@hotmail.com>
- * Brief: X11 Display.
- *
- * Copyright (c) 2009 - 2010 Li XianJing <xianjimli@hotmail.com>
- *
- * Licensed under the Academic Free License version 2.1
- *
- * 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 2 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, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
- /*
- * History:
- * ================================================================
- * 2009-10-06 Li XianJing <xianjimli@hotmail.com> created
- *
- */
- #ifndef FTK_DISPLAY_X11_H
- #define FTK_DISPLAY_X11_H
- #include "ftk_display.h"
- #include "ftk_event.h"
- #include "ftk_source.h"
- FtkDisplay* ftk_display_x11_create(FtkSource** event_source, FtkOnEvent on_event, void* ctx);
- Ret ftk_display_x11_on_resize(FtkDisplay* thiz, int width, int height);
- void* ftk_display_x11_get_xdisplay(FtkDisplay* thiz);
- void* ftk_display_x11_get_xwindow(FtkDisplay* thiz);
- void* ftk_display_x11_get_win_del_atom(FtkDisplay *thiz);
- #endif/*FTK_DISPLAY_X11_H*/