Differences
This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
dev:creating_events.txt [2013/09/04 19:55] tehom Moved to its own page |
dev:creating_events.txt [2022/05/06 16:07] (current) |
To create a new sort of event, you will need these things: | To create a new sort of event, you will need these things: |
* A unique name as a std:string | * A unique name as a std:string |
* A unique name for each new property, also as a std:string. | * A unique name for each new property, as a PropertyName which is basically an interned std::string. |
* A subordering, which controls whether it is first if there are two events at the same time. It's an integer that means sorting priority. You probably shouldn't make the subordering negative, which is the realm of key signatures and time signatures. | * A subordering, which controls whether it is first if there are two events at the same time. It's an integer that means sorting priority. You probably shouldn't make the subordering negative, which is the realm of key signatures and time signatures. |
| |