784951111/lib/tpl/dokuwiki/images/favicon.ico" /> 784951111/lib/tpl/dokuwiki/images/apple-touch-icon.png" />

User Tools

Site Tools

784951111/doku.php" method="get" accept-charset="utf-8">

jvs:cigal:showplay:manual:chapter4:backcolor

ShowPlay Reference Manual, Chapter 4 (StimulusEvents): backcolor

Backcolor -- Change the default back color

The BACKCOLOR stimulus event lets you change the screen background color parameter during your Showplay real-time program. The syntax for the BACKCOLOR event is:

 backcolor          stim_id   stim_flg     start_time   colorRGBvalue

COLORRGBVALUE is a 24-bit color value, specifying red, green, blue values in 8-bits each. These color values must be entered as decimal integer values in the stimulus table. A table of some common color values is:

 RGBdecimal     RGBhex          Color
         0          0h          Black
  16777215    0ffffffh          White
       255        0ffh          Blue
     65280      0ff00h          Green
  16711680    0ff0000h          Red

RGB values can be entered as hexidecimal numbers on CIGAL command lines, which can be useful for converting 24 bit colors to decimal values.

Note: The BACKCOLOR event does not change the display – it just changes that back_color parameter. The display will change to that color the next time the screen is erased.

See Also:
Paradigm parameter file, Stimulus table

CIGAL Home, CIGAL Manual, ShowPlay Home, ShowPlay Manual, Stimulus Event List, Manual Help

jvs/cigal/showplay/manual/chapter4/backcolor.txt · Last modified: 2024/06/21 15:44 by 127.0.0.1