Fonction GPMID_GetTrackColor

Print

Retrieves the color of a track in the tablature which is currently loaded.

Syntax

GPMID_ENTRY GPColor GPMID_GetTrackColor(
	unsigned int aTrackIdx
);

Parameters

  1. aTrackIdx

    The zero-based index of the track.

Return value

The color of the track.

Remarks

Before using this function, GPMID must have been initialized with GPMID_Init and a tablature must have been successfully loaded with GPMID_Load.

This function can be called with an index ranging from 0 to the value returned by GPMID_GetTrackCount minus 1.