glimmer-dsl-libui 0.2.22 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +28 -0
- data/README.md +685 -103
- data/VERSION +1 -1
- data/bin/girb +0 -0
- data/examples/area_gallery.rb +1 -1
- data/examples/area_gallery2.rb +1 -1
- data/examples/area_gallery3.rb +1 -1
- data/examples/area_gallery4.rb +1 -1
- data/examples/basic_image.rb +19 -0
- data/examples/basic_image2.rb +13 -0
- data/examples/basic_image3.rb +23 -0
- data/examples/basic_image4.rb +17 -0
- data/examples/basic_image5.rb +75 -0
- data/examples/basic_table_color.rb +1 -11
- data/examples/basic_table_color2.rb +39 -0
- data/examples/basic_table_image.rb +2 -14
- data/examples/basic_table_image2.rb +44 -0
- data/examples/basic_table_image_text.rb +2 -13
- data/examples/basic_table_image_text2.rb +44 -0
- data/examples/snake/model/game.rb +0 -1
- data/examples/tetris.rb +23 -3
- data/examples/tic_tac_toe.rb +1 -1
- data/glimmer-dsl-libui.gemspec +0 -0
- data/lib/glimmer/dsl/libui/control_expression.rb +1 -1
- data/lib/glimmer/libui/control_proxy/area_proxy.rb +1 -0
- data/lib/glimmer/libui/control_proxy/column.rb +2 -2
- data/lib/glimmer/libui/control_proxy/image_part_proxy.rb +0 -1
- data/lib/glimmer/libui/control_proxy/image_proxy.rb +160 -12
- data/lib/glimmer/libui/control_proxy/table_proxy.rb +15 -2
- data/lib/glimmer/libui/control_proxy/window_proxy.rb +1 -1
- data/lib/glimmer/libui/control_proxy.rb +7 -7
- data/lib/glimmer/libui/image_path_renderer.rb +30 -0
- data/lib/glimmer/libui.rb +6 -5
- metadata +27 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74fca1540788e27b3b5086a888b83f0fe13e296c54eb6faf4ed244ee8e659484
|
4
|
+
data.tar.gz: 0ce0c22598269dea07489049462f3b94a16e75fc68dcb1fc61f69f1ad66686a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e449f830e5cdf53aae5bcd490644b5f6611f080353f455a833b17c75dc2f2dd3feacac53fc584aff06d38f7b6f9665b423818d81f6e42523b0549ac029269170
|
7
|
+
data.tar.gz: 78eb5db52c86d37166f32a91fee303d6cbd3ba91e9add0cd97c6ff6db14d85348a947fdf53bfd9e254a66bff819308844eb9669ebd7affe3c9d7c46cc08729f4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,33 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.3.1
|
4
|
+
|
5
|
+
- Support building `image_column` `image` objects in a `table` via `file` property (simplify through automation of use of `image_part` for `.png` image files given that `chunky_png` is now included in the gem)
|
6
|
+
- Support Web URL as `image` control `file` property
|
7
|
+
- Add `key_code` as alias to `key_value` in `area_key_event` `Hash`
|
8
|
+
- Fix issue with editing `text_color_column` in `table` having `editable true` property
|
9
|
+
- Fix issue with editing `checkbox_text_column` text in `table` having `editable true` or `editable_text true` property
|
10
|
+
|
11
|
+
## 0.3.0
|
12
|
+
|
13
|
+
- Upgrade to glimmer 2.4.1
|
14
|
+
- Add `chunky_png` gem to support `.png` images natively
|
15
|
+
- New `image` Glimmer custom control that can be nested under `area` to render an image (it is not part of LibUI, so it has some performance caveats, but is better than nothing and is fast with smaller image width/height)
|
16
|
+
|
17
|
+
## 0.2.24
|
18
|
+
|
19
|
+
- Support hex colors as `String` with `'#'` prefix (e.g. '#ffaa92')
|
20
|
+
|
21
|
+
## 0.2.23
|
22
|
+
|
23
|
+
- Improve examples/tetris.rb by having high score dialog pause the game if running and resume after closed
|
24
|
+
- Adjust Area Gallery example text size to 11 in Windows/Linux
|
25
|
+
- Fix `Glimmer::LibUI::timer {}` behavior so that the block return value will not affect repetition outcome if it is `Integer` (only Booleans affect it)
|
26
|
+
- Fix Tetris down button for Windows (it was going too fast before making tetrominos invisible before they hit the bottom)
|
27
|
+
- Fix Tetris double-downs (or multiple downs) happening after game over (it was firing an additional down timer after game over by mistake before)
|
28
|
+
- Fix Tetris by prechecking Turn Left on Up radio menu item since it is the one selected upon launch of the game
|
29
|
+
- Fix Tic-Tac-Toe text-size for Windows/Linux
|
30
|
+
|
3
31
|
## 0.2.22
|
4
32
|
|
5
33
|
- examples/snake.rb implemented test-first
|