rubydraw 0.2.2.3 → 0.2.2.4a
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rubydraw/keys.rb +10 -0
- metadata +11 -8
data/lib/rubydraw/keys.rb
CHANGED
@@ -90,6 +90,16 @@ module Rubydraw
|
|
90
90
|
CapsLock = SDL::K_CAPSLOCK
|
91
91
|
Backspace = SDL::K_BACKSPACE
|
92
92
|
Delete = SDL::K_DELETE
|
93
|
+
end
|
93
94
|
|
95
|
+
# Provides constants for mouse buttons.
|
96
|
+
module Mouse
|
97
|
+
Left = 1
|
98
|
+
Right = 3
|
99
|
+
Up = 4
|
100
|
+
Down = 5
|
94
101
|
end
|
102
|
+
|
103
|
+
# A sort of alias to Rubydraw::Mouse
|
104
|
+
Ms = Mouse
|
95
105
|
end
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubydraw
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 250
|
5
|
+
prerelease: 7
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
9
|
- 2
|
10
|
-
-
|
11
|
-
|
10
|
+
- 4
|
11
|
+
- a
|
12
|
+
version: 0.2.2.4a
|
12
13
|
platform: ruby
|
13
14
|
authors:
|
14
15
|
- J. Wostenberg
|
@@ -102,12 +103,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
102
103
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
104
|
none: false
|
104
105
|
requirements:
|
105
|
-
- - "
|
106
|
+
- - ">"
|
106
107
|
- !ruby/object:Gem::Version
|
107
|
-
hash:
|
108
|
+
hash: 25
|
108
109
|
segments:
|
109
|
-
-
|
110
|
-
|
110
|
+
- 1
|
111
|
+
- 3
|
112
|
+
- 1
|
113
|
+
version: 1.3.1
|
111
114
|
requirements: []
|
112
115
|
|
113
116
|
rubyforge_project:
|