@@ -10,12 +10,12 @@ |
||
10 | 10 | protected $panel2; |
11 | 11 | |
12 | 12 | public function __construct (Component $parent = null) |
13 | - { |
|
13 | + { |
|
14 | 14 | parent::__construct ($parent, $this->class); |
15 | 15 | |
16 | 16 | $this->panel1 = new SplitterPanel ($this->getProperty ('Panel1')); |
17 | 17 | $this->panel2 = new SplitterPanel ($this->getProperty ('Panel2')); |
18 | - } |
|
18 | + } |
|
19 | 19 | } |
20 | 20 | |
21 | 21 | class SplitterPanel extends Control |
@@ -9,18 +9,18 @@ |
||
9 | 9 | protected $panel1; |
10 | 10 | protected $panel2; |
11 | 11 | |
12 | - public function __construct (Component $parent = null) |
|
12 | + public function __construct(Component $parent = null) |
|
13 | 13 | { |
14 | - parent::__construct ($parent, $this->class); |
|
14 | + parent::__construct($parent, $this->class); |
|
15 | 15 | |
16 | - $this->panel1 = new SplitterPanel ($this->getProperty ('Panel1')); |
|
17 | - $this->panel2 = new SplitterPanel ($this->getProperty ('Panel2')); |
|
16 | + $this->panel1 = new SplitterPanel($this->getProperty('Panel1')); |
|
17 | + $this->panel2 = new SplitterPanel($this->getProperty('Panel2')); |
|
18 | 18 | } |
19 | 19 | } |
20 | 20 | |
21 | 21 | class SplitterPanel extends Control |
22 | 22 | { |
23 | - public function __construct (int $selector) |
|
23 | + public function __construct(int $selector) |
|
24 | 24 | { |
25 | 25 | $this->selector = $selector; |
26 | 26 | } |
@@ -6,6 +6,6 @@ |
||
6 | 6 | |
7 | 7 | class FastColoredTextBox extends NoVisual |
8 | 8 | { |
9 | - public $class = 'FastColoredTextBoxNS.FastColoredTextBox'; |
|
9 | + public $class = 'FastColoredTextBoxNS.FastColoredTextBox'; |
|
10 | 10 | public $namespace = 'FastColoredTextBox'; |
11 | 11 | } |
@@ -2,10 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace VoidEngine; |
4 | 4 | |
5 | -EngineAdditions::loadModule ('FastColoredTextBox.dll'); |
|
5 | +EngineAdditions::loadModule('FastColoredTextBox.dll'); |
|
6 | 6 | |
7 | 7 | class FastColoredTextBox extends NoVisual |
8 | 8 | { |
9 | - public $class = 'FastColoredTextBoxNS.FastColoredTextBox'; |
|
9 | + public $class = 'FastColoredTextBoxNS.FastColoredTextBox'; |
|
10 | 10 | public $namespace = 'FastColoredTextBox'; |
11 | 11 | } |
@@ -8,11 +8,11 @@ discard block |
||
8 | 8 | |
9 | 9 | protected $items; |
10 | 10 | |
11 | - public function __construct () |
|
11 | + public function __construct() |
|
12 | 12 | { |
13 | - parent::__construct ($this->class); |
|
13 | + parent::__construct($this->class); |
|
14 | 14 | |
15 | - $this->items = new WFObject ($this->getProperty ('MenuItems')); |
|
15 | + $this->items = new WFObject($this->getProperty('MenuItems')); |
|
16 | 16 | } |
17 | 17 | } |
18 | 18 | |
@@ -22,11 +22,11 @@ discard block |
||
22 | 22 | |
23 | 23 | protected $items; |
24 | 24 | |
25 | - public function __construct () |
|
25 | + public function __construct() |
|
26 | 26 | { |
27 | - parent::__construct ($this->class); |
|
27 | + parent::__construct($this->class); |
|
28 | 28 | |
29 | - $this->items = new WFObject ($this->getProperty ('MenuItems')); |
|
29 | + $this->items = new WFObject($this->getProperty('MenuItems')); |
|
30 | 30 | } |
31 | 31 | } |
32 | 32 | |
@@ -36,11 +36,11 @@ discard block |
||
36 | 36 | |
37 | 37 | protected $items; |
38 | 38 | |
39 | - public function __construct (string $text = '') |
|
39 | + public function __construct(string $text = '') |
|
40 | 40 | { |
41 | - parent::__construct (null, $this->class); |
|
41 | + parent::__construct(null, $this->class); |
|
42 | 42 | |
43 | 43 | $this->text = $text; |
44 | - $this->items = new WFObject ($this->getProperty ('MenuItems')); |
|
44 | + $this->items = new WFObject($this->getProperty('MenuItems')); |
|
45 | 45 | } |
46 | 46 | } |
@@ -6,18 +6,18 @@ |
||
6 | 6 | { |
7 | 7 | public $class = 'System.Windows.Forms.ColorDialog'; |
8 | 8 | |
9 | - public function __construct () |
|
9 | + public function __construct() |
|
10 | 10 | { |
11 | - parent::__construct ($this->class); |
|
11 | + parent::__construct($this->class); |
|
12 | 12 | } |
13 | 13 | |
14 | - public function get_color () |
|
14 | + public function get_color() |
|
15 | 15 | { |
16 | - return $this->getProperty (['Color', 'color']); |
|
16 | + return $this->getProperty(['Color', 'color']); |
|
17 | 17 | } |
18 | 18 | |
19 | - public function set_color (int $color) |
|
19 | + public function set_color(int $color) |
|
20 | 20 | { |
21 | - $this->setProperty ('Color', [$color, 'color']); |
|
21 | + $this->setProperty('Color', [$color, 'color']); |
|
22 | 22 | } |
23 | 23 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | protected $items; |
10 | 10 | |
11 | 11 | public function __construct (Component $parent = null) |
12 | - { |
|
12 | + { |
|
13 | 13 | parent::__construct ($parent, $this->class); |
14 | 14 | |
15 | 15 | $this->items = new WFObject ($this->getProperty ('TabPages')); |
@@ -8,11 +8,11 @@ discard block |
||
8 | 8 | |
9 | 9 | protected $items; |
10 | 10 | |
11 | - public function __construct (Component $parent = null) |
|
11 | + public function __construct(Component $parent = null) |
|
12 | 12 | { |
13 | - parent::__construct ($parent, $this->class); |
|
13 | + parent::__construct($parent, $this->class); |
|
14 | 14 | |
15 | - $this->items = new WFObject ($this->getProperty ('TabPages')); |
|
15 | + $this->items = new WFObject($this->getProperty('TabPages')); |
|
16 | 16 | } |
17 | 17 | } |
18 | 18 | |
@@ -20,9 +20,9 @@ discard block |
||
20 | 20 | { |
21 | 21 | public $class = 'System.Windows.Forms.TabPage'; |
22 | 22 | |
23 | - public function __construct (string $text = '') |
|
23 | + public function __construct(string $text = '') |
|
24 | 24 | { |
25 | - parent::__construct (null, $this->class); |
|
25 | + parent::__construct(null, $this->class); |
|
26 | 26 | |
27 | 27 | $this->text = $text; |
28 | 28 | } |
@@ -6,8 +6,8 @@ |
||
6 | 6 | { |
7 | 7 | public $class = 'System.Windows.Forms.FolderBrowserDialog'; |
8 | 8 | |
9 | - public function get_path () |
|
9 | + public function get_path() |
|
10 | 10 | { |
11 | - return $this->getProperty ('SelectedPath'); |
|
11 | + return $this->getProperty('SelectedPath'); |
|
12 | 12 | } |
13 | 13 | } |
@@ -8,7 +8,7 @@ |
||
8 | 8 | public $namespace = 'CefSharp.WinForms'; |
9 | 9 | |
10 | 10 | public function __construct (Component $parent = null) |
11 | - { |
|
12 | - parent::__construct ($parent, $this->class, 'about:blank', null); |
|
13 | - } |
|
11 | + { |
|
12 | + parent::__construct ($parent, $this->class, 'about:blank', null); |
|
13 | + } |
|
14 | 14 | } |
@@ -7,8 +7,8 @@ |
||
7 | 7 | public $class = 'CefSharp.WinForms.ChromiumWebBrowser'; |
8 | 8 | public $namespace = 'CefSharp.WinForms'; |
9 | 9 | |
10 | - public function __construct (Component $parent = null) |
|
10 | + public function __construct(Component $parent = null) |
|
11 | 11 | { |
12 | - parent::__construct ($parent, $this->class, 'about:blank', null); |
|
12 | + parent::__construct($parent, $this->class, 'about:blank', null); |
|
13 | 13 | } |
14 | 14 | } |
@@ -6,8 +6,8 @@ |
||
6 | 6 | { |
7 | 7 | public $class = 'System.Windows.Forms.MessageBox'; |
8 | 8 | |
9 | - public function __construct () |
|
9 | + public function __construct() |
|
10 | 10 | { |
11 | - parent::__construct ($this->class); |
|
11 | + parent::__construct($this->class); |
|
12 | 12 | } |
13 | 13 | } |
@@ -4,5 +4,5 @@ |
||
4 | 4 | |
5 | 5 | class CheckBox extends Control |
6 | 6 | { |
7 | - public $class = 'System.Windows.Forms.CheckBox'; |
|
7 | + public $class = 'System.Windows.Forms.CheckBox'; |
|
8 | 8 | } |