File: drawselection.c

package info (click to toggle)
denemo 0.5.9-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,500 kB
  • ctags: 2,415
  • sloc: ansic: 23,057; sh: 3,321; yacc: 1,737; makefile: 449; lex: 376
file content (16 lines) | stat: -rw-r--r-- 387 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* drawselection.c
 * draws a blue bounding box around the currently selected music
 *
 * for Denemo, a gtk+ frontend to GNU Lilypond
 * (c) 1999, 2000, 2001 Matthew Hiller
 */

#include "drawingprims.h"
#include "utils.h"

void
draw_selection (GdkPixmap * pixmap, GdkGC * gc, gint x1, gint y1,
		gint x2, gint y2)
{
  gdk_draw_rectangle (pixmap, gc, FALSE, x1, y1, x2 - x1, y2 - y1);
}