skatolo 0.7.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/skatolo.rb +10 -11
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16d29026779bb17d14b21dc2be6381d93e57a2de
|
4
|
+
data.tar.gz: 1050876f1692598ec8b69f49d2c62b9ae1d40cf6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab5b772686fe968ac511d6674bf505c553bed2b5415a84bb15173424bc530fc344ef64b91afadbfd5c97c3c2e44beb1dc4810ca674ae0e3e579c87b8d877457b
|
7
|
+
data.tar.gz: 4a81f43d5d7176945dce439cb051c285d8721a32649e616213084154bfecbbf2e74feb4f8fee38bc61aaaf4a1c8b506118fc47b397bdc49a32d39a57263ec69b
|
data/lib/skatolo.rb
CHANGED
@@ -1,18 +1,15 @@
|
|
1
1
|
require 'jruby/core_ext'
|
2
2
|
|
3
|
+
# TODO: follow the toxicgem and geomerativgem examples.
|
3
4
|
Processing::App.load_library :skatolo
|
4
5
|
|
5
|
-
# module skatolo
|
6
|
-
# include_package 'fr.inria.papart.skatolo'
|
7
|
-
# end
|
8
|
-
|
9
6
|
class EventHandler
|
10
7
|
|
11
8
|
def initialize skatolo
|
12
9
|
@skatolo = skatolo
|
13
10
|
end
|
14
11
|
|
15
|
-
java_signature 'void controlEvent(
|
12
|
+
java_signature 'void controlEvent(tech.lity.rea.skatolo.events.ControlEvent)'
|
16
13
|
def controlEvent(controlEvent)
|
17
14
|
@skatolo.send_event_to_sketch controlEvent
|
18
15
|
end
|
@@ -20,7 +17,7 @@ class EventHandler
|
|
20
17
|
EventHandler.become_java!
|
21
18
|
end
|
22
19
|
|
23
|
-
class Skatolo < Java::
|
20
|
+
class Skatolo < Java::TechLityReaSkatolo::Skatolo
|
24
21
|
|
25
22
|
def initialize (applet, events_object = nil)
|
26
23
|
@event_handler = EventHandler.new self
|
@@ -124,17 +121,19 @@ class Skatolo < Java::FrInriaSkatolo::Skatolo
|
|
124
121
|
|
125
122
|
|
126
123
|
def is_event_class object_class
|
127
|
-
object_class == Java::
|
128
|
-
object_class == Java::
|
124
|
+
object_class == Java::TechLityReaSkatoloGuiControllers::Button or
|
125
|
+
object_class == Java::TechLityReaSkatoloGuiControllers::HoverButton or
|
126
|
+
object_class == Java::TechLityReaSkatoloGuiControllers::Bang
|
129
127
|
end
|
130
128
|
|
131
129
|
def is_value_class object_class
|
132
|
-
object_class == Java::
|
133
|
-
object_class == Java::
|
130
|
+
object_class == Java::TechLityReaSkatoloGuiControllers::Slider or
|
131
|
+
object_class == Java::TechLityReaSkatoloGuiControllers::HoverToggle or
|
132
|
+
object_class == Java::TechLityReaSkatoloGuiControllers::Numberbox
|
134
133
|
end
|
135
134
|
|
136
135
|
def is_string_value_class object_class
|
137
|
-
object_class == Java::
|
136
|
+
object_class == Java::TechLityReaSkatoloGuiControllers::Textfield
|
138
137
|
end
|
139
138
|
|
140
139
|
|
metadata
CHANGED
@@ -1,16 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: skatolo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Laviole
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
+
name: jruby_art
|
14
15
|
requirement: !ruby/object:Gem::Requirement
|
15
16
|
requirements:
|
16
17
|
- - "~>"
|
@@ -19,9 +20,8 @@ dependencies:
|
|
19
20
|
- - ">="
|
20
21
|
- !ruby/object:Gem::Version
|
21
22
|
version: 1.2.4
|
22
|
-
name: jruby_art
|
23
|
-
prerelease: false
|
24
23
|
type: :runtime
|
24
|
+
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - "~>"
|
@@ -32,17 +32,17 @@ dependencies:
|
|
32
32
|
version: 1.2.4
|
33
33
|
description: 'Based on ControlP5 for new purposes and JRubyArt. Only works with JrubyArt
|
34
34
|
and require Skatolo library to be installed in Processing. '
|
35
|
-
email:
|
35
|
+
email: laviole@rea.lity.tech
|
36
36
|
executables: []
|
37
37
|
extensions: []
|
38
38
|
extra_rdoc_files: []
|
39
39
|
files:
|
40
40
|
- lib/skatolo.rb
|
41
|
-
homepage: https://github.com/
|
41
|
+
homepage: https://github.com/Rea-lity-Tech/skatolo
|
42
42
|
licenses:
|
43
43
|
- LGPL
|
44
44
|
metadata: {}
|
45
|
-
post_install_message:
|
45
|
+
post_install_message:
|
46
46
|
rdoc_options: []
|
47
47
|
require_paths:
|
48
48
|
- lib
|
@@ -57,9 +57,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
57
57
|
- !ruby/object:Gem::Version
|
58
58
|
version: '0'
|
59
59
|
requirements: []
|
60
|
-
rubyforge_project:
|
61
|
-
rubygems_version: 2.6.
|
62
|
-
signing_key:
|
60
|
+
rubyforge_project:
|
61
|
+
rubygems_version: 2.6.8
|
62
|
+
signing_key:
|
63
63
|
specification_version: 4
|
64
64
|
summary: Skatolo - Gui library for jruby_art
|
65
65
|
test_files: []
|