Return to previous page Return to menu Go to next page

  Title  
Function specifications
  Function  
Increase / decrease color offset
Function Name
SCL_IncColOffset
No
42

  format  void SCL_IncColOffset (Uint16 offsetReg, Sint16 red,
 Sint16 green, Sint16 blue)
 Input  offsetReg: Specify which color offset register to use.
 S  SCL_OFFSET_A, SCL_OFFSET_B
:  red: Color specification (red) -255 to 255
:  green: Color designation (green) -255 to 255
:  blue: Color designation (blue) -255 to 255
 Output  None
 Function value  None
 Function  Increases or decreases the color offset value. 

  Title  
Function specifications
  Function  
Set automatic color offset
Function Name
SCL_SetAutoColOffset
No
43

  format  voidSCL_SetAutoColOffset (Uint32 offsetReg, Uint32 interval, Uint32time,
  SclRgb * start, SclRgb * end)
 Input  offsetReg: Specify which color offset register to use.
 S  SCL_OFFSET_A, SCL_OFFSET_B
  interval: Interval
  Specified in 1/60 second
 time  time: Specify the time it takes to complete the color change.
  Specified in 1/60 second
:  start: Start color designation (red) -255 to 255
: : Start color designation (green) -255 to 255
: : Start color designation (blue) -255 to 255
:  end: End color designation (red) -255 to 255
: : End color designation (green) -255 to 255
: : End color designation (blue) -255 to 255
 Output  None
 Function value  None
 Function  Color offset data is gradually changed at a specified time or interval. 


Return to previous page Return to menu Go to next page