src/separator/separator.h (raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
// Tint2 : Separator // Author: Oskari Rauta <oskari.rauta@gmail.com> #ifndef SEPARATOR_H #define SEPARATOR_H #include "common.h" #include "area.h" typedef enum SeparatorStyle { SEPARATOR_EMPTY = 0, SEPARATOR_LINE, SEPARATOR_DOTS } SeparatorStyle; typedef struct Separator { Area area; SeparatorStyle style; Color color; int thickness; int length; } Separator; Separator *create_separator(); void destroy_separator(void *obj); void init_separator(); void init_separator_panel(void *p); void cleanup_separator(); gboolean resize_separator(void *obj); void draw_separator(void *obj, cairo_t *c); #endif |