wmbiff: fixed endianness problems parsing server-ports.
[dockapps.git] / wmMatrix / matrix.h
blobf3e7d92005dfb3c99983c1985e510f08ece5778f
1 #include <stdlib.h>
2 #include <stdio.h>
3 #include <X11/Xlib.h>
4 #include <X11/Xresource.h>
5 #include <X11/Xos.h>
6 #include <X11/Xutil.h>
7 #include <X11/xpm.h>
9 typedef struct {
10 int glyph;
11 int changed;
12 int glow;
13 } m_cell;
15 typedef struct {
16 int remaining;
17 int throttle;
18 int y;
19 } m_feeder;
21 typedef struct {
22 Display *dpy;
23 Window window;
24 XWindowAttributes xgwa;
25 GC draw_gc, erase_gc;
26 int grid_width, grid_height;
27 int char_width, char_height;
28 m_cell *cells;
29 m_feeder *feeders;
30 int insert_top_p, insert_bottom_p;
31 int density;
33 Pixmap images;
34 int image_width, image_height;
35 int nglyphs;
37 } m_state;