cmTimeLine.h/c:Added the 'bar' and 'sectionStr' field to cmTlMarker_t.
This commit is contained in:
parent
a8ba59b2f5
commit
de009f9cd8
@ -800,7 +800,7 @@ cmTlRC_t _cmTlAllocMarkerRecd( _cmTl_t* p, const cmChar_t* nameStr, const cmChar
|
||||
strcpy(tp,textStr);
|
||||
|
||||
// copy the section label string into memory just past the markers text string
|
||||
cmChar_t* sp = strlen(tp) + 1;
|
||||
cmChar_t* sp = tp + strlen(tp) + 1;
|
||||
strcpy(sp,sectStr);
|
||||
|
||||
mp->text = tp;
|
||||
|
@ -96,8 +96,8 @@ extern "C" {
|
||||
{
|
||||
cmTlObj_t obj;
|
||||
const cmChar_t* text;
|
||||
unsigned bar;
|
||||
const cmChar_t* sectionStr;
|
||||
unsigned bar; // measure (bar) in which this marker starts
|
||||
const cmChar_t* sectionStr; // the section in which this marker starts
|
||||
} cmTlMarker_t;
|
||||
|
||||
extern cmTlH_t cmTimeLineNullHandle;
|
||||
@ -137,7 +137,7 @@ extern "C" {
|
||||
|
||||
cmTlObj_t* cmTlIdToObjPtr( cmTlH_t h, unsigned uid );
|
||||
|
||||
// Cast a genereic cmTlObj_t pointer to a specificy type.
|
||||
// Cast a genereic cmTlObj_t pointer to a specific type.
|
||||
cmTlMidiFile_t* cmTimeLineMidiFileObjPtr( cmTlH_t h, cmTlObj_t* op );
|
||||
cmTlAudioFile_t* cmTimeLineAudioFileObjPtr( cmTlH_t h, cmTlObj_t* op );
|
||||
cmTlMidiEvt_t* cmTimeLineMidiEvtObjPtr( cmTlH_t h, cmTlObj_t* op );
|
||||
|
Loading…
Reference in New Issue
Block a user