#ifndef DRAWINGAREA_H
#define DRAWINGAREA_H
#include "../ui/graphics.h"
#include "toolkit.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct UiDrawEvent {
ui_drawfunc callback;
UiObject *obj;
void *userdata;
} UiDrawEvent;
struct UiTextLayout {
PangoLayout *layout;
};
void ui_connect_draw_handler(GtkWidget *widget, UiDrawEvent *event);
PangoContext *ui_get_pango_context(UiGraphics *g);
#ifdef __cplusplus
}
#endif
#endif