#ifndef COMET_DRAW_H #define COMET_DRAW_H #include #include #include "window.h" // TODO: Make opaque typedef struct { Window *win; PangoFontDescription *desc; int height; int left_pad; int right_pad; int top_pad; double alpha; } Drawable; Drawable *draw_create(Window *win, const char *font, int height, int left_pad, int right_pad, int top_pad, double alpha); void draw_paint(Drawable *draw); void draw_destroy(Drawable *draw); #endif // vim: ts=4 sw=4 et