<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Checks if terminal color definitions can be changed</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.ncurses-bottom-panel.html">ncurses_bottom_panel</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.ncurses-cbreak.html">ncurses_cbreak</a></div> <div class="up"><a href="ref.ncurses.html">Ncurses Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="function.ncurses-can-change-color" class="refentry"> <div class="refnamediv"> <h1 class="refname">ncurses_can_change_color</h1> <p class="verinfo">(PHP 4 >= 4.0.7, PHP 5 < 5.3.0, PECL ncurses >= 1.0.0)</p><p class="refpurpose"><span class="refname">ncurses_can_change_color</span> — <span class="dc-title">Checks if terminal color definitions can be changed</span></p> </div> <div class="refsect1 description" id="refsect1-function.ncurses-can-change-color-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><strong>ncurses_can_change_color</strong></span> ( <span class="methodparam">void</span> )</div> <p class="para rdfs-comment"> Checks whether the terminal has color capabilities and whether the programmer can change color definitions using <span class="function"><a href="function.ncurses-init-color.html" class="function">ncurses_init_color()</a></span>. ncurses must be initialized using <span class="function"><a href="function.ncurses-init.html" class="function">ncurses_init()</a></span> before calling this function. </p> </div> <div class="refsect1 parameters" id="refsect1-function.ncurses-can-change-color-parameters"> <h3 class="title">Parameters</h3> <p class="para">This function has no parameters.</p> </div> <div class="refsect1 returnvalues" id="refsect1-function.ncurses-can-change-color-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Return <strong><code>TRUE</code></strong> if the programmer can change color definitions, <strong><code>FALSE</code></strong> otherwise. </p> </div> <div class="refsect1 seealso" id="refsect1-function.ncurses-can-change-color-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"> <span class="function"><a href="function.ncurses-has-colors.html" class="function" rel="rdfs-seeAlso">ncurses_has_colors()</a> - Checks if terminal has color capabilities</span></li> <li class="member"> <span class="function"><a href="function.ncurses-init-color.html" class="function" rel="rdfs-seeAlso">ncurses_init_color()</a> - Define a terminal color</span></li> <li class="member"> <span class="function"><a href="function.ncurses-start-color.html" class="function" rel="rdfs-seeAlso">ncurses_start_color()</a> - Initializes color functionality</span></li> </ul> </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.ncurses-bottom-panel.html">ncurses_bottom_panel</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.ncurses-cbreak.html">ncurses_cbreak</a></div> <div class="up"><a href="ref.ncurses.html">Ncurses Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>