typos fixed

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@66626 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Georg Richter 2002-01-01 20:47:34 +00:00
parent ceda18b1b0
commit 6ae20cd599

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.5 $ -->
<!-- $Revision: 1.6 $ -->
<reference id="ref.ncurses">
<title>Ncurses terminal screen control functions</title>
<titleabbrev>ncurses functions</titleabbrev>
@ -2681,11 +2681,10 @@ if ($mask & $newmask){
</funcsynopsis>
&warn.experimental.func;
<para>
<function>ncurses_getmouse</function> reads mouse event a pop
event out of queue. Function
<function>ncurses_getmouse</function> will return ;&false; if a
mouse event is actually visible in the given window, otherwise it
will return &true;.
<function>ncurses_getmouse</function> reads mouse event out of
queue. Function <function>ncurses_getmouse</function> will return
;&false; if a mouse event is actually visible in the given
window, otherwise it will return &true;.
Event options will be delivered in parameter
<parameter>mevent</parameter>, which has to be an array, passed
by reference (see example below).
@ -2703,10 +2702,6 @@ if ($mask & $newmask){
</itemizedlist>
</para>
<para>
<function>ncurses_getmouse</function> returns &false; on
success, otherwise &true;.
</para>
<para>
<example>
<title><function>ncurses_getmouse</function> example</title>
<programlisting role="php">
@ -2714,7 +2709,7 @@ if ($mask & $newmask){
switch (ncurses_getch){
case NCURSES_KEY_MOUSE:
if (!ncurses_getmouse($mevent)){
if (!ncurses_getmouse(&$mevent)){
if ($mevent["mmask"] & NCURSES_MOUSE_BUTTON1_PRESSED){
$mouse_x = $mevent["x"]; // Save mouse position
$mouse_y = $mevent["y"];