glimmer-dsl-gtk 0.0.5 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +40 -0
- data/README.md +699 -51
- data/VERSION +1 -1
- data/glimmer-dsl-gtk.gemspec +0 -0
- data/lib/glimmer/gtk/shape/path.rb +51 -0
- data/lib/glimmer/gtk/shape.rb +56 -22
- data/lib/glimmer/gtk/transformable.rb +93 -0
- data/lib/glimmer/gtk/widget_proxy/drawing_area_proxy.rb +8 -1
- data/lib/glimmer/gtk/widget_proxy.rb +15 -3
- data/samples/cairo/arc.rb +44 -0
- data/samples/cairo/arc_negative.rb +44 -0
- data/samples/cairo/clip.rb +34 -0
- data/samples/cairo/clip_image.rb +33 -0
- data/samples/cairo/curve_to.rb +39 -0
- data/samples/cairo/dashes.rb +30 -0
- data/samples/cairo/fill_and_stroke2.rb +36 -0
- data/samples/cairo/fill_style.rb +43 -0
- data/samples/cairo/gradient.rb +31 -0
- data/samples/cairo/image.rb +28 -0
- data/samples/cairo/image_gradient.rb +37 -0
- data/samples/cairo/multi_segment_caps.rb +27 -0
- data/samples/cairo/rounded_rectangle.rb +20 -0
- data/samples/cairo/set_line_cap.rb +53 -0
- data/samples/cairo/set_line_join.rb +43 -0
- data/samples/cairo/text.rb +46 -0
- data/samples/elaborate/tetris/model/game.rb +28 -34
- data/samples/elaborate/tetris.rb +66 -20
- data/samples/elaborate/widget_gallery.rb +18 -7
- data/samples/hello/hello_button.rb +2 -2
- data/samples/hello/hello_entry.rb +2 -2
- metadata +21 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ab4c99f4b7c76ccba6486f536961778245670be78b77dc7950b38a5215af013
|
4
|
+
data.tar.gz: dcd6cef4cec807cd5d79bd18c91a718f6cd29565b740796fe3c8ef139e7f09a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c04c2ef4ec968d84b731370348175fb662ae5f3891013ba65f450d4a0046491ca60c8528977924e6ecb784be70da1b5d98dce6718bfbc4143f7dd821532cce36
|
7
|
+
data.tar.gz: ae07c805d27a87b307e9d9d31bd5e3ae1074e2c5c16a6275ad842116216f583275631b40c777310458bb6c5f054d1b534132d4a5af4f6c9cb487ae64d814fd56
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,45 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.0.9
|
4
|
+
|
5
|
+
- Add the text "Next" before the Next Tetromino Preview area
|
6
|
+
- Tetris "Show Next Block Preview" menu item under "View" menu
|
7
|
+
- Tetris "Speed" menu
|
8
|
+
- Fix Tetris Help menu (was called Options by mistake)
|
9
|
+
- Fix issue with Tetris game restarting immediately on game over
|
10
|
+
- Fix issue with Tetris not accelerating upon level ups
|
11
|
+
- Fix warning message: glimmer-dsl-gtk-0.0.8/lib/glimmer/gtk/widget_proxy.rb:192:in `new': 'Gtk::MessageDialog#initialize(parent, flags, type, buttons_type, message)' style has been deprecated. Use 'Gtk::MessageDialog#initialize(:parent => nil, :flags => 0, :type => :info, :buttons => :ok, :message => "")' style.
|
12
|
+
- Fix warning message: Attempting to add a widget with type GtkMenu to a container of type GtkMenuItem, but the widget is already inside a container of type GtkWindow, please remove the widget from its existing container first.
|
13
|
+
|
14
|
+
## 0.0.8
|
15
|
+
|
16
|
+
- Download `images/breaking-blue-wave.png` from web in Cairo examples that use it (`image.rb`, `clip_image.rb`, `image_gradient.rb`) to avoid bloating Ruby gem
|
17
|
+
|
18
|
+
## 0.0.7
|
19
|
+
|
20
|
+
- samples/cairo/text.rb
|
21
|
+
- Support for `path` nested `show_text`, `text_path`, `show_glyphs`, `glyph_path`, `new_sub_path` operations
|
22
|
+
|
23
|
+
## 0.0.6
|
24
|
+
|
25
|
+
- samples/cairo/clip_image.rb
|
26
|
+
- samples/cairo/curve_to.rb
|
27
|
+
- samples/cairo/dashes.rb
|
28
|
+
- samples/cairo/fill_and_stroke2.rb
|
29
|
+
- samples/cairo/fill_style.rb
|
30
|
+
- samples/cairo/gradient.rb
|
31
|
+
- samples/cairo/image.rb
|
32
|
+
- samples/cairo/image_gradient.rb
|
33
|
+
- samples/cairo/multi_segment_caps.rb
|
34
|
+
- samples/cairo/rounded_rectangle.rb
|
35
|
+
- samples/cairo/set_line_cap.rb
|
36
|
+
- samples/cairo/set_line_join.rb
|
37
|
+
- Supported nested sub-paths (nesting `path` within another `path`)
|
38
|
+
- Support declarative `fill`/`paint` of `image, x, y` in cairo graphics
|
39
|
+
- Support declarative transforms on cairo graphics shapes: `translate`, `scale`, `rotate`
|
40
|
+
- Support applying transform on `drawing_area` `paint`
|
41
|
+
- Support for `path` nested `rectangle`, `rounded_rectangle`, and `arc_negative` operations
|
42
|
+
|
3
43
|
## 0.0.5
|
4
44
|
|
5
45
|
- Support `drawing_area#paint(red, green, blue)` operation to set the initial `drawing_area` paint color base
|