From f094466d640d7a3a3d2bf1344a8b05961e6388b3 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Tue, 25 Jan 2011 11:10:53 +0900 Subject: [PATCH] Add license text. --- eek/eek-clutter-renderer.c | 24 ++++++++++++++++++++++++ eek/eek-clutter-renderer.h | 20 ++++++++++++++++++++ eek/eek-drawing.h | 32 -------------------------------- eek/eek-renderer.c | 24 ++++++++++++++++++++++++ eek/eek-renderer.h | 20 ++++++++++++++++++++ 5 files changed, 88 insertions(+), 32 deletions(-) delete mode 100644 eek/eek-drawing.h diff --git a/eek/eek-clutter-renderer.c b/eek/eek-clutter-renderer.c index e77047fb..96049cce 100644 --- a/eek/eek-clutter-renderer.c +++ b/eek/eek-clutter-renderer.c @@ -1,9 +1,33 @@ +/* + * Copyright (C) 2010 Daiki Ueno + * Copyright (C) 2010 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301 USA + */ + #include #include #include #include #include +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif /* HAVE_CONFIG_H */ + #include "eek-clutter-renderer.h" #include "eek-key.h" diff --git a/eek/eek-clutter-renderer.h b/eek/eek-clutter-renderer.h index b32b4732..ab6885a7 100644 --- a/eek/eek-clutter-renderer.h +++ b/eek/eek-clutter-renderer.h @@ -1,3 +1,23 @@ +/* + * Copyright (C) 2010 Daiki Ueno + * Copyright (C) 2010 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301 USA + */ + #ifndef EEK_CLUTTER_RENDERER_H #define EEK_CLUTTER_RENDERER_H 1 diff --git a/eek/eek-drawing.h b/eek/eek-drawing.h deleted file mode 100644 index df2ea64f..00000000 --- a/eek/eek-drawing.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef EEK_DRAWING_H -#define EEK_DRAWING_H 1 - -#include -#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_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, - EekPoint *points, - gint num_points); - -G_END_DECLS -#endif /* EEK_DRAWING_H */ diff --git a/eek/eek-renderer.c b/eek/eek-renderer.c index 135b70f1..aaccbe04 100644 --- a/eek/eek-renderer.c +++ b/eek/eek-renderer.c @@ -1,5 +1,29 @@ +/* + * Copyright (C) 2010 Daiki Ueno + * Copyright (C) 2010 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301 USA + */ + #include +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif /* HAVE_CONFIG_H */ + #include "eek-key.h" #include "eek-section.h" #include "eek-renderer.h" diff --git a/eek/eek-renderer.h b/eek/eek-renderer.h index 43443f45..687c9564 100644 --- a/eek/eek-renderer.h +++ b/eek/eek-renderer.h @@ -1,3 +1,23 @@ +/* + * Copyright (C) 2011 Daiki Ueno + * Copyright (C) 2011 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301 USA + */ + #ifndef EEK_RENDERER_H #define EEK_RENDERER_H 1