2
* Copyright (C) 2003 Red Hat, Inc.
4
* This is free software; you can redistribute it and/or modify it under
5
* the terms of the GNU Library General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
9
* This program is distributed in the hope that it will be useful, but
10
* WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* General Public License for more details.
14
* You should have received a copy of the GNU Library General Public
15
* License along with this program; if not, write to the Free Software
16
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22
#include <sys/param.h>
31
_vte_skel_clear(struct _vte_draw *draw,
32
gint x, gint y, gint width, gint height)
34
g_message ("_vte_skel_clear: %d,%d+%d,%d",
39
_vte_skel_get_text_metrics(struct _vte_draw *draw,
40
gint *width, gint *height, gint *ascent)
42
g_message ("_vte_skel_get_text_metrics");
46
_vte_skel_draw_text(struct _vte_draw *draw,
47
struct _vte_draw_text_request *requests, gsize n_requests,
48
GdkColor *color, guchar alpha, gboolean bold)
50
g_message ("_vte_skel_draw_text: %d chars",
55
_vte_skel_fill_rectangle(struct _vte_draw *draw,
56
gint x, gint y, gint width, gint height,
57
GdkColor *color, guchar alpha)
59
g_message ("_vte_skel_fill_rectangle: %d,%d+%d,%d",
63
const struct _vte_draw_impl _vte_draw_skel = {
68
NULL, /* get_visual */
69
NULL, /* get_colormap */
72
NULL, /* set_background_solid */
73
NULL, /* set_background_image */
74
NULL, /* set_background_scroll */
76
TRUE, /* always_requires_clear */
78
NULL, /* set_text_font */
79
_vte_skel_get_text_metrics,
80
NULL, /* get_char_width */
83
NULL, /* draw_has_char */
84
NULL, /* draw_rectangle */
85
_vte_skel_fill_rectangle