glimmer-dsl-libui 0.1.10 → 0.2.2
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 +30 -0
- data/README.md +574 -19
- data/VERSION +1 -1
- data/examples/area_gallery.rb +7 -1
- data/examples/area_gallery2.rb +14 -4
- data/examples/area_gallery3.rb +8 -2
- data/examples/area_gallery4.rb +15 -5
- data/examples/color_the_circles.rb +220 -0
- data/examples/control_gallery.rb +1 -1
- data/examples/form_table.rb +20 -0
- data/examples/login.rb +45 -0
- data/examples/midi_player.rb +1 -1
- data/examples/timer.rb +135 -0
- data/glimmer-dsl-libui.gemspec +0 -0
- data/lib/glimmer/libui/control_proxy/area_proxy/scrolling_area_proxy.rb +40 -0
- data/lib/glimmer/libui/control_proxy/area_proxy.rb +19 -2
- data/lib/glimmer/libui/control_proxy/entry_proxy/password_entry_proxy.rb +36 -0
- data/lib/glimmer/libui/control_proxy/entry_proxy/search_entry_proxy.rb +36 -0
- data/lib/glimmer/libui/control_proxy/entry_proxy.rb +39 -0
- data/lib/glimmer/libui/control_proxy/menu_item_proxy/radio_menu_item_proxy.rb +69 -0
- data/lib/glimmer/libui/control_proxy/menu_proxy.rb +3 -0
- data/lib/glimmer/libui/control_proxy/window_proxy.rb +0 -6
- data/lib/glimmer/libui/control_proxy.rb +8 -1
- data/lib/glimmer/libui/shape/arc.rb +6 -3
- data/lib/glimmer/libui/shape/circle.rb +50 -0
- data/lib/glimmer/libui/shape/rectangle.rb +4 -0
- data/lib/glimmer/libui/shape/square.rb +4 -0
- data/lib/glimmer/libui.rb +59 -2
- data/sounds/AlanWalker-Faded.mid +0 -0
- data/sounds/AlanWalker-SingMeToSleep.mid +0 -0
- data/sounds/CalvinHarris-Blame.mid +0 -0
- data/sounds/CalvinHarris-MyWay.mid +0 -0
- data/sounds/deadmau5-2448.mid +0 -0
- data/sounds/deadmau5-SoThereIWas.mid +0 -0
- metadata +19 -4
@@ -0,0 +1,36 @@
|
|
1
|
+
# Copyright (c) 2021 Andy Maleh
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
# a copy of this software and associated documentation files (the
|
5
|
+
# "Software"), to deal in the Software without restriction, including
|
6
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
# the following conditions:
|
10
|
+
#
|
11
|
+
# The above copyright notice and this permission notice shall be
|
12
|
+
# included in all copies or substantial portions of the Software.
|
13
|
+
#
|
14
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
+
|
22
|
+
require 'glimmer/libui/control_proxy/entry_proxy'
|
23
|
+
|
24
|
+
module Glimmer
|
25
|
+
module LibUI
|
26
|
+
class ControlProxy
|
27
|
+
class EntryProxy < ControlProxy
|
28
|
+
# Proxy for LibUI search entry objects
|
29
|
+
#
|
30
|
+
# Follows the Proxy Design Pattern
|
31
|
+
class SearchEntryProxy < EntryProxy
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# Copyright (c) 2021 Andy Maleh
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
# a copy of this software and associated documentation files (the
|
5
|
+
# "Software"), to deal in the Software without restriction, including
|
6
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
# the following conditions:
|
10
|
+
#
|
11
|
+
# The above copyright notice and this permission notice shall be
|
12
|
+
# included in all copies or substantial portions of the Software.
|
13
|
+
#
|
14
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
+
|
22
|
+
require 'glimmer/libui/control_proxy'
|
23
|
+
|
24
|
+
module Glimmer
|
25
|
+
module LibUI
|
26
|
+
class ControlProxy
|
27
|
+
# Proxy for LibUI entry objects
|
28
|
+
#
|
29
|
+
# Follows the Proxy Design Pattern
|
30
|
+
class EntryProxy < ControlProxy
|
31
|
+
def libui_api_keyword
|
32
|
+
'entry'
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
Dir[File.expand_path("./#{File.basename(__FILE__, '.rb')}/*.rb", __dir__)].each {|f| require f}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
# Copyright (c) 2021 Andy Maleh
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
# a copy of this software and associated documentation files (the
|
5
|
+
# "Software"), to deal in the Software without restriction, including
|
6
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
# the following conditions:
|
10
|
+
#
|
11
|
+
# The above copyright notice and this permission notice shall be
|
12
|
+
# included in all copies or substantial portions of the Software.
|
13
|
+
#
|
14
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
+
|
22
|
+
require 'glimmer/libui/control_proxy/menu_item_proxy'
|
23
|
+
|
24
|
+
module Glimmer
|
25
|
+
module LibUI
|
26
|
+
class ControlProxy
|
27
|
+
class MenuItemProxy < ControlProxy
|
28
|
+
# Proxy for LibUI radio menu item object
|
29
|
+
#
|
30
|
+
# Follows the Proxy Design Pattern
|
31
|
+
class RadioMenuItemProxy < MenuItemProxy
|
32
|
+
def checked(value = nil)
|
33
|
+
if !value.nil?
|
34
|
+
if Glimmer::LibUI.integer_to_boolean(value) != checked?
|
35
|
+
super
|
36
|
+
if Glimmer::LibUI.integer_to_boolean(value)
|
37
|
+
(@parent_proxy.children - [self]).select {|c| c.is_a?(MenuItemProxy)}.each do |menu_item|
|
38
|
+
menu_item.checked = false
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
alias checked? checked
|
45
|
+
alias set_checked checked
|
46
|
+
alias checked= checked
|
47
|
+
|
48
|
+
def handle_listener(listener_name, &listener)
|
49
|
+
if listener_name.to_s == 'on_clicked'
|
50
|
+
radio_listener = Proc.new do
|
51
|
+
self.checked = true if !checked?
|
52
|
+
listener.call(self)
|
53
|
+
end
|
54
|
+
super(listener_name, &radio_listener)
|
55
|
+
else
|
56
|
+
super
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
private
|
61
|
+
|
62
|
+
def build_control
|
63
|
+
@libui = @parent_proxy.append_check_item(*@args)
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -20,6 +20,7 @@
|
|
20
20
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
21
|
|
22
22
|
require 'glimmer/libui/control_proxy'
|
23
|
+
require 'glimmer/libui/parent'
|
23
24
|
|
24
25
|
module Glimmer
|
25
26
|
module LibUI
|
@@ -28,6 +29,8 @@ module Glimmer
|
|
28
29
|
#
|
29
30
|
# Follows the Proxy Design Pattern
|
30
31
|
class MenuProxy < ControlProxy
|
32
|
+
include Parent
|
33
|
+
|
31
34
|
DEFAULT_TEXT = ''
|
32
35
|
|
33
36
|
private
|
@@ -35,12 +35,6 @@ module Glimmer
|
|
35
35
|
DEFAULT_HAS_MENUBAR = 1
|
36
36
|
|
37
37
|
def post_initialize_child(child)
|
38
|
-
if child.is_a?(AreaProxy)
|
39
|
-
vertical_box_parent = ControlProxy.create('vertical_box', self, [])
|
40
|
-
child.instance_variable_set(:@parent_proxy, vertical_box_parent)
|
41
|
-
vertical_box_parent.post_initialize_child(child)
|
42
|
-
child = vertical_box_parent
|
43
|
-
end
|
44
38
|
::LibUI.window_set_child(@libui, child.libui)
|
45
39
|
end
|
46
40
|
|
@@ -223,7 +223,13 @@ module Glimmer
|
|
223
223
|
elsif ::LibUI.respond_to?("#{libui_api_keyword}_set_#{method_name.to_s.sub(/=$/, '')}") && !args.empty?
|
224
224
|
property = method_name.to_s.sub(/=$/, '')
|
225
225
|
args[0] = Glimmer::LibUI.boolean_to_integer(args.first) if BOOLEAN_PROPERTIES.include?(property) && (args.first.is_a?(TrueClass) || args.first.is_a?(FalseClass))
|
226
|
-
|
226
|
+
if property.to_s == 'checked'
|
227
|
+
current_value = Glimmer::LibUI.integer_to_boolean(::LibUI.send("#{libui_api_keyword}_checked", @libui))
|
228
|
+
new_value = Glimmer::LibUI.integer_to_boolean(args[0])
|
229
|
+
::LibUI.send("#{libui_api_keyword}_set_#{property}", @libui, *args) if new_value != current_value
|
230
|
+
else
|
231
|
+
::LibUI.send("#{libui_api_keyword}_set_#{property}", @libui, *args)
|
232
|
+
end
|
227
233
|
elsif ::LibUI.respond_to?("#{libui_api_keyword}_#{method_name}") && !args.empty?
|
228
234
|
::LibUI.send("#{libui_api_keyword}_#{method_name}", @libui, *args)
|
229
235
|
elsif ::LibUI.respond_to?("control_#{method_name.to_s.sub(/\?$/, '')}") && args.empty?
|
@@ -280,6 +286,7 @@ module Glimmer
|
|
280
286
|
if value.nil?
|
281
287
|
@enabled
|
282
288
|
elsif value != @enabled
|
289
|
+
@enabled = value == 1 || value
|
283
290
|
if value == 1 || value
|
284
291
|
send_to_libui('enable')
|
285
292
|
else
|
@@ -29,11 +29,14 @@ module Glimmer
|
|
29
29
|
parameter_defaults 0, 0, 0, 0, 360, false
|
30
30
|
|
31
31
|
def draw(area_draw_params)
|
32
|
-
|
32
|
+
arc_args = @args.dup
|
33
|
+
arc_args[3] = Glimmer::LibUI.degrees_to_radians(arc_args[3])
|
34
|
+
arc_args[4] = Glimmer::LibUI.degrees_to_radians(arc_args[4])
|
35
|
+
arc_args[5] = Glimmer::LibUI.boolean_to_integer(arc_args[5], allow_nil: false)
|
33
36
|
if parent.is_a?(Figure) && parent.x.nil? && parent.y.nil?
|
34
|
-
::LibUI.draw_path_new_figure_with_arc(path_proxy.libui,
|
37
|
+
::LibUI.draw_path_new_figure_with_arc(path_proxy.libui, *arc_args)
|
35
38
|
else
|
36
|
-
::LibUI.draw_path_arc_to(path_proxy.libui,
|
39
|
+
::LibUI.draw_path_arc_to(path_proxy.libui, *arc_args)
|
37
40
|
end
|
38
41
|
super
|
39
42
|
end
|
@@ -0,0 +1,50 @@
|
|
1
|
+
# Copyright (c) 2021 Andy Maleh
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
# a copy of this software and associated documentation files (the
|
5
|
+
# "Software"), to deal in the Software without restriction, including
|
6
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
# the following conditions:
|
10
|
+
#
|
11
|
+
# The above copyright notice and this permission notice shall be
|
12
|
+
# included in all copies or substantial portions of the Software.
|
13
|
+
#
|
14
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
+
|
22
|
+
require 'glimmer/libui/shape'
|
23
|
+
|
24
|
+
module Glimmer
|
25
|
+
module LibUI
|
26
|
+
class Shape
|
27
|
+
class Circle < Shape
|
28
|
+
parameters :x_center, :y_center, :radius
|
29
|
+
parameter_defaults 0, 0, 0
|
30
|
+
|
31
|
+
def draw(area_draw_params)
|
32
|
+
arc_args = @args.dup
|
33
|
+
arc_args[3] = 0
|
34
|
+
arc_args[4] = Math::PI * 2.0
|
35
|
+
arc_args[5] = 0
|
36
|
+
if parent.is_a?(Figure) && parent.x.nil? && parent.y.nil?
|
37
|
+
::LibUI.draw_path_new_figure_with_arc(path_proxy.libui, *arc_args)
|
38
|
+
else
|
39
|
+
::LibUI.draw_path_arc_to(path_proxy.libui, *arc_args)
|
40
|
+
end
|
41
|
+
super
|
42
|
+
end
|
43
|
+
|
44
|
+
def include?(x, y)
|
45
|
+
(x - x_center)**2 + (y - y_center)**2 < radius**2
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
data/lib/glimmer/libui.rb
CHANGED
@@ -19,15 +19,23 @@
|
|
19
19
|
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
20
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
21
|
|
22
|
+
require 'glimmer/fiddle_consumer'
|
23
|
+
|
22
24
|
module Glimmer
|
23
25
|
module LibUI
|
24
26
|
class << self
|
27
|
+
include Glimmer::FiddleConsumer
|
28
|
+
|
25
29
|
def integer_to_boolean(int, allow_nil: true)
|
26
|
-
int.nil? ? (allow_nil ? nil : false) : int == 1
|
30
|
+
int.nil? ? (allow_nil ? nil : false) : ((int.is_a?(TrueClass) || int.is_a?(FalseClass)) ? int : int == 1)
|
27
31
|
end
|
28
32
|
|
29
33
|
def boolean_to_integer(bool, allow_nil: true)
|
30
|
-
bool.nil? ? (allow_nil ? nil : 0) : (bool ? 1 : 0)
|
34
|
+
bool.nil? ? (allow_nil ? nil : 0) : (bool.is_a?(Integer) ? bool : (bool == true ? 1 : 0))
|
35
|
+
end
|
36
|
+
|
37
|
+
def degrees_to_radians(degrees)
|
38
|
+
((Math::PI * 2.0) / 360.00) * degrees.to_f
|
31
39
|
end
|
32
40
|
|
33
41
|
def interpret_color(value)
|
@@ -104,6 +112,55 @@ module Glimmer
|
|
104
112
|
enum_symbol_to_value(enum_name, enum_symbols(enum_name)[default_index])
|
105
113
|
end
|
106
114
|
end
|
115
|
+
|
116
|
+
def x11_colors
|
117
|
+
Color::RGB.constants.reject {|c| c.to_s.upcase == c.to_s}.map(&:to_s).map(&:underscore).map(&:to_sym)
|
118
|
+
end
|
119
|
+
|
120
|
+
# Queues block to execute at the nearest opportunity possible on the main GUI event loop
|
121
|
+
def queue_main(&block)
|
122
|
+
closure = fiddle_closure_block_caller(4, [0]) do
|
123
|
+
result = boolean_to_integer(block.call)
|
124
|
+
result = 1 if result.nil?
|
125
|
+
result
|
126
|
+
end
|
127
|
+
::LibUI.queue_main(closure)
|
128
|
+
closure
|
129
|
+
end
|
130
|
+
|
131
|
+
# Calls block on the main GUI event loop after time_in_seconds delay, repeating indefinitely by default
|
132
|
+
# If `repeat:` keyword arg is passed with an Integer value, it repeats for that number of times
|
133
|
+
# If `repeat:` keyword arg is passed with false or 0, then the block is only called onces
|
134
|
+
# If block returns false at any point, the timer is stopped from further repetitions regardless of `repeat:` keyword arg value
|
135
|
+
# If block returns true at any point, the timer continues for another repetition regardless of `repeat:` keyword arg value
|
136
|
+
def timer(time_in_seconds = 0.1, repeat: true, &block)
|
137
|
+
closure = fiddle_closure_block_caller(4, [0]) do
|
138
|
+
result = boolean_to_integer(block.call)
|
139
|
+
repeat -= 1 if repeat.is_a?(Integer)
|
140
|
+
if result.nil?
|
141
|
+
if (repeat == true || (repeat.is_a?(Integer) && repeat > 0))
|
142
|
+
result = 1
|
143
|
+
else
|
144
|
+
result = 0
|
145
|
+
end
|
146
|
+
end
|
147
|
+
result
|
148
|
+
end
|
149
|
+
::LibUI.timer(time_in_seconds * 1000.0, closure)
|
150
|
+
closure
|
151
|
+
end
|
152
|
+
|
153
|
+
def respond_to?(method_name, *args)
|
154
|
+
super || ::LibUI.respond_to?(method_name, *args)
|
155
|
+
end
|
156
|
+
|
157
|
+
def method_missing(method_name, *args, &block)
|
158
|
+
if ::LibUI.respond_to?(method_name, true)
|
159
|
+
::LibUI.send(method_name, *args, &block)
|
160
|
+
else
|
161
|
+
super
|
162
|
+
end
|
163
|
+
end
|
107
164
|
end
|
108
165
|
end
|
109
166
|
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glimmer-dsl-libui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Maleh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-10-
|
11
|
+
date: 2021-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: glimmer
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.2.
|
19
|
+
version: 2.2.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.2.
|
26
|
+
version: 2.2.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: os
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -227,6 +227,7 @@ files:
|
|
227
227
|
- examples/basic_window.rb
|
228
228
|
- examples/basic_window2.rb
|
229
229
|
- examples/color_button.rb
|
230
|
+
- examples/color_the_circles.rb
|
230
231
|
- examples/control_gallery.rb
|
231
232
|
- examples/date_time_picker.rb
|
232
233
|
- examples/dynamic_area.rb
|
@@ -238,9 +239,11 @@ files:
|
|
238
239
|
- examples/form_table.rb
|
239
240
|
- examples/grid.rb
|
240
241
|
- examples/histogram.rb
|
242
|
+
- examples/login.rb
|
241
243
|
- examples/meta_example.rb
|
242
244
|
- examples/midi_player.rb
|
243
245
|
- examples/simple_notepad.rb
|
246
|
+
- examples/timer.rb
|
244
247
|
- glimmer-dsl-libui.gemspec
|
245
248
|
- lib/glimmer-dsl-libui.rb
|
246
249
|
- lib/glimmer/dsl/libui/control_expression.rb
|
@@ -256,6 +259,7 @@ files:
|
|
256
259
|
- lib/glimmer/libui.rb
|
257
260
|
- lib/glimmer/libui/control_proxy.rb
|
258
261
|
- lib/glimmer/libui/control_proxy/area_proxy.rb
|
262
|
+
- lib/glimmer/libui/control_proxy/area_proxy/scrolling_area_proxy.rb
|
259
263
|
- lib/glimmer/libui/control_proxy/box.rb
|
260
264
|
- lib/glimmer/libui/control_proxy/box/horizontal_box_proxy.rb
|
261
265
|
- lib/glimmer/libui/control_proxy/box/vertical_box_proxy.rb
|
@@ -278,6 +282,9 @@ files:
|
|
278
282
|
- lib/glimmer/libui/control_proxy/editable_column.rb
|
279
283
|
- lib/glimmer/libui/control_proxy/editable_combobox_proxy.rb
|
280
284
|
- lib/glimmer/libui/control_proxy/enableable_column.rb
|
285
|
+
- lib/glimmer/libui/control_proxy/entry_proxy.rb
|
286
|
+
- lib/glimmer/libui/control_proxy/entry_proxy/password_entry_proxy.rb
|
287
|
+
- lib/glimmer/libui/control_proxy/entry_proxy/search_entry_proxy.rb
|
281
288
|
- lib/glimmer/libui/control_proxy/font_button_proxy.rb
|
282
289
|
- lib/glimmer/libui/control_proxy/form_proxy.rb
|
283
290
|
- lib/glimmer/libui/control_proxy/grid_proxy.rb
|
@@ -291,6 +298,7 @@ files:
|
|
291
298
|
- lib/glimmer/libui/control_proxy/menu_item_proxy/check_menu_item_proxy.rb
|
292
299
|
- lib/glimmer/libui/control_proxy/menu_item_proxy/preferences_menu_item_proxy.rb
|
293
300
|
- lib/glimmer/libui/control_proxy/menu_item_proxy/quit_menu_item_proxy.rb
|
301
|
+
- lib/glimmer/libui/control_proxy/menu_item_proxy/radio_menu_item_proxy.rb
|
294
302
|
- lib/glimmer/libui/control_proxy/menu_item_proxy/separator_menu_item_proxy.rb
|
295
303
|
- lib/glimmer/libui/control_proxy/menu_proxy.rb
|
296
304
|
- lib/glimmer/libui/control_proxy/message_box.rb
|
@@ -308,10 +316,17 @@ files:
|
|
308
316
|
- lib/glimmer/libui/shape.rb
|
309
317
|
- lib/glimmer/libui/shape/arc.rb
|
310
318
|
- lib/glimmer/libui/shape/bezier.rb
|
319
|
+
- lib/glimmer/libui/shape/circle.rb
|
311
320
|
- lib/glimmer/libui/shape/figure.rb
|
312
321
|
- lib/glimmer/libui/shape/line.rb
|
313
322
|
- lib/glimmer/libui/shape/rectangle.rb
|
314
323
|
- lib/glimmer/libui/shape/square.rb
|
324
|
+
- sounds/AlanWalker-Faded.mid
|
325
|
+
- sounds/AlanWalker-SingMeToSleep.mid
|
326
|
+
- sounds/CalvinHarris-Blame.mid
|
327
|
+
- sounds/CalvinHarris-MyWay.mid
|
328
|
+
- sounds/deadmau5-2448.mid
|
329
|
+
- sounds/deadmau5-SoThereIWas.mid
|
315
330
|
homepage: http://github.com/AndyObtiva/glimmer-dsl-libui
|
316
331
|
licenses:
|
317
332
|
- MIT
|