PageRenderTime 363ms CodeModel.GetById 151ms app.highlight 2ms RepoModel.GetById 209ms app.codeStats 0ms

/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
 1/*
 2 * File: ftk_display_x11.h    
 3 * Author:  Li XianJing <xianjimli@hotmail.com>
 4 * Brief:   X11 Display.
 5 *
 6 * Copyright (c) 2009 - 2010  Li XianJing <xianjimli@hotmail.com>
 7 *
 8 * Licensed under the Academic Free License version 2.1
 9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23 */
24
25/*
26 * History:
27 * ================================================================
28 * 2009-10-06 Li XianJing <xianjimli@hotmail.com> created
29 *
30 */
31
32#ifndef FTK_DISPLAY_X11_H
33#define FTK_DISPLAY_X11_H
34
35#include "ftk_display.h"
36#include "ftk_event.h"
37#include "ftk_source.h"
38
39FtkDisplay* ftk_display_x11_create(FtkSource** event_source, FtkOnEvent on_event, void* ctx);
40
41Ret   ftk_display_x11_on_resize(FtkDisplay* thiz, int width, int height);
42void* ftk_display_x11_get_xdisplay(FtkDisplay* thiz);
43void* ftk_display_x11_get_xwindow(FtkDisplay* thiz);
44void* ftk_display_x11_get_win_del_atom(FtkDisplay *thiz);
45
46#endif/*FTK_DISPLAY_X11_H*/
47