From a1c4de6befc7fb41c79727afda36f2b53d624313 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 25 Oct 2016 11:26:23 +0200 Subject: mock fc25x: force metadata reload --- Makefile | 4 + REFLECTION | 3525 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ php-pecl-ui.spec | 227 ++++ 3 files changed, 3756 insertions(+) create mode 100644 Makefile create mode 100644 REFLECTION create mode 100644 php-pecl-ui.spec diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..13af741 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +SRCDIR := $(shell pwd) +NAME := $(shell basename $(SRCDIR)) +include ../../../common/Makefile + diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..6e5a2ca --- /dev/null +++ b/REFLECTION @@ -0,0 +1,3525 @@ +Extension [ extension #155 ui version 1.0.0 ] { + + - Functions { + Function [ function UI\Draw\Text\Font\fontFamilies ] { + + - Parameters [0] { + } + } + } + + - Classes [42] { + Class [ class UI\App ] { + + - Constants [2] { + Constant [ integer Loop ] { 1 } + Constant [ integer Wait ] { 2 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [4] { + Method [ public method run ] { + + - Parameters [1] { + Parameter #0 [ integer $flags ] + } + } + + Method [ public method quit ] { + + - Parameters [0] { + } + } + + Method [ protected method onTick ] { + + - Parameters [0] { + } + } + + Method [ protected method onShouldQuit ] { + + - Parameters [1] { + Parameter #0 [ array $windows ] + } + } + } + } + + Class [ final class UI\Point ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [2] { + Property [ public $x ] + Property [ public $y ] + } + + - Methods [5] { + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ float $x ] + Parameter #1 [ float $y ] + } + } + + Method [ public method getX ] { + + - Parameters [0] { + } + - Return [ float ] + } + + Method [ public method getY ] { + + - Parameters [0] { + } + - Return [ float ] + } + + Method [ public method setX ] { + + - Parameters [1] { + Parameter #0 [ float $point ] + } + } + + Method [ public method setY ] { + + - Parameters [1] { + Parameter #0 [ float $point ] + } + } + } + } + + Class [ final class UI\Size ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [5] { + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ float $width ] + Parameter #1 [ float $height ] + } + } + + Method [ public method getWidth ] { + + - Parameters [0] { + } + - Return [ float ] + } + + Method [ public method getHeight ] { + + - Parameters [0] { + } + - Return [ float ] + } + + Method [ public method setWidth ] { + + - Parameters [1] { + Parameter #0 [ float $size ] + } + } + + Method [ public method setHeight ] { + + - Parameters [1] { + Parameter #0 [ float $size ] + } + } + } + } + + Class [ final class UI\Control ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [10] { + Method [ public method getParent ] { + + - Parameters [0] { + } + - Return [ UI\Control or NULL ] + } + + Method [ public method setParent ] { + + - Parameters [1] { + Parameter #0 [ UI\Control $parent ] + } + } + + Method [ public method getTopLevel ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method isVisible ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method show ] { + + - Parameters [0] { + } + } + + Method [ public method hide ] { + + - Parameters [0] { + } + } + + Method [ public method isEnabled ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method enable ] { + + - Parameters [0] { + } + } + + Method [ public method disable ] { + + - Parameters [0] { + } + } + + Method [ public method destroy ] { + + - Parameters [0] { + } + } + } + } + + Class [ class UI\Window extends UI\Control ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - 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 ] + } + } + + Method [ public method setTitle ] { + + - Parameters [1] { + Parameter #0 [ string $title ] + } + } + + Method [ public method getTitle ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ public method setSize ] { + + - Parameters [1] { + Parameter #0 [ UI\Size $size ] + } + } + + Method [ public method getSize ] { + + - Parameters [0] { + } + - Return [ UI\Size ] + } + + Method [ public method setFullScreen ] { + + - Parameters [1] { + Parameter #0 [ boolean $full ] + } + } + + Method [ public method isFullScreen ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method setBorders ] { + + - Parameters [1] { + Parameter #0 [ boolean $borders ] + } + } + + Method [ public method hasBorders ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method setMargin ] { + + - Parameters [1] { + Parameter #0 [ boolean $margin ] + } + } + + Method [ public method hasMargin ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method add ] { + + - Parameters [1] { + Parameter #0 [ UI\Control $control ] + } + } + + Method [ public method msg ] { + + - Parameters [2] { + Parameter #0 [ string $title ] + Parameter #1 [ string $msg ] + } + } + + Method [ public method error ] { + + - Parameters [2] { + Parameter #0 [ string $title ] + Parameter #1 [ string $msg ] + } + } + + Method [ public method open ] { + + - Parameters [0] { + } + - Return [ string or NULL ] + } + + Method [ public method save ] { + + - Parameters [0] { + } + - Return [ string or NULL ] + } + + Method [ protected method onClosing ] { + + - Parameters [0] { + } + } + + Method [ public method getParent ] { + + - Parameters [0] { + } + - Return [ UI\Control or NULL ] + } + + Method [ public method setParent ] { + + - Parameters [1] { + Parameter #0 [ UI\Control $parent ] + } + } + + Method [ public method getTopLevel ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method isVisible ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method show ] { + + - Parameters [0] { + } + } + + Method [ public method hide ] { + + - Parameters [0] { + } + } + + Method [ public method isEnabled ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method enable ] { + + - Parameters [0] { + } + } + + Method [ public method disable ] { + + - Parameters [0] { + } + } + + Method [ public method destroy ] { + + - Parameters [0] { + } + } + } + } + + Class [ class UI\Controls\Form extends UI\Control ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [14] { + Method [ public method setPadded ] { + + - Parameters [1] { + Parameter #0 [ boolean $padded ] + } + } + + Method [ public method isPadded ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method append ] { + + - Parameters [3] { + Parameter #0 [ string $label ] + Parameter #1 [ UI\Control $control ] + Parameter #2 [ boolean $stretchy ] + } + } + + Method [ public method delete ] { + + - Parameters [1] { + Parameter #0 [ integer $index ] + } + } + + Method [ public method getParent ] { + + - Parameters [0] { + } + - Return [ UI\Control or NULL ] + } + + Method [ public method setParent ] { + + - Parameters [1] { + Parameter #0 [ UI\Control $parent ] + } + } + + Method [ public method getTopLevel ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method isVisible ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method show ] { + + - Parameters [0] { + } + } + + Method [ public method hide ] { + + - Parameters [0] { + } + } + + Method [ public method isEnabled ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method enable ] { + + - Parameters [0] { + } + } + + Method [ public method disable ] { + + - Parameters [0] { + } + } + + Method [ public method destroy ] { + + - Parameters [0] { + } + } + } + } + + Class [ class UI\Controls\Grid extends UI\Control ] { + + - Constants [8] { + Constant [ integer Fill ] { 0 } + Constant [ integer Start ] { 1 } + Constant [ integer Center ] { 2 } + Constant [ integer End ] { 3 } + Constant [ integer Leading ] { 0 } + Constant [ integer Top ] { 1 } + Constant [ integer Trailing ] { 2 } + Constant [ integer Bottom ] { 3 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [13] { + Method [ public method setPadded ] { + + - Parameters [1] { + Parameter #0 [ boolean $text ] + } + } + + Method [ public method isPadded ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method append ] { + + - Parameters [9] { + Parameter #0 [ UI\Control $control ] + Parameter #1 [ integer $left ] + Parameter #2 [ integer $top ] + Parameter #3 [ integer $xspan ] + Parameter #4 [ integer $yspan ] + Parameter #5 [ boolean $hexpand ] + Parameter #6 [ integer $halign ] + Parameter #7 [ boolean $vexpand ] + Parameter #8 [ integer $valign ] + } + } + + Method [ public method getParent ] { + + - Parameters [0] { + } + - Return [ UI\Control or NULL ] + } + + Method [ public method setParent ] { + + - Parameters [1] { + Parameter #0 [ UI\Control $parent ] + } + } + + Method [ public method getTopLevel ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method isVisible ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method show ] { + + - Parameters [0] { + } + } + + Method [ public method hide ] { + + - Parameters [0] { + } + } + + Method [ public method isEnabled ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method enable ] { + + - Parameters [0] { + } + } + + Method [ public method disable ] { + + - Parameters [0] { + } + } + + Method [ public method destroy ] { + + - Parameters [0] { + } + } + } + } + + Class [ class UI\Controls\Tab extends UI\Control ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [16] { + Method [ public method append ] { + + - Parameters [2] { + Parameter #0 [ string $name ] + Parameter #1 [ UI\Control $control ] + } + } + + Method [ public method delete ] { + + - Parameters [1] { + Parameter #0 [ integer $index ] + } + } + + Method [ public method pages ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method insertAt ] { + + - Parameters [3] { + Parameter #0 [ string $name ] + Parameter #1 [ boolean $before ] + Parameter #2 [ UI\Control $control ] + } + } + + Method [ public method setMargin ] { + + - Parameters [2] { + Parameter #0 [ integer $page ] + Parameter #1 [ boolean $margin ] + } + } + + Method [ public method hasMargin ] { + + - Parameters [1] { + Parameter #0 [ integer $page ] + } + - Return [ boolean ] + } + + Method [ public method getParent ] { + + - Parameters [0] { + } + - Return [ UI\Control or NULL ] + } + + Method [ public method setParent ] { + + - Parameters [1] { + Parameter #0 [ UI\Control $parent ] + } + } + + Method [ public method getTopLevel ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method isVisible ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method show ] { + + - Parameters [0] { + } + } + + Method [ public method hide ] { + + - Parameters [0] { + } + } + + Method [ public method isEnabled ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method enable ] { + + - Parameters [0] { + } + } + + Method [ public method disable ] { + + - Parameters [0] { + } + } + + Method [ public method destroy ] { + + - Parameters [0] { + } + } + } + } + + Class [ class UI\Controls\Box extends UI\Control ] { + + - Constants [2] { + Constant [ integer Vertical ] { 2 } + Constant [ integer Horizontal ] { 1 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [16] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ integer $orientation ] + } + } + + Method [ public method getOrientation ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method append ] { + + - Parameters [2] { + Parameter #0 [ UI\Control $control ] + Parameter #1 [ boolean $stretchy ] + } + } + + Method [ public method delete ] { + + - Parameters [1] { + Parameter #0 [ integer $index ] + } + } + + Method [ public method setPadded ] { + + - Parameters [1] { + Parameter #0 [ boolean $padded ] + } + } + + Method [ public method isPadded ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method getParent ] { + + - Parameters [0] { + } + - Return [ UI\Control or NULL ] + } + + Method [ public method setParent ] { + + - Parameters [1] { + Parameter #0 [ UI\Control $parent ] + } + } + + Method [ public method getTopLevel ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method isVisible ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method show ] { + + - Parameters [0] { + } + } + + Method [ public method hide ] { + + - Parameters [0] { + } + } + + Method [ public method isEnabled ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method enable ] { + + - Parameters [0] { + } + } + + Method [ public method disable ] { + + - Parameters [0] { + } + } + + Method [ public method destroy ] { + + - Parameters [0] { + } + } + } + } + + Class [ class UI\Controls\Check extends UI\Control ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [16] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ string $text ] + } + } + + Method [ public method setText ] { + + - Parameters [1] { + Parameter #0 [ string $checked ] + } + } + + Method [ public method getText ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ public method setChecked ] { + + - Parameters [1] { + Parameter #0 [ boolean $checked ] + } + } + + Method [ public method isChecked ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ protected method onToggle ] { + + - Parameters [0] { + } + } + + Method [ public method getParent ] { + + - Parameters [0] { + } + - Return [ UI\Control or NULL ] + } + + Method [ public method setParent ] { + + - Parameters [1] { + Parameter #0 [ UI\Control $parent ] + } + } + + Method [ public method getTopLevel ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method isVisible ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method show ] { + + - Parameters [0] { + } + } + + Method [ public method hide ] { + + - Parameters [0] { + } + } + + Method [ public method isEnabled ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method enable ] { + + - Parameters [0] { + } + } + + Method [ public method disable ] { + + - Parameters [0] { + } + } + + Method [ public method destroy ] { + + - Parameters [0] { + } + } + } + } + + Class [ class UI\Controls\Button extends UI\Control ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [14] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ string $text ] + } + } + + Method [ public method setText ] { + + - Parameters [1] { + Parameter #0 [ string $text ] + } + } + + Method [ public method getText ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ protected method onClick ] { + + - Parameters [0] { + } + } + + Method [ public method getParent ] { + + - Parameters [0] { + } + - Return [ UI\Control or NULL ] + } + + Method [ public method setParent ] { + + - Parameters [1] { + Parameter #0 [ UI\Control $parent ] + } + } + + Method [ public method getTopLevel ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method isVisible ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method show ] { + + - Parameters [0] { + } + } + + Method [ public method hide ] { + + - Parameters [0] { + } + } + + Method [ public method isEnabled ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method enable ] { + + - Parameters [0] { + } + } + + Method [ public method disable ] { + + - Parameters [0] { + } + } + + Method [ public method destroy ] { + + - Parameters [0] { + } + } + } + } + + Class [ class UI\Controls\ColorButton extends UI\Control ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [13] { + Method [ public method setColor ] { + + - Parameters [1] { + Parameter #0 [ UI\Draw\Color $color ] + } + } + + Method [ public method getColor ] { + + - Parameters [0] { + } + - Return [ UI\Draw\Color ] + } + + Method [ protected method onChange ] { + + - Parameters [0] { + } + } + + Method [ public method getParent ] { + + - Parameters [0] { + } + - Return [ UI\Control or NULL ] + } + + Method [ public method setParent ] { + + - Parameters [1] { + Parameter #0 [ UI\Control $parent ] + } + } + + Method [ public method getTopLevel ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method isVisible ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method show ] { + + - Parameters [0] { + } + } + + Method [ public method hide ] { + + - Parameters [0] { + } + } + + Method [ public method isEnabled ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method enable ] { + + - Parameters [0] { + } + } + + Method [ public method disable ] { + + - Parameters [0] { + } + } + + Method [ public method destroy ] { + + - Parameters [0] { + } + } + } + } + + Class [ class UI\Controls\Label extends UI\Control ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [13] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ string $text ] + } + } + + Method [ public method setText ] { + + - Parameters [1] { + Parameter #0 [ string $text ] + } + } + + Method [ public method getText ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ public method getParent ] { + + - Parameters [0] { + } + - Return [ UI\Control or NULL ] + } + + Method [ public method setParent ] { + + - Parameters [1] { + Parameter #0 [ UI\Control $parent ] + } + } + + Method [ public method getTopLevel ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method isVisible ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method show ] { + + - Parameters [0] { + } + } + + Method [ public method hide ] { + + - Parameters [0] { + } + } + + Method [ public method isEnabled ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method enable ] { + + - Parameters [0] { + } + } + + Method [ public method disable ] { + + - Parameters [0] { + } + } + + Method [ public method destroy ] { + + - Parameters [0] { + } + } + } + } + + Class [ class UI\Controls\Entry extends UI\Control ] { + + - Constants [3] { + Constant [ integer Normal ] { 1 } + Constant [ integer Password ] { 2 } + Constant [ integer Search ] { 3 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [16] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ integer $type ] + } + } + + Method [ public method setText ] { + + - Parameters [1] { + Parameter #0 [ string $text ] + } + } + + Method [ public method getText ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ public method setReadOnly ] { + + - Parameters [1] { + Parameter #0 [ boolean $readOnly ] + } + } + + Method [ public method isReadOnly ] { + } + + Method [ protected method onChange ] { + + - Parameters [0] { + } + } + + Method [ public method getParent ] { + + - Parameters [0] { + } + - Return [ UI\Control or NULL ] + } + + Method [ public method setParent ] { + + - Parameters [1] { + Parameter #0 [ UI\Control $parent ] + } + } + + Method [ public method getTopLevel ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method isVisible ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method show ] { + + - Parameters [0] { + } + } + + Method [ public method hide ] { + + - Parameters [0] { + } + } + + Method [ public method isEnabled ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method enable ] { + + - Parameters [0] { + } + } + + Method [ public method disable ] { + + - Parameters [0] { + } + } + + Method [ public method destroy ] { + + - Parameters [0] { + } + } + } + } + + Class [ class UI\Controls\MultilineEntry extends UI\Control ] { + + - Constants [2] { + Constant [ integer Wrap ] { 1 } + Constant [ integer NoWrap ] { 2 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [17] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ integer $type ] + } + } + + Method [ public method setText ] { + + - Parameters [1] { + Parameter #0 [ string $text ] + } + } + + Method [ public method getText ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ public method append ] { + + - Parameters [1] { + Parameter #0 [ string $text ] + } + } + + Method [ public method setReadOnly ] { + + - Parameters [1] { + Parameter #0 [ boolean $readOnly ] + } + } + + Method [ public method isReadOnly ] { + } + + Method [ protected method onChange ] { + + - Parameters [0] { + } + } + + Method [ public method getParent ] { + + - Parameters [0] { + } + - Return [ UI\Control or NULL ] + } + + Method [ public method setParent ] { + + - Parameters [1] { + Parameter #0 [ UI\Control $parent ] + } + } + + Method [ public method getTopLevel ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method isVisible ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method show ] { + + - Parameters [0] { + } + } + + Method [ public method hide ] { + + - Parameters [0] { + } + } + + Method [ public method isEnabled ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method enable ] { + + - Parameters [0] { + } + } + + Method [ public method disable ] { + + - Parameters [0] { + } + } + + Method [ public method destroy ] { + + - Parameters [0] { + } + } + } + } + + Class [ class UI\Controls\Group extends UI\Control ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [16] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ string $title ] + } + } + + Method [ public method setTitle ] { + + - Parameters [1] { + Parameter #0 [ string $title ] + } + } + + Method [ public method getTitle ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ public method setMargin ] { + + - Parameters [1] { + Parameter #0 [ boolean $margin ] + } + } + + Method [ public method hasMargin ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method append ] { + + - Parameters [1] { + Parameter #0 [ UI\Control $control ] + } + } + + Method [ public method getParent ] { + + - Parameters [0] { + } + - Return [ UI\Control or NULL ] + } + + Method [ public method setParent ] { + + - Parameters [1] { + Parameter #0 [ UI\Control $parent ] + } + } + + Method [ public method getTopLevel ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method isVisible ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method show ] { + + - Parameters [0] { + } + } + + Method [ public method hide ] { + + - Parameters [0] { + } + } + + Method [ public method isEnabled ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method enable ] { + + - Parameters [0] { + } + } + + Method [ public method disable ] { + + - Parameters [0] { + } + } + + Method [ public method destroy ] { + + - Parameters [0] { + } + } + } + } + + Class [ class UI\Controls\Spin extends UI\Control ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [14] { + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ integer $min ] + Parameter #1 [ integer $max ] + } + } + + Method [ public method setValue ] { + + - Parameters [1] { + Parameter #0 [ integer $text ] + } + } + + Method [ public method getValue ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ protected method onChange ] { + + - Parameters [0] { + } + } + + Method [ public method getParent ] { + + - Parameters [0] { + } + - Return [ UI\Control or NULL ] + } + + Method [ public method setParent ] { + + - Parameters [1] { + Parameter #0 [ UI\Control $parent ] + } + } + + Method [ public method getTopLevel ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method isVisible ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method show ] { + + - Parameters [0] { + } + } + + Method [ public method hide ] { + + - Parameters [0] { + } + } + + Method [ public method isEnabled ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method enable ] { + + - Parameters [0] { + } + } + + Method [ public method disable ] { + + - Parameters [0] { + } + } + + Method [ public method destroy ] { + + - Parameters [0] { + } + } + } + } + + Class [ class UI\Controls\Slider extends UI\Control ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [14] { + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ integer $min ] + Parameter #1 [ integer $max ] + } + } + + Method [ public method setValue ] { + + - Parameters [1] { + Parameter #0 [ integer $text ] + } + } + + Method [ public method getValue ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ protected method onChange ] { + + - Parameters [0] { + } + } + + Method [ public method getParent ] { + + - Parameters [0] { + } + - Return [ UI\Control or NULL ] + } + + Method [ public method setParent ] { + + - Parameters [1] { + Parameter #0 [ UI\Control $parent ] + } + } + + Method [ public method getTopLevel ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method isVisible ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method show ] { + + - Parameters [0] { + } + } + + Method [ public method hide ] { + + - Parameters [0] { + } + } + + Method [ public method isEnabled ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method enable ] { + + - Parameters [0] { + } + } + + Method [ public method disable ] { + + - Parameters [0] { + } + } + + Method [ public method destroy ] { + + - Parameters [0] { + } + } + } + } + + Class [ class UI\Controls\Progress extends UI\Control ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [12] { + Method [ public method setValue ] { + + - Parameters [1] { + Parameter #0 [ integer $value ] + } + } + + Method [ public method getValue ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method getParent ] { + + - Parameters [0] { + } + - Return [ UI\Control or NULL ] + } + + Method [ public method setParent ] { + + - Parameters [1] { + Parameter #0 [ UI\Control $parent ] + } + } + + Method [ public method getTopLevel ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method isVisible ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method show ] { + + - Parameters [0] { + } + } + + Method [ public method hide ] { + + - Parameters [0] { + } + } + + Method [ public method isEnabled ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method enable ] { + + - Parameters [0] { + } + } + + Method [ public method disable ] { + + - Parameters [0] { + } + } + + Method [ public method destroy ] { + + - Parameters [0] { + } + } + } + } + + Class [ class UI\Controls\Separator extends UI\Control ] { + + - Constants [2] { + Constant [ integer Horizontal ] { 1 } + Constant [ integer Vertical ] { 2 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [11] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ integer $type ] + } + } + + Method [ public method getParent ] { + + - Parameters [0] { + } + - Return [ UI\Control or NULL ] + } + + Method [ public method setParent ] { + + - Parameters [1] { + Parameter #0 [ UI\Control $parent ] + } + } + + Method [ public method getTopLevel ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method isVisible ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method show ] { + + - Parameters [0] { + } + } + + Method [ public method hide ] { + + - Parameters [0] { + } + } + + Method [ public method isEnabled ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method enable ] { + + - Parameters [0] { + } + } + + Method [ public method disable ] { + + - Parameters [0] { + } + } + + Method [ public method destroy ] { + + - Parameters [0] { + } + } + } + } + + Class [ class UI\Controls\Combo extends UI\Control ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [14] { + Method [ public method setSelected ] { + + - Parameters [1] { + Parameter #0 [ integer $text ] + } + } + + Method [ public method getSelected ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method append ] { + + - Parameters [1] { + Parameter #0 [ string $text ] + } + } + + Method [ protected method onSelected ] { + + - Parameters [0] { + } + } + + Method [ public method getParent ] { + + - Parameters [0] { + } + - Return [ UI\Control or NULL ] + } + + Method [ public method setParent ] { + + - Parameters [1] { + Parameter #0 [ UI\Control $parent ] + } + } + + Method [ public method getTopLevel ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method isVisible ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method show ] { + + - Parameters [0] { + } + } + + Method [ public method hide ] { + + - Parameters [0] { + } + } + + Method [ public method isEnabled ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method enable ] { + + - Parameters [0] { + } + } + + Method [ public method disable ] { + + - Parameters [0] { + } + } + + Method [ public method destroy ] { + + - Parameters [0] { + } + } + } + } + + Class [ class UI\Controls\EditableCombo extends UI\Control ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [14] { + Method [ public method setText ] { + + - Parameters [1] { + Parameter #0 [ string $text ] + } + } + + Method [ public method getText ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ public method append ] { + + - Parameters [1] { + Parameter #0 [ string $text ] + } + } + + Method [ protected method onChange ] { + + - Parameters [0] { + } + } + + Method [ public method getParent ] { + + - Parameters [0] { + } + - Return [ UI\Control or NULL ] + } + + Method [ public method setParent ] { + + - Parameters [1] { + Parameter #0 [ UI\Control $parent ] + } + } + + Method [ public method getTopLevel ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method isVisible ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method show ] { + + - Parameters [0] { + } + } + + Method [ public method hide ] { + + - Parameters [0] { + } + } + + Method [ public method isEnabled ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method enable ] { + + - Parameters [0] { + } + } + + Method [ public method disable ] { + + - Parameters [0] { + } + } + + Method [ public method destroy ] { + + - Parameters [0] { + } + } + } + } + + Class [ class UI\Controls\Radio extends UI\Control ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [14] { + Method [ public method setSelected ] { + + - Parameters [1] { + Parameter #0 [ integer $text ] + } + } + + Method [ public method getSelected ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method append ] { + + - Parameters [1] { + Parameter #0 [ string $text ] + } + } + + Method [ protected method onSelected ] { + + - Parameters [0] { + } + } + + Method [ public method getParent ] { + + - Parameters [0] { + } + - Return [ UI\Control or NULL ] + } + + Method [ public method setParent ] { + + - Parameters [1] { + Parameter #0 [ UI\Control $parent ] + } + } + + Method [ public method getTopLevel ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method isVisible ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method show ] { + + - Parameters [0] { + } + } + + Method [ public method hide ] { + + - Parameters [0] { + } + } + + Method [ public method isEnabled ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method enable ] { + + - Parameters [0] { + } + } + + Method [ public method disable ] { + + - Parameters [0] { + } + } + + Method [ public method destroy ] { + + - Parameters [0] { + } + } + } + } + + Class [ class UI\Controls\Picker extends UI\Control ] { + + - Constants [3] { + Constant [ integer Date ] { 1 } + Constant [ integer Time ] { 2 } + Constant [ integer DateTime ] { 3 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [11] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ integer $type ] + } + } + + Method [ public method getParent ] { + + - Parameters [0] { + } + - Return [ UI\Control or NULL ] + } + + Method [ public method setParent ] { + + - Parameters [1] { + Parameter #0 [ UI\Control $parent ] + } + } + + Method [ public method getTopLevel ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method isVisible ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method show ] { + + - Parameters [0] { + } + } + + Method [ public method hide ] { + + - Parameters [0] { + } + } + + Method [ public method isEnabled ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method enable ] { + + - Parameters [0] { + } + } + + Method [ public method disable ] { + + - Parameters [0] { + } + } + + Method [ public method destroy ] { + + - Parameters [0] { + } + } + } + } + + Class [ class UI\Menu ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [7] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ string $name ] + } + } + + Method [ public method append ] { + + - Parameters [2] { + Parameter #0 [ string $name ] + Parameter #1 [ string $type ] + } + - Return [ UI\MenuItem or NULL ] + } + + Method [ public method appendCheck ] { + + - Parameters [2] { + Parameter #0 [ string $name ] + Parameter #1 [ string $type ] + } + - Return [ UI\MenuItem or NULL ] + } + + Method [ public method appendQuit ] { + + - Parameters [1] { + Parameter #0 [ string $type ] + } + - Return [ UI\MenuItem ] + } + + Method [ public method appendPreferences ] { + + - Parameters [1] { + Parameter #0 [ string $type ] + } + - Return [ UI\MenuItem ] + } + + Method [ public method appendAbout ] { + + - Parameters [1] { + Parameter #0 [ string $type ] + } + - Return [ UI\MenuItem ] + } + + Method [ public method appendSeparator ] { + + - Parameters [0] { + } + } + } + } + + Class [ class UI\MenuItem ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [5] { + Method [ public method enable ] { + + - Parameters [0] { + } + } + + Method [ public method disable ] { + + - Parameters [0] { + } + } + + Method [ public method isChecked ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method setChecked ] { + + - Parameters [1] { + Parameter #0 [ boolean $checked ] + } + } + + Method [ protected method onClick ] { + + - Parameters [0] { + } + } + } + } + + Class [ class UI\Area extends UI\Control ] { + + - Constants [6] { + Constant [ integer Ctrl ] { 1 } + Constant [ integer Alt ] { 2 } + Constant [ integer Shift ] { 4 } + Constant [ integer Super ] { 8 } + Constant [ integer Down ] { 32 } + Constant [ integer Up ] { 16 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [16] { + Method [ public method redraw ] { + + - Parameters [0] { + } + } + + Method [ public method setSize ] { + + - Parameters [1] { + Parameter #0 [ UI\Size $size ] + } + } + + Method [ public method scrollTo ] { + + - Parameters [2] { + Parameter #0 [ UI\Point $point ] + Parameter #1 [ UI\Size $size ] + } + } + + Method [ protected method onDraw ] { + + - Parameters [4] { + Parameter #0 [ UI\Draw\Pen $pen ] + Parameter #1 [ UI\Size $areaSize ] + Parameter #2 [ UI\Point $clipPoint ] + Parameter #3 [ UI\Size $clipSize ] + } + } + + Method [ protected method onMouse ] { + + - Parameters [3] { + Parameter #0 [ UI\Point $areaPoint ] + Parameter #1 [ UI\Size $areaSize ] + Parameter #2 [ integer $flags ] + } + } + + Method [ protected method onKey ] { + + - Parameters [3] { + Parameter #0 [ string $key ] + Parameter #1 [ integer $ext ] + Parameter #2 [ integer $flags ] + } + } + + Method [ public method getParent ] { + + - Parameters [0] { + } + - Return [ UI\Control or NULL ] + } + + Method [ public method setParent ] { + + - Parameters [1] { + Parameter #0 [ UI\Control $parent ] + } + } + + Method [ public method getTopLevel ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method isVisible ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method show ] { + + - Parameters [0] { + } + } + + Method [ public method hide ] { + + - Parameters [0] { + } + } + + Method [ public method isEnabled ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method enable ] { + + - Parameters [0] { + } + } + + Method [ public method disable ] { + + - Parameters [0] { + } + } + + Method [ public method destroy ] { + + - Parameters [0] { + } + } + } + } + + Class [ final class UI\Key ] { + + - Constants [39] { + Constant [ integer Escape ] { 1 } + Constant [ integer Insert ] { 2 } + Constant [ integer Delete ] { 3 } + Constant [ integer Home ] { 4 } + Constant [ integer End ] { 5 } + Constant [ integer PageUp ] { 6 } + Constant [ integer PageDown ] { 7 } + Constant [ integer Up ] { 8 } + Constant [ integer Down ] { 9 } + Constant [ integer Left ] { 10 } + Constant [ integer Right ] { 11 } + Constant [ integer F1 ] { 12 } + Constant [ integer F2 ] { 13 } + Constant [ integer F3 ] { 14 } + Constant [ integer F4 ] { 15 } + Constant [ integer F5 ] { 16 } + Constant [ integer F6 ] { 17 } + Constant [ integer F7 ] { 18 } + Constant [ integer F8 ] { 19 } + Constant [ integer F9 ] { 20 } + Constant [ integer F10 ] { 21 } + Constant [ integer F11 ] { 22 } + Constant [ integer F12 ] { 23 } + Constant [ integer N0 ] { 24 } + Constant [ integer N1 ] { 25 } + Constant [ integer N2 ] { 26 } + Constant [ integer N3 ] { 27 } + Constant [ integer N4 ] { 28 } + Constant [ integer N5 ] { 29 } + Constant [ integer N6 ] { 30 } + Constant [ integer N7 ] { 31 } + Constant [ integer N8 ] { 32 } + Constant [ integer N9 ] { 33 } + Constant [ integer NDot ] { 34 } + Constant [ integer NEnter ] { 35 } + Constant [ integer NAdd ] { 36 } + Constant [ integer NSubtract ] { 37 } + Constant [ integer NMultiply ] { 38 } + Constant [ integer NDivide ] { 39 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ final class UI\Draw\Pen ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [7] { + Method [ public method fill ] { + + - Parameters [2] { + Parameter #0 [ UI\Draw\Path $path ] + Parameter #1 [ UI\Draw\Brush $brush ] + } + } + + Method [ public method stroke ] { + + - Parameters [3] { + Parameter #0 [ UI\Draw\Path $path ] + Parameter #1 [ UI\Draw\Brush $brush ] + Parameter #2 [ UI\Draw\Stroke $stroke ] + } + } + + Method [ public method transform ] { + + - Parameters [1] { + Parameter #0 [ UI\Draw\Matrix $matrix ] + } + } + + Method [ public method clip ] { + + - Parameters [1] { + Parameter #0 [ UI\Draw\Path $path ] + } + } + + Method [ public method save ] { + + - Parameters [0] { + } + } + + Method [ public method restore ] { + + - Parameters [0] { + } + } + + Method [ public method write ] { + + - Parameters [2] { + Parameter #0 [ UI\Point $point ] + Parameter #1 [ UI\Draw\Text\Layout $layout ] + } + } + } + } + + Class [ class UI\Draw\Path ] { + + - Constants [2] { + Constant [ integer Winding ] { 0 } + Constant [ integer Alternate ] { 1 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [9] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ integer $mode ] + } + } + + Method [ public method newFigure ] { + + - Parameters [1] { + Parameter #0 [ UI\Point $point ] + } + } + + Method [ public method newFigureWithArc ] { + + - Parameters [5] { + Parameter #0 [ UI\Point $point ] + Parameter #1 [ float $radius ] + Parameter #2 [ float $angle ] + Parameter #3 [ float $sweep ] + Parameter #4 [ float $negative ] + } + } + + Method [ public method lineTo ] { + + - Parameters [1] { + Parameter #0 [ UI\Point $point ] + } + } + + Method [ public method arcTo ] { + + - Parameters [5] { + Parameter #0 [ UI\Point $point ] + Parameter #1 [ float $radius ] + Parameter #2 [ float $angle ] + Parameter #3 [ float $sweep ] + Parameter #4 [ float $negative ] + } + } + + Method [ public method bezierTo ] { + + - Parameters [5] { + Parameter #0 [ UI\Point $point ] + Parameter #1 [ float $radius ] + Parameter #2 [ float $angle ] + Parameter #3 [ float $sweep ] + Parameter #4 [ float $negative ] + } + } + + Method [ public method closeFigure ] { + + - Parameters [0] { + } + } + + Method [ public method addRectangle ] { + + - Parameters [2] { + Parameter #0 [ UI\Point $point ] + Parameter #1 [ UI\Size $size ] + } + } + + Method [ public method end ] { + + - Parameters [0] { + } + } + } + } + + Class [ class UI\Draw\Color ] { + + - Constants [4] { + Constant [ integer Red ] { 1 } + Constant [ integer Green ] { 2 } + Constant [ integer Blue ] { 3 } + Constant [ integer Alpha ] { 4 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [3] { + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ integer $rgb ] + Parameter #1 [ float $alpha ] + } + } + + Method [ public method setChannel ] { + + - Parameters [2] { + Parameter #0 [ integer $channel ] + Parameter #1 [ float $value ] + } + } + + Method [ public method getChannel ] { + + - Parameters [1] { + Parameter #0 [ integer $channel ] + } + - Return [ float or NULL ] + } + } + } + + Class [ class UI\Draw\Brush ] { + + - Constants [4] { + Constant [ integer Solid ] { 1 } + Constant [ integer LinearGradient ] { 2 } + Constant [ integer RadialGradient ] { 3 } + Constant [ integer Image ] { 4 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [5] { + Method [ public method __construct ] { + + - Parameters [7] { + Parameter #0 [ integer $type ] + Parameter #1 [ UI\Draw\Color $color ] + Parameter #2 [ float $X0 ] + Parameter #3 [ float $Y0 ] + Parameter #4 [ float $X1 ] + Parameter #5 [ float $Y1 ] + Parameter #6 [ float $radius ] + } + } + + Method [ public method getType ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method setType ] { + + - Parameters [1] { + Parameter #0 [ integer $type ] + } + } + + Method [ public method setColor ] { + + - Parameters [1] { + Parameter #0 [ UI\Draw\Color $color ] + } + } + + Method [ public method getColor ] { + + - Parameters [0] { + } + - Return [ UI\Draw\Color ] + } + } + } + + Class [ class UI\Draw\Stroke ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [9] { + Method [ public method __construct ] { + + - Parameters [4] { + Parameter #0 [ integer $cap ] + Parameter #1 [ integer $join ] + Parameter #2 [ float $thickness ] + Parameter #3 [ float $miterLimit ] + } + } + + Method [ public method setCap ] { + + - Parameters [1] { + Parameter #0 [ integer $cap ] + } + } + + Method [ public method getCap ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method setJoin ] { + + - Parameters [1] { + Parameter #0 [ integer $join ] + } + } + + Method [ public method getJoin ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method setThickness ] { + + - Parameters [1] { + Parameter #0 [ float $thickness ] + } + } + + Method [ public method getThickness ] { + + - Parameters [0] { + } + - Return [ float ] + } + + Method [ public method getMiterLimit ] { + + - Parameters [0] { + } + - Return [ float ] + } + + Method [ public method setMiterLimit ] { + + - Parameters [1] { + Parameter #0 [ float $limit ] + } + } + } + } + + Class [ final class UI\Draw\Line\Cap ] { + + - Constants [3] { + Constant [ integer Flat ] { 0 } + Constant [ integer Round ] { 1 } + Constant [ integer Square ] { 2 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ final class UI\Draw\Line\Join ] { + + - Constants [3] { + Constant [ integer Miter ] { 0 } + Constant [ integer Round ] { 1 } + Constant [ integer Bevel ] { 2 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ class UI\Draw\Matrix ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [7] { + Method [ public method translate ] { + + - Parameters [1] { + Parameter #0 [ UI\Point $point ] + } + } + + Method [ public method scale ] { + + - Parameters [2] { + Parameter #0 [ UI\Point $center ] + Parameter #1 [ UI\Point $point ] + } + } + + Method [ public method rotate ] { + + - Parameters [2] { + Parameter #0 [ UI\Point $point ] + Parameter #1 [ float $amount ] + } + } + + Method [ public method skew ] { + + - Parameters [2] { + Parameter #0 [ UI\Point $point ] + Parameter #1 [ UI\Point $amount ] + } + } + + Method [ public method multiply ] { + + - Parameters [1] { + Parameter #0 [ UI\Draw\Matrix $matrix ] + } + - Return [ UI\DrawMatrix ] + } + + Method [ public method isInvertible ] { + + - Parameters [0] { + } + - Return [ boolean or NULL ] + } + + Method [ public method invert ] { + + - Parameters [0] { + } + } + } + } + + Class [ class UI\Draw\Text\Font\Descriptor ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ public method __construct ] { + + - Parameters [5] { + Parameter #0 [ string $family ] + Parameter #1 [ float $size ] + Parameter #2 [ integer $weight ] + Parameter #3 [ integer $italic ] + Parameter #4 [ integer $stretch ] + } + } + } + } + + Class [ final class UI\Draw\Text\Font\Weight ] { + + - Constants [11] { + Constant [ integer Thin ] { 0 } + Constant [ integer UltraLight ] { 1 } + Constant [ integer Light ] { 2 } + Constant [ integer Book ] { 3 } + Constant [ integer Normal ] { 4 } + Constant [ integer Medium ] { 5 } + Constant [ integer SemiBold ] { 6 } + Constant [ integer Bold ] { 7 } + Constant [ integer UltraBold ] { 8 } + Constant [ integer Heavy ] { 9 } + Constant [ integer UltraHeavy ] { 10 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ final class UI\Draw\Text\Font\Italic ] { + + - Constants [3] { + Constant [ integer Normal ] { 0 } + Constant [ integer Oblique ] { 1 } + Constant [ integer Italic ] { 2 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ final class UI\Draw\Text\Font\Stretch ] { + + - Constants [9] { + Constant [ integer UltraCondensed ] { 0 } + Constant [ integer ExtraCondensed ] { 1 } + Constant [ integer Condensed ] { 2 } + Constant [ integer SemiCondensed ] { 3 } + Constant [ integer Normal ] { 4 } + Constant [ integer SemiExpanded ] { 5 } + Constant [ integer Expanded ] { 6 } + Constant [ integer ExtraExpanded ] { 7 } + Constant [ integer UltraExpanded ] { 8 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ class UI\Draw\Text\Font ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ UI\Draw\Text\Font\Descriptor $descriptor ] + } + } + } + } + + Class [ class UI\Draw\Text\Layout ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [3] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ string $text ] + Parameter #1 [ UI\Draw\Text\Font $font ] + Parameter #2 [ float $width ] + } + } + + Method [ public method setWidth ] { + + - Parameters [1] { + Parameter #0 [ float $width ] + } + } + + Method [ public method setColor ] { + + - Parameters [3] { + Parameter #0 [ UI\Draw\Color $color ] + Parameter #1 [ integer $start ] + Parameter #2 [ integer $end ] + } + } + } + } + } +} + diff --git a/php-pecl-ui.spec b/php-pecl-ui.spec new file mode 100644 index 0000000..8e946f1 --- /dev/null +++ b/php-pecl-ui.spec @@ -0,0 +1,227 @@ +# remirepo spec file for php-pecl-ui +# +# Copyright (c) 2016 Remi Collet +# License: CC-BY-SA +# http://creativecommons.org/licenses/by-sa/4.0/ +# +# Please, preserve the changelog entries +# +%if 0%{?scl:1} +%global sub_prefix %{scl_prefix} +%scl_package php-pecl-ui +%else +%global _root_prefix %{_prefix} +%endif + + +# The project is UI but the extension is ui +%global proj_name UI +%global pecl_name ui +%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} +%global ini_name 40-%{pecl_name}.ini + +Name: %{?sub_prefix}php-pecl-ui +Version: 1.0.0 +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Summary: UI API + +License: PHP +Group: Development/Languages +URL: http://pecl.php.net/package/%{proj_name} +Source0: http://pecl.php.net/get/%{proj_name}-%{version}%{?prever}.tgz + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: %{?scl_prefix}php-devel >= 7 +BuildRequires: %{?scl_prefix}php-pear +BuildRequires: libui-devel + +Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} +Requires: %{?scl_prefix}php(api) = %{php_core_api} +%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}} + +Provides: %{?scl_prefix}php-pecl(%{proj_name}) = %{version} +Provides: %{?scl_prefix}php-pecl(%{proj_name})%{?_isa} = %{version} +%if "%{?scl_prefix}" != "%{?sub_prefix}" +Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release} +Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release} +%endif +Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} +Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} +Provides: %{?scl_prefix}php-%{pecl_name} = %{version} +Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} + +%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} +# Other third party repo stuff +Obsoletes: php70u-pecl-ui <= %{version} +Obsoletes: php70w-pecl-ui <= %{version} +%if "%{php_version}" > "7.1" +Obsoletes: php71u-pecl-ui <= %{version} +Obsoletes: php71w-pecl-ui <= %{version} +%endif +%endif + +%if 0%{?fedora} < 20 && 0%{?rhel} < 7 +# Filter shared private +%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$} +%endif +%{?filter_setup} + + +%description +An OO wrapper around libui. + +Documentation : http://php.net/ui + +Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}. + + +%prep +%setup -c -q +mv %{proj_name}-%{version}%{?prever} NTS + +%{?_licensedir:sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml} + +cd NTS + +extver=$(sed -n '/#define PHP_UI_VERSION/{s/.* "//;s/".*$//;p}' php_ui.h) +if test "x${extver}" != "x%{version}%{?prever}%{?gh_date:dev}"; then + : Error: Upstream HTTP version is now ${extver}, expecting %{version}%{?prever}%{?gh_date:dev}. + : Update the pdover macro and rebuild. + exit 1 +fi +cd .. + +cat << 'EOF' | tee NTS/phpui +#!/bin/sh +exec %{__php} -d extension=%{pecl_name}.so "$@" +EOF + +%if %{with_zts} +cp -r NTS ZTS + +cat << 'EOF' | tee ZTS/phpui +#!/bin/sh +if [ -x %{__ztsphp} ] +then exec %{__ztsphp} -d extension=%{pecl_name}.so "$@" +else echo "zts-php not available on this system" +fi +EOF +%endif + + +%build +peclconf() { +%configure \ + --with-ui \ + --with-libdir=%{_lib} \ + --with-php-config=$1 +} +cd NTS +%{_bindir}/phpize +peclconf %{_bindir}/php-config +make %{?_smp_mflags} + +%if %{with_zts} +cd ../ZTS +%{_bindir}/zts-phpize +peclconf %{_bindir}/zts-php-config +make %{?_smp_mflags} +%endif + + +%install +rm -rf %{buildroot} + +make -C NTS install INSTALL_ROOT=%{buildroot} + +# Install XML package description +install -Dpm 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml + +# Install the command wrapper +install -Dpm 755 NTS/phpui %{buildroot}%{_bindir}/phpui + +%if %{with_zts} +make -C ZTS install INSTALL_ROOT=%{buildroot} +install -Dpm 755 ZTS/phpui %{buildroot}%{_bindir}/zts-phpui +%endif + +# Documentation +cd NTS +for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') +do install -Dpm 644 $i %{buildroot}%{pecl_docdir}/%{proj_name}/$i +done + +# make the cli commands available in standard root for SCL build +%if 0%{?scl:1} +install -m 755 -d $RPM_BUILD_ROOT%{_root_bindir} +ln -s %{_bindir}/phpui $RPM_BUILD_ROOT%{_root_bindir}/%{scl_prefix}phpui +%endif + + +%check +if [ -z "$DISPLAY"]; then + : skip test which requires a display + exit 0 +fi + +: Minimal load test for NTS extension +%{__php} --no-php-ini \ + $modules \ + --define extension=modules/%{pecl_name}.so \ + --modules | grep %{pecl_name} + +%if %{with_zts} +cd ../ZTS +: Minimal load test for ZTS extension +%{__ztsphp} --no-php-ini \ + $modules \ + --define extension=modules/%{pecl_name}.so \ + --modules | grep %{pecl_name} +%endif + + +%if 0%{?fedora} < 24 +# when pear installed alone, after us +%triggerin -- %{?scl_prefix}php-pear +if [ -x %{__pecl} ] ; then + %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || : +fi + +# posttrans as pear can be installed after us +%posttrans +if [ -x %{__pecl} ] ; then + %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || : +fi + +%postun +if [ $1 -eq 0 -a -x %{__pecl} ] ; then + %{pecl_uninstall} %{proj_name} >/dev/null || : +fi +%endif + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%{?_licensedir:%license NTS/LICENSE} +%doc %{pecl_docdir}/%{proj_name} +%{pecl_xmldir}/%{name}.xml +%{php_extdir}/%{pecl_name}.so +%{_bindir}/phpui + +%if %{with_zts} +%{php_ztsextdir}/%{pecl_name}.so +%{_bindir}/zts-phpui +%endif + +%if 0%{?scl:1} +%{_root_bindir}/%{scl_prefix}phpui +%endif + + +%changelog +* Tue Oct 25 2016 Remi Collet - 1.0.0-1 +- initial package -- cgit