about summary refs log tree commit diff stats
path: root/dwm.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-09-15 13:16:54 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-09-15 13:16:54 +0200
commit7e476fb86ba254e6fe3a916ed7b5298e432a469c (patch)
treecc8ce1467345a1643cd172b478a38e472bfcc3ec /dwm.h
parent9800518ae3505e54c0e52ea3d40050f279e722d6 (diff)
downloaddwm-7e476fb86ba254e6fe3a916ed7b5298e432a469c.tar.gz
moved bar-related stuff to bar.c (merged draw.c into that)
Diffstat (limited to 'dwm.h')
-rw-r--r--dwm.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/dwm.h b/dwm.h
index cc8fd1a..6ab6bc3 100644
--- a/dwm.h
+++ b/dwm.h
@@ -88,6 +88,13 @@ extern DC dc;					/* global draw context */
 extern Display *dpy;
 extern Window root, barwin;
 
+/* bar.c */
+void drawbar(void);			/* draw the bar */
+void initbar(void);			/* initializes the bar */
+unsigned int textw(const char *text);	/* return the width of text in px*/
+void togglebar(const char *arg);	/* shows/hides the bar */
+void updatebarpos(void);		/* updates the bar position */
+
 /* client.c */
 void attach(Client *c);			/* attaches c to global client list */
 void ban(Client *c);			/* bans c */
@@ -103,11 +110,6 @@ void unmanage(Client *c);		/* unmanage c */
 void updatesizehints(Client *c);	/* update the size hint variables of c */
 void updatetitle(Client *c);		/* update the name of c */
 
-/* draw.c */
-void drawbar(void);			/* draw the bar */
-void drawtext(const char *text, unsigned long col[ColLast]);	/* draw text */
-unsigned int textw(const char *text);	/* return the width of text in px*/
-
 /* event.c */
 void grabkeys(void);			/* grab all keys defined in config.h */
 
@@ -132,12 +134,10 @@ Client *nexttiled(Client *c);		/* returns tiled successor of c */
 void restack(void);			/* restores z layers of all clients */
 void setlayout(const char *arg);	/* sets layout, NULL means next layout */
 void tag(const char *arg);		/* tags sel with arg's index */
-void togglebar(const char *arg);	/* shows/hides the bar */
 void togglefloating(const char *arg);	/* toggles sel between floating/tiled state */
 void togglemax(const char *arg);	/* toggles maximization of floating client */
 void toggletag(const char *arg);	/* toggles sel tags with arg's index */
 void toggleview(const char *arg);	/* toggles the tag with arg's index (in)visible */
-void updatebarpos(void);		/* updates the bar position */
 void view(const char *arg);		/* views the tag with arg's index */
 
 /* util.c */
committer Thomas E. Dickey <dickey@invisible-island.net> 1999-02-08 10:50:02 -0500 snapshot of project "lynx", label v2-8-2dev_16' href='/ingrix/lynx-snapshots/commit/src/structdump.h?id=8ce6b560f4fb325be3d34266c54c70eb8668e8e1'>8ce6b560 ^
fc99820d ^
87434eaa ^


d83d4af1 ^



95586cc2 ^
f7c3c4ca ^
95586cc2 ^

f7c3c4ca ^
87434eaa ^

87434eaa ^

f7c3c4ca ^
95586cc2 ^
fc99820d ^
8ce6b560 ^
fc99820d ^
8ce6b560 ^
8ce6b560 ^


fc99820d ^
8ce6b560 ^
fc99820d ^
8ce6b560 ^


fc99820d ^
8ce6b560 ^


c5fef0d4 ^
fc99820d ^
87434eaa ^

fc99820d ^
87434eaa ^


fc99820d ^
95586cc2 ^
f7c3c4ca ^
95586cc2 ^

f7c3c4ca ^
87434eaa ^

87434eaa ^

f7c3c4ca ^
95586cc2 ^
fc99820d ^
8ce6b560 ^
fc99820d ^
8ce6b560 ^


fc99820d ^
8ce6b560 ^
fc99820d ^
8ce6b560 ^






fc99820d ^
8ce6b560 ^











87434eaa ^








95586cc2 ^



f7c3c4ca ^
87434eaa ^

87434eaa ^

f7c3c4ca ^
95586cc2 ^
fc99820d ^
c5fef0d4 ^
fc99820d ^

c5fef0d4 ^





fc99820d ^
c5fef0d4 ^
87434eaa ^


95586cc2 ^
f7c3c4ca ^
95586cc2 ^

f7c3c4ca ^
87434eaa ^


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157