Section Views
View utility functions
- See
- View
Summary
Return type | Function and summary |
---|---|
int | AdjustStavesGroupSymbolPosition(Score score, table groups) Experimental: Adjust horizontal and vertical staves group symbole (braces and brackets). |
int | ChooseView(Score score, boolean index, int (default=current) Ask the user to choose one view, or a value for ViewIndex. |
Functions
AdjustStavesGroupSymbolPosition(Score score, table groups)
Experimental: Adjust horizontal and vertical staves group symbole (braces and brackets).
Parameter | Type | Default | Description |
---|---|---|---|
score | Score | score | |
groups | table | nil | Table of StavesGroup to modify, others are unchanged. nil or empty table means all staves group of score. |
- Return
- int: Number of modified staves group symbols.
ChooseView(Score score, boolean index, int (default=current)
Ask the user to choose one view, or a value for ViewIndex.
Parameter | Type | Default | Description |
---|---|---|---|
score | Score | score | |
index | boolean | Add the choices
| |
(default=current | int | view) selected index |
- Return
- int: view index