cvs: phpdoc /en/reference/ming/functions swfbutton.xml swfdisplayitem.rotateto.xml

From: Date: Thu, 15 Jan 2004 12:42:51 +0000
Subject: cvs: phpdoc /en/reference/ming/functions swfbutton.xml swfdisplayitem.rotateto.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969358208@lists.php.net to get a copy of this message
didou Thu Jan 15 07:42:51 2004 EDT Modified files: /phpdoc/en/reference/ming/functions swfbutton.xml swfdisplayitem.rotateto.xml Log: CS : Function declarations follow the 'one true brace' convention Index: phpdoc/en/reference/ming/functions/swfbutton.xml diff -u phpdoc/en/reference/ming/functions/swfbutton.xml:1.4 phpdoc/en/reference/ming/functions/swfbutton.xml:1.5 --- phpdoc/en/reference/ming/functions/swfbutton.xml:1.4 Thu Dec 18 12:45:40 2003 +++ phpdoc/en/reference/ming/functions/swfbutton.xml Thu Jan 15 07:42:50 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/ming.xml, last change in rev 1.24 --> <refentry id="function.swfbutton"> <refnamediv> @@ -37,7 +37,8 @@ $p = new SWFSprite(); - function label($string) { + function label($string) + { global $f; $t = new SWFTextField(); @@ -48,7 +49,8 @@ return $t; } - function addLabel($string) { + function addLabel($string) + { global $p; $i = $p->add(label($string)); @@ -66,7 +68,8 @@ addLabel("SWFBUTTON_DRAGOVER"); addLabel("SWFBUTTON_DRAGOUT"); - function rect($r, $g, $b) { + function rect($r, $g, $b) + { $s = new SWFShape(); $s->setRightFill($s->addFill($r, $g, $b)); $s->drawLine(600, 0); Index: phpdoc/en/reference/ming/functions/swfdisplayitem.rotateto.xml diff -u phpdoc/en/reference/ming/functions/swfdisplayitem.rotateto.xml:1.4 phpdoc/en/reference/ming/functions/swfdisplayitem.rotateto.xml:1.5 --- phpdoc/en/reference/ming/functions/swfdisplayitem.rotateto.xml:1.4 Sat Dec 20 20:22:55 2003 +++ phpdoc/en/reference/ming/functions/swfdisplayitem.rotateto.xml Thu Jan 15 07:42:50 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/ming.xml, last change in rev 1.24 --> <refentry id="function.swfdisplayitem.rotateto"> <refnamediv> @@ -43,7 +43,8 @@ // functions with huge numbers of arbitrary // arguments are always a good idea! Really! - function text($r, $g, $b, $a, $rot, $x, $y, $scale, $string) { + function text($r, $g, $b, $a, $rot, $x, $y, $scale, $string) + { global $f, $m; $t = new SWFText(); @@ -71,7 +72,8 @@ return $i; } - function step($i) { + function step($i) + { $oldrot = $i->rot; $i->rot = 19*$i->rot/20; $i->x = (19*$i->x + 1200)/20;

« previous php.doc (#969358208) next »