Add experimental GtkDrawingArea based UI.
This commit is contained in:
26
eek/eek-drawing.h
Normal file
26
eek/eek-drawing.h
Normal file
@ -0,0 +1,26 @@
|
||||
#ifndef EEK_DRAWING_H
|
||||
#define EEK_DRAWING_H 1
|
||||
|
||||
#include <cairo/cairo.h>
|
||||
#include <pango/pango.h>
|
||||
#include "eek-keyboard.h"
|
||||
#include "eek-keysym.h"
|
||||
#include "eek-types.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
void eek_draw_text_on_layout (PangoLayout *layout,
|
||||
const gchar *text);
|
||||
|
||||
void eek_get_fonts (EekKeyboard *keyboard,
|
||||
PangoLayout *layout,
|
||||
PangoFontDescription **fonts);
|
||||
|
||||
void eek_draw_rounded_polygon (cairo_t *cr,
|
||||
gboolean filled,
|
||||
gdouble radius,
|
||||
EekPoint *points,
|
||||
gint num_points);
|
||||
|
||||
G_END_DECLS
|
||||
#endif /* EEK_DRAWING_H */
|
||||
Reference in New Issue
Block a user