1 <?xml version="1.0" encoding="UTF-8"?>
5 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
12 * Copyright (C) 2012 - 2016 - Scilab Enterprises
14 * This file is hereby licensed under the terms of the GNU GPL v2.0,
15 * pursuant to article 5.3.4 of the CeCILL v.2.1.
16 * This file was originally licensed under the terms of the CeCILL v2.1,
17 * and continues to be available under such terms.
18 * For more information, see the COPYING file which you should have received
19 * along with this program.
25 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="getcolor">
29 <refname>getcolor</refname>
31 <refpurpose>カレントのカラーマップの色を示すダイアログをオープンする</refpurpose>
39 <synopsis>c=getcolor(title,[cini])
59 <para>文字列, ダイアログのタイトル.</para>
71 <para>選択された初期値の色ID.デフォルト値はs 1.</para>
103 <literal>getcolor</literal> はカレントのカラーマップのパレットを表示する
107 ユーザはそのIDとRGB値を表示するために色をクリックすることができます.
109 <literal>getcolor</literal> は選択された色のID,または
111 "Cancel"ボタンがクリックされたかウインドウがクローズされた場合に []を返します.
121 <programlisting role="example"><![CDATA[
127 getcolor("Title foo");
131 getcolor("foo",21); // 赤を選択
139 <refsection role="see also">
143 <simplelist type="inline">
147 <link linkend="color">color</link>
153 <link linkend="colormap">colormap</link>