libeek: refine GtkDrawingArea based UI

This commit is contained in:
Daiki Ueno
2010-06-18 13:27:50 +09:00
parent 6ba0a734d9
commit 3af13fb38a
7 changed files with 347 additions and 109 deletions

View File

@ -1,8 +1,7 @@
#ifndef EEK_DRAWING_H
#define EEK_DRAWING_H 1
#include <cairo/cairo.h>
#include <pango/pango.h>
#include <pango/pangocairo.h>
#include "eek-keyboard.h"
#include "eek-keysym.h"
#include "eek-types.h"
@ -19,6 +18,10 @@ void eek_get_fonts (EekKeyboard *keyboard,
void eek_draw_outline (cairo_t *cr,
EekOutline *outline);
void eek_draw_key_label (cairo_t *cr,
EekKey *key,
PangoFontDescription **fonts);
void eek_draw_rounded_polygon (cairo_t *cr,
gboolean filled,
gdouble radius,