summaryrefslogtreecommitdiffhomepage
path: root/patch/bar_status2d.h
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-07-15 08:57:30 +0200
committerbakkeby <[email protected]>2020-07-15 08:57:30 +0200
commit903b32ac8b4a69b37981874f23b15a9f65f2a20d (patch)
treeb7aff3bdd522721a03cbfdaea8adf15fefd90463 /patch/bar_status2d.h
parent1584a32063cd252ec726dd18747c5f91f12f8be9 (diff)
downloaddwm-flexipatch-903b32ac8b4a69b37981874f23b15a9f65f2a20d.tar.gz
dwm-flexipatch-903b32ac8b4a69b37981874f23b15a9f65f2a20d.zip
Major refactoring in preparation for bar modules
Diffstat (limited to 'patch/bar_status2d.h')
-rw-r--r--patch/bar_status2d.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/patch/bar_status2d.h b/patch/bar_status2d.h
new file mode 100644
index 0000000..3f1a346
--- /dev/null
+++ b/patch/bar_status2d.h
@@ -0,0 +1,5 @@
+static int width_status2d(Monitor *m, int max_width);
+static int draw_status2d(Monitor *m, int x, int w);
+static int click_status2d(Monitor *m, Arg *arg, int rel_x, int rel_y, int rel_w, int rel_h);
+static int drawstatusbar(Monitor *m, int x, int w, char* text);
+static int status2dtextlength(char* stext); \ No newline at end of file