1つ以上のカラーマップエントリ用のRGB値を返す。
構文:
call "CBL_SCR_QUERY_COLORMAP" using table-count
color-attribute
RGB-values
returning status-code
パラメーター:
|
呼び出しプロトタイプ使用時 (
説明の読み方) |
PIC (32 ビット システム) |
table-count |
cblt-x2-compx |
pic x(2) comp-x. |
color-attribute |
cblt-x4-compx occurs n
times. |
pic x(4) comp-x occurs n
times. |
RGB-values |
Group predefined as
cblt-generic-attr-rgb-values containing: |
Group, occurs n times,
containing |
|
cblte-garv-red-value |
|
cblt-x2-compx |
|
pic x(2) comp-x. |
|
cblte-garv-green-value |
|
cblt-x2-compx |
|
pic x(2) comp-x. |
|
cblte-garv-blue-value |
|
cblt-x2-compx |
|
pic x(2) comp-x. |
|
cblte-garv-filler |
|
cblt-x1 occurs 2 |
|
pic x(2). |
status-code |
説明の読み方 参照 |
入力パラメーター:
table-count |
問い合わせるエントリの数 |
color-attribute |
問い合わせる1つ以上のカラーマップ索引の表 |
出力パラメーター:
RGB-values |
表索引に対応するRGB値の表
|
table-count |
クエリに成功したエントリの数。通常は要求された数だが、呼び出しが完全に成功しなかった場合は少ない数となる。 |
他参照:
関連項目