diff options
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/bar.h | 13 | ||||
| -rw-r--r-- | src/ui/input.h | 13 | ||||
| -rw-r--r-- | src/ui/systray.h | 12 |
3 files changed, 38 insertions, 0 deletions
diff --git a/src/ui/bar.h b/src/ui/bar.h new file mode 100644 index 0000000..79e4912 --- /dev/null +++ b/src/ui/bar.h | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | |||
| 2 | #pragma once | ||
| 3 | |||
| 4 | #include "../core/types.h" | ||
| 5 | |||
| 6 | void drawbar(Monitor *m); | ||
| 7 | void drawbars(void); | ||
| 8 | void updatebars(void); | ||
| 9 | void updatestatus(void); | ||
| 10 | unsigned int getsystraywidth(void); | ||
| 11 | |||
| 12 | extern char stext[256]; | ||
| 13 | extern int lrpad; | ||
diff --git a/src/ui/input.h b/src/ui/input.h new file mode 100644 index 0000000..54e3c58 --- /dev/null +++ b/src/ui/input.h | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | |||
| 2 | #pragma once | ||
| 3 | |||
| 4 | #include "../core/types.h" | ||
| 5 | |||
| 6 | void grabkeys(void); | ||
| 7 | void grabbuttons(Client *c, int focused); | ||
| 8 | |||
| 9 | void keypress(XEvent *e); | ||
| 10 | void buttonpress(XEvent *e); | ||
| 11 | |||
| 12 | void movemouse(const Arg *arg); | ||
| 13 | void resizemouse(const Arg *arg); | ||
diff --git a/src/ui/systray.h b/src/ui/systray.h new file mode 100644 index 0000000..ad78f58 --- /dev/null +++ b/src/ui/systray.h | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | |||
| 2 | #pragma once | ||
| 3 | |||
| 4 | #include "../core/types.h" | ||
| 5 | |||
| 6 | void updatesystray(void); | ||
| 7 | void removesystrayicon(Client *i); | ||
| 8 | void updatesystrayicongeom(Client *i, int w, int h); | ||
| 9 | void updatesystrayiconstate(Client *i, XPropertyEvent *ev); | ||
| 10 | |||
| 11 | Client *wintosystrayicon(Window w); | ||
| 12 | Monitor *systraytomon(Monitor *m); | ||
