VIDEO_OA_seq_getModeCol()

This function determines the appropriate color for the current state of a sequence.

Synopsis

string VIDEO_seq_getModeCol(int mode);

Parameters

Parameter Description
mode Content of the .mode element of a sequence data point

Return Value

Color name (video_seq_pause, video_seq_pause or vide

Errors

Missing or wrong arguments

Description

This function determines the appropriate color for the current state of a sequence.

EXAMPLE

main()
{
  int mode;
  string dp = VIDEO_OA_paraList_getSequenceDpFromName("my
  sequence");
  dpGet(dp + ".mode",mode);
  string col = VIDEO_OA_seq_getModeCol(mode);
  DebugN(col);
}

Assignment

Video functions

Availability

UI, CTRL