summaryrefslogtreecommitdiffhomepage
path: root/patch/bar_status2d.h
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-07-15 14:10:47 +0200
committerbakkeby <[email protected]>2020-07-15 14:10:47 +0200
commitaa70728d0049f771820f17cfca4488768cf57cef (patch)
tree6c04dd37b98a70b6f9aedf15e9ece315f7d89933 /patch/bar_status2d.h
parentf2da4d20d9a79070863972423ca964cf65342ba7 (diff)
downloaddwm-flexipatch-aa70728d0049f771820f17cfca4488768cf57cef.tar.gz
dwm-flexipatch-aa70728d0049f771820f17cfca4488768cf57cef.zip
Adding BarWidthArg, BarDrawArg, BarClickArg to keep the method signatures static
Diffstat (limited to 'patch/bar_status2d.h')
-rw-r--r--patch/bar_status2d.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/patch/bar_status2d.h b/patch/bar_status2d.h
index 3f1a346..621fb7f 100644
--- a/patch/bar_status2d.h
+++ b/patch/bar_status2d.h
@@ -1,5 +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 width_status2d(Monitor *m, BarWidthArg *a);
+static int draw_status2d(Monitor *m, BarDrawArg *a);
+static int click_status2d(Monitor *m, Arg *arg, BarClickArg *a);
static int drawstatusbar(Monitor *m, int x, int w, char* text);
static int status2dtextlength(char* stext); \ No newline at end of file