File: contexts.h

package info (click to toggle)
denemo 0.9.2-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 26,724 kB
  • sloc: ansic: 59,006; lisp: 13,874; sh: 11,666; makefile: 2,082; xml: 634; sed: 16
file content (26 lines) | stat: -rw-r--r-- 711 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
/* contexts.h
 * Context finders: functions that find the current clef, key, and time
 * signature contexts for the initial(?) measures being displayed 
 * Also, set the initial values for the staffs from the first measure data
 *
 * for Denemo, a gtk+ frontend to GNU Lilypond
 * (c) 1999-2005 Matthew Hiller
 */

#ifndef __CONTEXTS_H__
#define __CONTEXTS_H__
#include <denemo/denemo.h>

void find_leftmost_staffcontext (DenemoStaff * curstaffstruct,
				 DenemoScore *si);

void find_leftmost_allcontexts (DenemoScore *si);
gint 
find_prevailing_clef(DenemoScore *si);
DenemoObject *
get_clef_before_object(objnode *curobj);

gpointer 
get_prevailing_context(DenemoObjType type);

#endif /* __CONTEXTS_H__ */