1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/* drawgrace.cpp
*
* Functions for drawing tuplet indications
*
* for Denemo, a gtk+ frontend to GNU Lilypond
* (c) 1999-2005 Adam Tee
*/
#include "utils.h" /* Includes <gdk.h> */
#include <denemo/denemo.h>
/**
* Draw grace note on the screen
*
*/
void
draw_gracebracket (cairo_t *cr,
gint xx, gint y, DenemoObject * theobj)
{
char *text="";
if (theobj->type == GRACE_START)
{
text = _("\\");
}
else if (theobj->type == GRACE_END)
{
text = _("'");
}
drawnormaltext_cr( cr, text, xx, y - 4 );
}
|