From fd709d52c7853605fea1e9d08cffa478b79e332e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 2 Nov 2016 07:54:01 +0100 Subject: php-pecl-ui: 2.0.0 --- REFLECTION | 272 ++++++++++++++++++++++++++++++++++++++++++++----------- php-pecl-ui.spec | 5 +- 2 files changed, 223 insertions(+), 54 deletions(-) diff --git a/REFLECTION b/REFLECTION index 4284af0..865650a 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,6 +1,22 @@ -Extension [ extension #156 ui version 1.0.3 ] { +Extension [ extension #157 ui version 2.0.0 ] { + + - Constants [2] { + Constant [ integer UI\Loop ] { 1 } + Constant [ integer UI\Wait ] { 2 } + } - Functions { + Function [ function UI\run ] { + + - Parameters [1] { + Parameter #0 [ integer $flags ] + } + } + Function [ function UI\quit ] { + + - Parameters [0] { + } + } Function [ function UI\Draw\Text\Font\fontFamilies ] { - Parameters [0] { @@ -8,7 +24,7 @@ Extension [ extension #156 ui version 1.0.3 ] { } } - - Classes [44] { + - Classes [47] { Class [ class UI\Exception\InvalidArgumentException extends InvalidArgumentException implements Throwable ] { - Constants [0] { @@ -123,11 +139,9 @@ Extension [ extension #156 ui version 1.0.3 ] { } } - Class [ class UI\App ] { + Class [ abstract class UI\Executor ] { - - Constants [2] { - Constant [ integer Loop ] { 1 } - Constant [ integer Wait ] { 2 } + - Constants [0] { } - Static properties [0] { @@ -140,29 +154,32 @@ Extension [ extension #156 ui version 1.0.3 ] { } - Methods [4] { - Method [ public method run ] { + Method [ public method __construct ] { - - Parameters [1] { - Parameter #0 [ integer $flags ] + - Parameters [2] { + Parameter #0 [ integer $seconds ] + Parameter #1 [ integer $microseconds ] } } - Method [ public method quit ] { + Method [ public method setInterval ] { - - Parameters [0] { + - Parameters [2] { + Parameter #0 [ integer $seconds ] + Parameter #1 [ integer $microseconds ] } } - Method [ protected method onTick ] { + Method [ public method kill ] { - Parameters [0] { } + - Return [ boolean ] } - Method [ protected method onShouldQuit ] { + Method [ abstract protected method onExecute ] { - - Parameters [1] { - Parameter #0 [ array $windows ] + - Parameters [0] { } } } @@ -380,11 +397,10 @@ Extension [ extension #156 ui version 1.0.3 ] { - Methods [27] { Method [ public method __construct ] { - - Parameters [4] { - Parameter #0 [ UI\App $app ] - Parameter #1 [ string $title ] - Parameter #2 [ UI\Size $size ] - Parameter #3 [ boolean $menu ] + - Parameters [3] { + Parameter #0 [ string $title ] + Parameter #1 [ UI\Size $size ] + Parameter #2 [ boolean $menu ] } } @@ -1316,7 +1332,7 @@ Extension [ extension #156 ui version 1.0.3 ] { Method [ public method setColor ] { - Parameters [1] { - Parameter #0 [ UI\Draw\Color $color ] + Parameter #0 [ $color ] } } @@ -3038,7 +3054,7 @@ Extension [ extension #156 ui version 1.0.3 ] { - Parameters [2] { Parameter #0 [ UI\Draw\Path $path ] - Parameter #1 [ UI\Draw\Brush $brush ] + Parameter #1 [ $with ] } } @@ -3046,7 +3062,7 @@ Extension [ extension #156 ui version 1.0.3 ] { - Parameters [3] { Parameter #0 [ UI\Draw\Path $path ] - Parameter #1 [ UI\Draw\Brush $brush ] + Parameter #1 [ $with ] Parameter #2 [ UI\Draw\Stroke $stroke ] } } @@ -3107,7 +3123,7 @@ Extension [ extension #156 ui version 1.0.3 ] { Method [ public method __construct ] { - Parameters [1] { - Parameter #0 [ integer $mode ] + Parameter #0 [ integer $mode ] } } @@ -3195,15 +3211,18 @@ Extension [ extension #156 ui version 1.0.3 ] { - Static methods [0] { } - - Properties [0] { + - Properties [4] { + Property [ public $r ] + Property [ public $g ] + Property [ public $b ] + Property [ public $a ] } - Methods [3] { Method [ public method __construct ] { - - Parameters [2] { - Parameter #0 [ integer $rgb ] - Parameter #1 [ float $alpha ] + - Parameters [1] { + Parameter #0 [ $rgba ] } } @@ -3227,11 +3246,7 @@ Extension [ extension #156 ui version 1.0.3 ] { Class [ class UI\Draw\Brush ] { - - Constants [4] { - Constant [ integer Solid ] { 1 } - Constant [ integer LinearGradient ] { 2 } - Constant [ integer RadialGradient ] { 3 } - Constant [ integer Image ] { 4 } + - Constants [0] { } - Static properties [0] { @@ -3243,58 +3258,128 @@ Extension [ extension #156 ui version 1.0.3 ] { - Properties [0] { } - - Methods [8] { + - Methods [3] { Method [ public method __construct ] { - - Parameters [7] { - Parameter #0 [ integer $type ] - Parameter #1 [ UI\Draw\Color or NULL $color ] - Parameter #2 [ float $X0 ] - Parameter #3 [ float $Y0 ] - Parameter #4 [ float $X1 ] - Parameter #5 [ float $Y1 ] - Parameter #6 [ float $radius ] + - Parameters [1] { + Parameter #0 [ $color ] } } - Method [ public method getType ] { + Method [ public method setColor ] { + + - Parameters [1] { + Parameter #0 [ $color ] + } + } + + Method [ public method getColor ] { - Parameters [0] { } + - Return [ UI\Draw\Color ] + } + } + } + + Class [ class UI\Draw\Brush\Gradient extends UI\Draw\Brush ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [6] { + Method [ public method addStop ] { + + - Parameters [2] { + Parameter #0 [ float $position ] + Parameter #1 [ $color ] + } - Return [ integer ] } - Method [ public method setType ] { + Method [ public method delStop ] { - Parameters [1] { - Parameter #0 [ integer $type ] + Parameter #0 [ integer $index ] } + - Return [ integer ] } - Method [ public method setColor ] { + Method [ public method setStop ] { + + - Parameters [3] { + Parameter #0 [ integer $index ] + Parameter #1 [ float $position ] + Parameter #2 [ UI\Draw\Color $color ] + } + - Return [ boolean ] + } + + Method [ public method __construct ] { - Parameters [1] { - Parameter #0 [ UI\Draw\Color $color ] + Parameter #0 [ $color ] } } - Method [ public method getColor ] { + Method [ public method setColor ] { + + - Parameters [1] { + Parameter #0 [ $color ] + } + } + + Method [ public method getColor ] { - Parameters [0] { } - Return [ UI\Draw\Color ] } + } + } - Method [ public method addStop ] { + Class [ class UI\Draw\Brush\LinearGradient extends UI\Draw\Brush\Gradient ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [6] { + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ UI\Point $start ] + Parameter #1 [ UI\Point $end ] + } + } + + Method [ public method addStop ] { - Parameters [2] { Parameter #0 [ float $position ] - Parameter #1 [ UI\Draw\Color $color ] + Parameter #1 [ $color ] } - Return [ integer ] } - Method [ public method delStop ] { + Method [ public method delStop ] { - Parameters [1] { Parameter #0 [ integer $index ] @@ -3302,7 +3387,74 @@ Extension [ extension #156 ui version 1.0.3 ] { - Return [ integer ] } - Method [ public method setStop ] { + Method [ public method setStop ] { + + - Parameters [3] { + Parameter #0 [ integer $index ] + Parameter #1 [ float $position ] + Parameter #2 [ UI\Draw\Color $color ] + } + - Return [ boolean ] + } + + Method [ public method setColor ] { + + - Parameters [1] { + Parameter #0 [ $color ] + } + } + + Method [ public method getColor ] { + + - Parameters [0] { + } + - Return [ UI\Draw\Color ] + } + } + } + + Class [ class UI\Draw\Brush\RadialGradient extends UI\Draw\Brush\Gradient ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [6] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ UI\Point $start ] + Parameter #1 [ UI\Point $outer ] + Parameter #2 [ float $radius ] + } + } + + Method [ public method addStop ] { + + - Parameters [2] { + Parameter #0 [ float $position ] + Parameter #1 [ $color ] + } + - Return [ integer ] + } + + Method [ public method delStop ] { + + - Parameters [1] { + Parameter #0 [ integer $index ] + } + - Return [ integer ] + } + + Method [ public method setStop ] { - Parameters [3] { Parameter #0 [ integer $index ] @@ -3311,6 +3463,20 @@ Extension [ extension #156 ui version 1.0.3 ] { } - Return [ boolean ] } + + Method [ public method setColor ] { + + - Parameters [1] { + Parameter #0 [ $color ] + } + } + + Method [ public method getColor ] { + + - Parameters [0] { + } + - Return [ UI\Draw\Color ] + } } } @@ -3741,7 +3907,7 @@ Extension [ extension #156 ui version 1.0.3 ] { Method [ public method setColor ] { - Parameters [3] { - Parameter #0 [ UI\Draw\Color $color ] + Parameter #0 [ $color ] Parameter #1 [ integer $start ] Parameter #2 [ integer $end ] } diff --git a/php-pecl-ui.spec b/php-pecl-ui.spec index b454fdb..f0e790e 100644 --- a/php-pecl-ui.spec +++ b/php-pecl-ui.spec @@ -21,7 +21,7 @@ %global ini_name 40-%{pecl_name}.ini Name: %{?sub_prefix}php-pecl-ui -Version: 1.0.3 +Version: 2.0.0 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Summary: UI API @@ -217,6 +217,9 @@ fi %changelog +* Wed Nov 02 2016 Remi Collet - 2.0.0-1 +- Update to 2.0.0 + * Sun Oct 30 2016 Remi Collet - 1.0.3-1 - Update to 1.0.3 -- cgit