updated version #, imlib2 fixed, i forgot when the window size changes we totally...
[monky] / src / imlib2.h
1 /* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*-
2  *
3  * Conky, a system monitor, based on torsmo
4  *
5  * Please see COPYING for details
6  *
7  * Copyright (c) 2005-2010 Brenden Matthews, et. al.
8  * All rights reserved.
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 3 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  * You should have received a copy of the GNU General Public License
20  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
21  *
22  */
23
24 #ifndef _CONKY_IMBLI2_H_
25 #define _CONKY_IMBLI2_H_
26
27 #include <X11/Xlib.h>
28
29 void cimlib_add_image(const char *name);
30 void cimlib_set_cache_size(long size);
31 void cimlib_set_cache_flush_interval(long interval);
32 void cimlib_init(Display *display, Drawable drawable, Visual *visual, Colormap colourmap);
33 void cimlib_deinit(void);
34 void cimlib_render(int x, int y, int width, int height);
35 void cimlib_cleanup(void);
36
37 #endif /* _CONKY_IMBLI2_H_ */