]> icculus.org git repositories - mikachu/rspanel.git/blob - gui.h
don't -1 task widths, so we don't have to redraw the background window all the time.
[mikachu/rspanel.git] / gui.h
1 #ifndef rs_gui_h
2 #define rs_gui_h
3
4 struct screen;
5 struct taskbar;
6 struct task;
7
8 #include <X11/Xlib.h>
9 #include <openbox/render.h>
10
11 void gui_init(struct screen *sc);
12 void gui_load_theme(struct screen *sc, struct taskbar *tb);
13
14 void gui_create_taskbar(struct screen *sc, struct taskbar *tb);
15
16 void gui_draw_taskbar(struct screen *sc, struct taskbar *tb);
17 void gui_draw_task(struct screen *sc, struct taskbar *tb,
18                    struct task *tk, int redraw);
19
20 #endif