glimmer-dsl-swt 4.24.0.1 → 4.24.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -82,7 +82,6 @@
82
82
  - [Snake](#snake)
83
83
  - [External Samples](#external-samples)
84
84
  - [Glimmer Calculator](#glimmer-calculator)
85
- - [Gladiator](#gladiator)
86
85
  - [Timer](#timer)
87
86
  - [Contact Manager App](#contact-manager-app)
88
87
  - [License](#license)
@@ -863,7 +862,7 @@ Hello, Canvas! Colors Changed
863
862
 
864
863
  Hello, Canvas! Data-Binding (changing a `text` shape `string` via data-binding changes from another thread)
865
864
 
866
- ![Hello Canvas Data Binding](/images/glimmer-hello-canvas-data-binding.gif)
865
+ ![Hello Canvas Text Data Binding](/images/glimmer-hello-canvas-text-data-binding.gif)
867
866
 
868
867
  #### Hello, Canvas Animation!
869
868
 
@@ -923,9 +922,7 @@ Code:
923
922
 
924
923
  Hello, Canvas Data Binding!
925
924
 
926
- ![Hello Canvas Data Binding](/images/glimmer-hello-canvas-data-binding.png)
927
-
928
- ![Hello Canvas Data Binding Line Changed](/images/glimmer-hello-canvas-data-binding-line-changed.png)
925
+ ![Hello Canvas Data Binding](/images/glimmer-hello-canvas-data-binding.gif)
929
926
 
930
927
  #### Hello, Canvas Shape Listeners!
931
928
 
@@ -1407,23 +1404,6 @@ Snake
1407
1404
 
1408
1405
  [<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer-cs-calculator/master/glimmer-cs-calculator-screenshot.png" />](https://github.com/AndyObtiva/glimmer-cs-calculator)
1409
1406
 
1410
- #### Gladiator
1411
-
1412
- [<img src='https://raw.githubusercontent.com/AndyObtiva/glimmer-cs-gladiator/master/images/glimmer-cs-gladiator-logo.png' height=40 /> Gladiator](https://github.com/AndyObtiva/glimmer-cs-gladiator) (short for Glimmer Editor) is a Glimmer sample project under on-going development.
1413
- You may check it out to learn how to build a Glimmer Custom Shell gem.
1414
-
1415
- [<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer-cs-gladiator/master/images/glimmer-gladiator.png" />](https://github.com/AndyObtiva/glimmer-cs-gladiator)
1416
-
1417
- Gladiator is a good demonstration of:
1418
- - MVP Pattern
1419
- - Tree data-binding
1420
- - List data-binding
1421
- - Text selection data-binding
1422
- - Tabs
1423
- - Context menus
1424
- - Custom Shell
1425
- - Custom widget
1426
-
1427
1407
  #### Timer
1428
1408
 
1429
1409
  [<img alt="Glimmer Timer Icon" src="https://raw.githubusercontent.com/AndyObtiva/glimmer-cs-timer/master/images/glimmer-timer-logo.png" height=40 /> Timer](https://github.com/AndyObtiva/glimmer-cs-timer) is a sample app demonstrating data-binding, multi-threading, and JSound (Java Sound) library integration in a desktop application.
Binary file
@@ -98,6 +98,7 @@ module Glimmer
98
98
 
99
99
  def add_to_swt_path(swt_path)
100
100
  the_path_segment_args = path_segment_args.dup
101
+ the_path_segment_args = the_path_segment_args.first if the_path_segment_args.size == 1 && the_path_segment_args.first.is_a?(Array)
101
102
  if !is_a?(Point) && self.class != Path
102
103
  if !previous_point_connected?
103
104
  if the_path_segment_args.count == default_path_segment_arg_count