glimmer-dsl-libui 0.4.18 → 0.4.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +22 -0
  3. data/LICENSE.txt +1 -1
  4. data/README.md +448 -74
  5. data/VERSION +1 -1
  6. data/bin/girb +0 -0
  7. data/bin/girb_runner.rb +1 -1
  8. data/examples/area_based_custom_controls.rb +282 -0
  9. data/examples/method_based_custom_keyword.rb +9 -9
  10. data/examples/method_based_custom_keyword2.rb +9 -9
  11. data/examples/snake/model/game.rb +18 -1
  12. data/examples/snake.rb +6 -2
  13. data/examples/snake2.rb +6 -2
  14. data/examples/tetris/model/block.rb +1 -1
  15. data/examples/tetris/model/game.rb +26 -24
  16. data/examples/tetris/model/past_game.rb +1 -1
  17. data/examples/tetris/model/tetromino.rb +1 -1
  18. data/examples/tetris.rb +51 -20
  19. data/examples/tic_tac_toe/board.rb +1 -1
  20. data/examples/tic_tac_toe/cell.rb +1 -1
  21. data/glimmer-dsl-libui.gemspec +0 -0
  22. data/lib/glimmer/dsl/libui/bind_expression.rb +1 -1
  23. data/lib/glimmer/dsl/libui/control_expression.rb +1 -1
  24. data/lib/glimmer/dsl/libui/data_binding_expression.rb +1 -1
  25. data/lib/glimmer/dsl/libui/dsl.rb +1 -1
  26. data/lib/glimmer/dsl/libui/file_expression.rb +1 -1
  27. data/lib/glimmer/dsl/libui/listener_expression.rb +1 -1
  28. data/lib/glimmer/dsl/libui/observe_expression.rb +2 -2
  29. data/lib/glimmer/dsl/libui/open_file_expression.rb +1 -1
  30. data/lib/glimmer/dsl/libui/operation_expression.rb +1 -1
  31. data/lib/glimmer/dsl/libui/property_expression.rb +1 -1
  32. data/lib/glimmer/dsl/libui/save_file_expression.rb +1 -1
  33. data/lib/glimmer/dsl/libui/shape_expression.rb +1 -1
  34. data/lib/glimmer/dsl/libui/shine_data_binding_expression.rb +1 -1
  35. data/lib/glimmer/dsl/libui/string_expression.rb +1 -1
  36. data/lib/glimmer/dsl/libui/tab_item_expression.rb +1 -1
  37. data/lib/glimmer/fiddle_consumer.rb +1 -1
  38. data/lib/glimmer/libui/attributed_string.rb +1 -1
  39. data/lib/glimmer/libui/control_proxy/area_proxy/scrolling_area_proxy.rb +1 -1
  40. data/lib/glimmer/libui/control_proxy/area_proxy.rb +1 -1
  41. data/lib/glimmer/libui/control_proxy/box/horizontal_box_proxy.rb +1 -1
  42. data/lib/glimmer/libui/control_proxy/box/vertical_box_proxy.rb +1 -1
  43. data/lib/glimmer/libui/control_proxy/box.rb +2 -1
  44. data/lib/glimmer/libui/control_proxy/button_proxy.rb +1 -1
  45. data/lib/glimmer/libui/control_proxy/checkbox_proxy.rb +1 -1
  46. data/lib/glimmer/libui/control_proxy/color_button_proxy.rb +1 -1
  47. data/lib/glimmer/libui/control_proxy/column/background_color_column_proxy.rb +1 -1
  48. data/lib/glimmer/libui/control_proxy/column/button_column_proxy.rb +1 -1
  49. data/lib/glimmer/libui/control_proxy/column/checkbox_column_proxy.rb +1 -1
  50. data/lib/glimmer/libui/control_proxy/column/checkbox_text_color_column_proxy.rb +1 -1
  51. data/lib/glimmer/libui/control_proxy/column/checkbox_text_column_proxy.rb +1 -1
  52. data/lib/glimmer/libui/control_proxy/column/image_column_proxy.rb +1 -1
  53. data/lib/glimmer/libui/control_proxy/column/image_text_color_column_proxy.rb +1 -1
  54. data/lib/glimmer/libui/control_proxy/column/image_text_column_proxy.rb +1 -1
  55. data/lib/glimmer/libui/control_proxy/column/progress_bar_column_proxy.rb +1 -1
  56. data/lib/glimmer/libui/control_proxy/column/text_color_column_proxy.rb +1 -1
  57. data/lib/glimmer/libui/control_proxy/column/text_column_proxy.rb +1 -1
  58. data/lib/glimmer/libui/control_proxy/column.rb +1 -1
  59. data/lib/glimmer/libui/control_proxy/combobox_proxy.rb +1 -1
  60. data/lib/glimmer/libui/control_proxy/date_time_picker_proxy/date_picker_proxy.rb +1 -1
  61. data/lib/glimmer/libui/control_proxy/date_time_picker_proxy/time_picker_proxy.rb +1 -1
  62. data/lib/glimmer/libui/control_proxy/date_time_picker_proxy.rb +1 -1
  63. data/lib/glimmer/libui/control_proxy/dual_column.rb +1 -1
  64. data/lib/glimmer/libui/control_proxy/editable_column.rb +1 -1
  65. data/lib/glimmer/libui/control_proxy/editable_combobox_proxy.rb +1 -1
  66. data/lib/glimmer/libui/control_proxy/enableable_column.rb +1 -1
  67. data/lib/glimmer/libui/control_proxy/entry_proxy/password_entry_proxy.rb +1 -1
  68. data/lib/glimmer/libui/control_proxy/entry_proxy/search_entry_proxy.rb +1 -1
  69. data/lib/glimmer/libui/control_proxy/entry_proxy.rb +1 -1
  70. data/lib/glimmer/libui/control_proxy/font_button_proxy.rb +1 -1
  71. data/lib/glimmer/libui/control_proxy/form_proxy.rb +2 -1
  72. data/lib/glimmer/libui/control_proxy/grid_proxy.rb +1 -1
  73. data/lib/glimmer/libui/control_proxy/group_proxy.rb +1 -1
  74. data/lib/glimmer/libui/control_proxy/image_part_proxy.rb +1 -1
  75. data/lib/glimmer/libui/control_proxy/image_proxy.rb +1 -1
  76. data/lib/glimmer/libui/control_proxy/label_proxy.rb +1 -1
  77. data/lib/glimmer/libui/control_proxy/matrix_proxy.rb +1 -1
  78. data/lib/glimmer/libui/control_proxy/menu_item_proxy/about_menu_item_proxy.rb +1 -1
  79. data/lib/glimmer/libui/control_proxy/menu_item_proxy/check_menu_item_proxy.rb +1 -1
  80. data/lib/glimmer/libui/control_proxy/menu_item_proxy/preferences_menu_item_proxy.rb +1 -1
  81. data/lib/glimmer/libui/control_proxy/menu_item_proxy/quit_menu_item_proxy.rb +1 -1
  82. data/lib/glimmer/libui/control_proxy/menu_item_proxy/radio_menu_item_proxy.rb +1 -1
  83. data/lib/glimmer/libui/control_proxy/menu_item_proxy/separator_menu_item_proxy.rb +1 -1
  84. data/lib/glimmer/libui/control_proxy/menu_item_proxy.rb +1 -1
  85. data/lib/glimmer/libui/control_proxy/menu_proxy.rb +1 -1
  86. data/lib/glimmer/libui/control_proxy/message_box/msg_box_error_proxy.rb +1 -1
  87. data/lib/glimmer/libui/control_proxy/message_box/msg_box_proxy.rb +1 -1
  88. data/lib/glimmer/libui/control_proxy/message_box.rb +1 -1
  89. data/lib/glimmer/libui/control_proxy/multiline_entry_proxy/non_wrapping_multiline_entry_proxy.rb +1 -1
  90. data/lib/glimmer/libui/control_proxy/multiline_entry_proxy.rb +1 -1
  91. data/lib/glimmer/libui/control_proxy/open_type_features_proxy.rb +1 -1
  92. data/lib/glimmer/libui/control_proxy/open_type_tag_proxy.rb +1 -1
  93. data/lib/glimmer/libui/control_proxy/path_proxy.rb +1 -1
  94. data/lib/glimmer/libui/control_proxy/radio_buttons_proxy.rb +1 -1
  95. data/lib/glimmer/libui/control_proxy/slider_proxy.rb +1 -1
  96. data/lib/glimmer/libui/control_proxy/spinbox_proxy.rb +1 -1
  97. data/lib/glimmer/libui/control_proxy/tab_item_proxy.rb +1 -1
  98. data/lib/glimmer/libui/control_proxy/table_proxy.rb +1 -1
  99. data/lib/glimmer/libui/control_proxy/text_proxy.rb +1 -1
  100. data/lib/glimmer/libui/control_proxy/transformable.rb +1 -1
  101. data/lib/glimmer/libui/control_proxy/triple_column.rb +1 -1
  102. data/lib/glimmer/libui/control_proxy/window_proxy.rb +1 -1
  103. data/lib/glimmer/libui/control_proxy.rb +2 -1
  104. data/lib/glimmer/libui/data_bindable.rb +1 -1
  105. data/lib/glimmer/libui/parent.rb +1 -1
  106. data/lib/glimmer/libui/shape/arc.rb +1 -1
  107. data/lib/glimmer/libui/shape/bezier.rb +21 -4
  108. data/lib/glimmer/libui/shape/circle.rb +1 -1
  109. data/lib/glimmer/libui/shape/figure.rb +1 -1
  110. data/lib/glimmer/libui/shape/line.rb +24 -4
  111. data/lib/glimmer/libui/shape/polybezier.rb +1 -1
  112. data/lib/glimmer/libui/shape/polygon.rb +1 -1
  113. data/lib/glimmer/libui/shape/polyline.rb +1 -1
  114. data/lib/glimmer/libui/shape/rectangle.rb +1 -1
  115. data/lib/glimmer/libui/shape/square.rb +1 -1
  116. data/lib/glimmer/libui/shape.rb +1 -1
  117. data/lib/glimmer/libui.rb +1 -1
  118. data/lib/glimmer-dsl-libui.rb +1 -1
  119. metadata +8 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2d56a2500e640c9f34f29daddc718a1adee47564da205fc7aff171047f90581f
4
- data.tar.gz: 0067be097b14cf452323ce2faf79c244f99b525b24bd400b248119d8e2b24be4
3
+ metadata.gz: cc2ebc159948cf7110cdc9113b219809789a6b73c5412435364998c5633afe26
4
+ data.tar.gz: f6f988f09d76f8cbe72bc76fc2440c426def14ecbd4405270d70d05012d4d183
5
5
  SHA512:
6
- metadata.gz: 5c954f84c3565d6c4dd2fe5262b5d34749ee5d5efc94f9cbb351d1924b442474089bbf731f8d418cae332f44ff215d0a21a54ceded566667b6e558109e28ea82
7
- data.tar.gz: e0fcf189174a77fe48f80cbae8af6d0028092c4b19e1c653243845d194bd923e42fa5ae29f2a43cbe684106dfbc107eb6193af63d0e16e79fa5b40d8b383a47e
6
+ metadata.gz: f9d5a3a2232050cc372235a7e97d47ab26fdf5a39c87e1d77614e029b938c9d745f2ba01caf4d26158f0c2334035db63e5226fd6e1d9cf61df656a293c81c3b6
7
+ data.tar.gz: 77ff5efbc0945a2be47f0e2241025c6a9eb83e122c42581cb704c3a540d1d7ac6cd224d6a25b58e6894ccee852b32f3ba65daedaab6b27d53a4808bda163ed2a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.4.22
4
+
5
+ - examples/tetris.rb "Show Next Block Preview" menu item under "View" menu
6
+ - examples/tetris.rb "Speed" menu
7
+ - Fix issue with examples/tetris.rb not accelerating upon level ups
8
+
9
+ ## 0.4.21
10
+
11
+ - Pause via spacebar in examples/snake.rb (all versions)
12
+ - Upgrade to glimmer 2.5.5
13
+
14
+ ## 0.4.20
15
+
16
+ - New examples/area_based_custom_controls.rb
17
+ - Fix issue with calling `destroy` multiple times on children of `vertical_box`/`horizontal_box`/`form` (worked only the first time before this fix)
18
+
19
+ ## 0.4.19
20
+
21
+ - Have `line` optionally support 4 arguments instead of 2 to use outside of a `figure`
22
+ - Have `bezier` optionally support 8 arguments instead of 6 to use outside of a `figure`
23
+ - Minor fix to `observe` keyword code (had the wrong DSL name)
24
+
3
25
  ## 0.4.18
4
26
 
5
27
  - Support setting `table` `cell_rows` after the `table` definition completed (e.g. `@table.cell_rows = data` after `table {}` curly braces closed already)
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2021 Andy Maleh
1
+ Copyright (c) 2021-2022 Andy Maleh
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the