File: accwidths.h

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 (33 lines) | stat: -rw-r--r-- 724 bytes parent folder | download
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
/* accwidths.h
 * holds accidental widths, which is used both in draw_accidental
 * and setpixelmin 
 * for Denemo, a gtk+ frontend to GNU Lilypond
 * (c) 2000, 2001 Matthew Hiller
 */
#ifndef ACCWIDTHS_H
#define ACCWIDTHS_H

#include <glib.h>

#define NUMACCTYPES 5
#define DOUBLEFLAT_WIDTH 15
#define DOUBLEFLAT_HEIGHT 26
#define DOUBLEFLAT_OFFSET 18
#define FLAT_WIDTH 9
#define FLAT_HEIGHT 26
#define FLAT_OFFSET 18
#define NATURAL_WIDTH 7
#define NATURAL_HEIGHT 30
#define NATURAL_OFFSET 14
#define SHARP_WIDTH 11
#define SHARP_HEIGHT 32
#define SHARP_OFFSET 15
#define DOUBLESHARP_WIDTH 10
#define DOUBLESHARP_HEIGHT 10
#define DOUBLESHARP_OFFSET 5

#define EXTRABACKOFF 3

extern gint accwidths[NUMACCTYPES];

#endif