Skip to content

Commit 47198e7

Browse files
committed
adjust examples for latest version
1 parent d0b8bb6 commit 47198e7

File tree

7 files changed

+3
-12
lines changed

7 files changed

+3
-12
lines changed

external_library/gem/skatolo/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# skatolo
22

33
### Skatolo is a GUI library for Processing, forked from [ControlP5](https://github.com/sojamo/controlp5)
4-
See repo on [github](https://github.com/Rea-lity-Tech/Skatolo) to run these examples you require gem version 1.1.4+ (if only 1.1.3 version is available from rubygems then clone repo to build)
4+
See repo on [github](https://github.com/Rea-lity-Tech/Skatolo) to run these examples you require gem version 1.1.5+ (if only 1.1.3 version is available from rubygems then clone repo to build)
55

66
### About
77

8-
The skatolo java library was developed for an [advanced use of ControlP5](https://github.com/poqudrof/PapARt), it is not as convenient to use. It is a part of a research and development project involving multi-touch, augmented reality and Ruby. However it has also been adapted to work easily with JRubyArt (and hence propane). The skatolo library is developed by [Jeremy Laviole](http://jeremy.laviole.name/).
8+
The skatolo java library was developed for an [advanced use of ControlP5](https://github.com/poqudrof/PapARt), it is not as convenient to use. It is a part of a research and development project involving multi-touch, augmented reality and Ruby. However it has also been adapted to work easily with JRubyArt. The skatolo library is developed by [Jeremy Laviole](http://jeremy.laviole.name/).
99

1010
#### Sliders
1111

@@ -17,4 +17,4 @@ If you name the button 'my_method' you will be able create a method `:my_method`
1717

1818
### Usage
1919

20-
Sketches need to `require 'skatolo'`, and `include EventMethod`, otherwise usage is similar to ControlP5 except `Skatolo.new(self)` instead of `ControlP5.new(self)`
20+
Sketch usage is similar to ControlP5 except `Skatolo.new(self)` instead of `ControlP5.new(self)`

external_library/gem/skatolo/button_group.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
# and group them, then add the group to the accordion widget
44
# named buttons 'red_color' ... thanks to some fancy metaprogramming
55
# we can create methods :red_color, :green_color and :blue_color buttons
6-
7-
include EventMethod
86
COLOR = %w[Red Green Blue].freeze
97

108
attr_reader :skatolo, :back_color

external_library/gem/skatolo/buttons.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
# In this simple sketch we attach two buttons to skatolo in the regular way,
33
# named buttons 'press_me' and 'reset' thanks to some fancy metaprogramming
44
# we can create methods :press_me and :reset for the buttons
5-
6-
include EventMethod
75
attr_reader :skatolo, :back_color
86

97
def settings

external_library/gem/skatolo/jwishy.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
require 'skatolo'
2-
include EventMethod
32

43
VIEWPORT_W = 600
54
VIEWPORT_H = 600

external_library/gem/skatolo/slider.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# In this simple sketch we attach a slider to skatolo in the regular way, with
33
# a named slider 'background_color' and thanks to some fancy metaprogramming
44
# we can read the result from background_color_value in the sketch
5-
include EventMethod
65
attr_reader :skatolo
76

87
def settings

external_library/gem/skatolo/slider_group.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
# In this simple sketch we attach three sliders to skatolo in the regular way,
33
# then group them and attach to an accordion widget, the slider values are sent
44
# (auto-magically) to the sketch as red_value, green_value and blue_value
5-
6-
include EventMethod
75
attr_reader :skatolo, :back_color
86

97
def settings

external_library/gem/skatolo/text_box.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# In this simple sketch we attach a button to skatolo in the regular way,
33
# and textfield widget. We can create a method :press_me and print the value of
44
# the textfield, ps: make sure you do return on texfield entry
5-
include EventMethod
65
attr_reader :skatolo, :back_color, :font, :name
76

87
def settings

0 commit comments

Comments
 (0)