commit | c680e904897dfb19331f8f296abbc864f52314cf | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Wed Oct 23 21:49:30 2013 -0700 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Wed Oct 23 21:49:30 2013 -0700 |
tree | df3800d9daaa29cd433d035b6243090ff80e35e7 | |
parent | a83be20d7f0240ce61cf82ab5230529baf9dfe42 [diff] [blame] |
window.c: Use frame code for drawing menus This gives us a nice frame and drop shadows for the menus.
diff --git a/shared/cairo-util.h b/shared/cairo-util.h index d679bcb..a8eb874 100644 --- a/shared/cairo-util.h +++ b/shared/cairo-util.h
@@ -64,6 +64,8 @@ }; void +theme_set_background_source(struct theme *t, cairo_t *cr, uint32_t flags); +void theme_render_frame(struct theme *t, cairo_t *cr, int width, int height, const char *title, uint32_t flags);