More work on imlib2 stuff.
[monky] / src / imlib2.h
1 /* Conky, a system monitor, based on torsmo
2  *
3  * Please see COPYING for details
4  *
5  * Copyright (c) 2005-2009 Brenden Matthews, et. al.
6  * All rights reserved.
7  *
8  * This program is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation, either version 3 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  * You should have received a copy of the GNU General Public License
18  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21
22 #ifndef _CONKY_IMBLI2_H_
23 #define _CONKY_IMBLI2_H_
24
25 #include <X11/Xlib.h>
26
27 void cimlib_add_image(const char *name);
28 void cimlib_set_cache_size(long size);
29 void cimlib_init(Display *display, Window drawable, Visual *visual, Colormap colourmap);
30 void cimlib_event_end(int x, int y, int width, int height);
31 void cimlib_cleanup(void);
32
33 #endif /* _CONKY_IMBLI2_H_ */