GUIDOLib  1.7.7
Guido Engine Internal Documentation
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
GUIDOInternal.h
1 #ifndef __GUIDOInternal__
2 #define __GUIDOInternal__
3 
4 /*
5  GUIDO Library
6  Copyright (C) 2002 Holger Hoos, Juergen Kilian, Kai Renz
7  Copyright (C) 2003, 2004 Grame
8 
9 
10  This Source Code Form is subject to the terms of the Mozilla Public
11  License, v. 2.0. If a copy of the MPL was not distributed with this
12  file, You can obtain one at http://mozilla.org/MPL/2.0/.
13 
14  Grame Research Laboratory, 11, cours de Verdun Gensoul 69002 Lyon - France
15  research@grame.fr
16 
17 */
18 
19 #include <iostream>
20 
21 #include "GUIDOEngine.h"
22 #include "VGSystem.h"
23 
24 
25 // 06/2004: Version 1.3.1: big changes in the API, new entry points.
26 
27 class GRMusic;
28 class ARMusic;
29 class VGDevice;
30 
31 struct NodeAR
32 {
33  int refCount; // Number of GRMusic using this NodeAR.
36 };
37 
38 struct NodeGR
39 {
40  int page; // page is obsolete. Just here for compatibility.
42  NodeAR * arHandle; // the corresponding AR handle
43 };
44 
49 {
50  // if 1: springs and rods are displayed
51  // if 0: no display of springs and rods. [default]
53 
54  // if 1: force is displayed at end of system
55  // if 0: no display of force. [default]
57 
58  // if 1: barlines are introduced automatically [default]
59  // if 0: no automatic barlines.
61 
62  // TODO: what are these for?
64 };
65 
66 // these are the default global settings
67 extern GuidoGlobalSettings gGlobalSettings;
68 extern int gBoundingBoxesMap;
69 #define kPageBBColor VGColor( 0, 0, 255 )
70 #define kSystemBBColor VGColor( 0, 0, 0 )
71 #define kSystemSliceBBColor VGColor( 0, 0, 200 )
72 #define kStaffBBColor VGColor( 255, 0, 0 )
73 #define kMeasureBBColor VGColor( 0, 255, 0 )
74 #define kEventBBColor VGColor( 255, 0, 0 )
75 
76 
77 // - Internal function declarations
78 void guido_deinit();
79 void guido_cleanup();
80 
81 ARHandler guido_RegisterARMusic( ARMusic * inMusic );
82 GRHandler guido_RegisterGRMusic( GRMusic * inMusic, ARHandler inHandleAR );
83 
84 std::ostream & operator << ( std::ostream & os, const GuidoLayoutSettings* );
85 
86 #endif
NodeAR
Definition: GUIDOInternal.h:31
NodeGR::grmusic
GRMusic * grmusic
Definition: GUIDOInternal.h:41
GuidoGlobalSettings::gDisplaySprings
int gDisplaySprings
Definition: GUIDOInternal.h:52
NodeAR::fEngineSettings
GuidoLayoutSettings * fEngineSettings
Definition: GUIDOInternal.h:35
GRMusic
Graphical representation of the music. It handles a list of voices and a list of pages.
Definition: GRMusic.h:41
GuidoGlobalSettings::gDevice
VGDevice * gDevice
Definition: GUIDOInternal.h:63
VGDevice
Generic platform independant drawing device.
Definition: VGDevice.h:68
NodeGR::arHandle
NodeAR * arHandle
Definition: GUIDOInternal.h:42
GuidoGlobalSettings::gAutoBarlines
int gAutoBarlines
Definition: GUIDOInternal.h:60
GuidoLayoutSettings
Engine settings for the graphic score layout.
Definition: GUIDOEngine.h:255
NodeGR
Definition: GUIDOInternal.h:38
GuidoGlobalSettings
Contains all global settings required by engine (moved from nview.h)
Definition: GUIDOInternal.h:48
NodeGR::page
int page
Definition: GUIDOInternal.h:40
NodeAR::armusic
ARMusic * armusic
Definition: GUIDOInternal.h:34
operator<<
std::ostream & operator<<(std::ostream &os, const svgendl &eol)
GuidoGlobalSettings::gDisplayForce
int gDisplayForce
Definition: GUIDOInternal.h:56
ARMusic
Translation of a GUIDO Segment into a class.
Definition: ARMusic.h:31
NodeAR::refCount
int refCount
Definition: GUIDOInternal.h:33

Guido Project Copyright © 2019 Grame-CNCM