tsst
[skippy-xd] / skippy.h
1 /* Skippy - Seduces Kids Into Perversion
2  *
3  * Copyright (C) 2004 Hyriand <hyriand@thegraveyard.org>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18  */
19
20 #ifndef SKIPPY_H
21 #define SKIPPY_H
22
23 #include <X11/Xlib.h>
24 #include <X11/Xmd.h>
25 #include <X11/Xatom.h>
26 #include <X11/Xmu/WinUtil.h>
27 #include <X11/keysym.h>
28 #include <X11/Xft/Xft.h>
29
30 #include <X11/extensions/Xrender.h>
31 #include <X11/extensions/Xcomposite.h>
32 #include <X11/extensions/Xdamage.h>
33 #include <X11/extensions/Xfixes.h>
34
35 #ifdef XINERAMA
36 # include <X11/extensions/Xinerama.h>
37 #endif
38
39 #include <sys/types.h>
40 #include <sys/time.h>
41 #include <sys/poll.h>
42 #include <stdio.h>
43 #include <stdlib.h>
44 #include <math.h>
45 #include <unistd.h>
46 #include <time.h>
47 #include <regex.h>
48 #include <string.h>
49
50 #include <Imlib2.h>
51
52
53 #define MAX(a,b) ((a > b) ? a : b)
54 #define MIN(a,b) ((a > b) ? b : a)
55 #define REDUCE(statement, l) \
56 { \
57         dlist *iter = dlist_first(l); \
58         for(; iter; iter = iter->next) \
59                 statement; \
60 }
61
62
63 #include "dlist.h"
64 #include "wm.h"
65 #include "clientwin.h"
66 #include "mainwin.h"
67 #include "layout.h"
68 #include "focus.h"
69 #include "config.h"
70 #include "tooltip.h"
71
72 #endif /* SKIPPY_H */