query_all_colors ( : : : Colors )

queries all color names.

query_all_colors returns the names of all colors that are known to HORUS. That doesn't mean, that these colors are available for specific screens. On some screens there may only be a subset of colors available (see query_color). Before opening the first window, set_system can be used to define which and how many colors should be used. The HORUS colors are used to display regions (disp_region, disp_polygon, disp_circle, etc.). They can be defined with set_color.


Parameters

Colors (output_control)
string-array -> string
color names.


Example
query_all_colors(:::Colors) >
 >
set_system(::'graphic_colors',ActColors:) >
open_window(::0,0,1,1,'root','invisible','':) >
query_color(:::F) >
close_window(:::) >
fwrite_string(::['Setting Colors: ',F]:).

Result

query_all_colors always returns TRUE


Possible Successors

set_system, set_color, disp_region


See also

query_color, set_system, set_color, disp_region, open_window, open_textwindow



Copyright © 1996-1997 MVTec Software GmbH