1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include "scrollarea.h" typedef struct Toolbar Toolbar; Toolbar *toolbar_new (void); void toolbar_paint (Toolbar *bar, FooScrollArea *scroll_area, cairo_t *cr, int x, int y); void toolbar_invalidate (Toolbar *bar, FooScrollArea *scroll_area, int x, int y); int toolbar_get_width (Toolbar *bar);