repo.or.cz
/
dockapps.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add missing libraries to examples' Makefiles
[dockapps.git]
/
wmMatrix
/
matrix.h
blob
f3e7d92005dfb3c99983c1985e510f08ece5778f
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>
8
9
typedef
struct
{
10
int
glyph
;
11
int
changed
;
12
int
glow
;
13
}
m_cell
;
14
15
typedef
struct
{
16
int
remaining
;
17
int
throttle
;
18
int
y
;
19
}
m_feeder
;
20
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
;
32
33
Pixmap images
;
34
int
image_width
,
image_height
;
35
int
nglyphs
;
36
37
}
m_state
;