fidgit 0.0.2alpha
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.
- data/.gitignore +8 -0
- data/.rspec +2 -0
- data/COPYING.txt +674 -0
- data/Gemfile +4 -0
- data/README.textile +138 -0
- data/Rakefile +38 -0
- data/config/default_schema.yml +180 -0
- data/examples/_all_examples.rb +9 -0
- data/examples/align_example.rb +56 -0
- data/examples/button_and_toggle_button_example.rb +27 -0
- data/examples/color_picker_example.rb +17 -0
- data/examples/color_well_example.rb +25 -0
- data/examples/combo_box_example.rb +24 -0
- data/examples/file_dialog_example.rb +42 -0
- data/examples/grid_packer_example.rb +29 -0
- data/examples/helpers/example_window.rb +17 -0
- data/examples/label_example.rb +17 -0
- data/examples/list_example.rb +23 -0
- data/examples/media/images/head_icon.png +0 -0
- data/examples/menu_pane_example.rb +27 -0
- data/examples/message_dialog_example.rb +65 -0
- data/examples/radio_button_example.rb +37 -0
- data/examples/readme_example.rb +32 -0
- data/examples/scroll_window_example.rb +49 -0
- data/examples/slider_example.rb +30 -0
- data/examples/splash_example.rb +42 -0
- data/examples/text_area_example.rb +28 -0
- data/fidgit.gemspec +28 -0
- data/lib/fidgit.rb +4 -0
- data/lib/fidgit/chingu_ext/window.rb +6 -0
- data/lib/fidgit/clipboard.rb +23 -0
- data/lib/fidgit/cursor.rb +38 -0
- data/lib/fidgit/elements/button.rb +68 -0
- data/lib/fidgit/elements/color_picker.rb +63 -0
- data/lib/fidgit/elements/color_well.rb +39 -0
- data/lib/fidgit/elements/combo_box.rb +85 -0
- data/lib/fidgit/elements/composite.rb +17 -0
- data/lib/fidgit/elements/container.rb +187 -0
- data/lib/fidgit/elements/element.rb +252 -0
- data/lib/fidgit/elements/file_browser.rb +152 -0
- data/lib/fidgit/elements/grid_packer.rb +219 -0
- data/lib/fidgit/elements/group.rb +66 -0
- data/lib/fidgit/elements/horizontal_packer.rb +12 -0
- data/lib/fidgit/elements/label.rb +77 -0
- data/lib/fidgit/elements/list.rb +47 -0
- data/lib/fidgit/elements/menu_pane.rb +149 -0
- data/lib/fidgit/elements/packer.rb +42 -0
- data/lib/fidgit/elements/radio_button.rb +86 -0
- data/lib/fidgit/elements/scroll_area.rb +75 -0
- data/lib/fidgit/elements/scroll_bar.rb +114 -0
- data/lib/fidgit/elements/scroll_window.rb +92 -0
- data/lib/fidgit/elements/slider.rb +119 -0
- data/lib/fidgit/elements/text_area.rb +351 -0
- data/lib/fidgit/elements/toggle_button.rb +67 -0
- data/lib/fidgit/elements/tool_tip.rb +35 -0
- data/lib/fidgit/elements/vertical_packer.rb +12 -0
- data/lib/fidgit/event.rb +99 -0
- data/lib/fidgit/gosu_ext/color.rb +123 -0
- data/lib/fidgit/history.rb +85 -0
- data/lib/fidgit/redirector.rb +83 -0
- data/lib/fidgit/schema.rb +123 -0
- data/lib/fidgit/selection.rb +106 -0
- data/lib/fidgit/standard_ext/hash.rb +21 -0
- data/lib/fidgit/states/dialog_state.rb +42 -0
- data/lib/fidgit/states/file_dialog.rb +24 -0
- data/lib/fidgit/states/gui_state.rb +301 -0
- data/lib/fidgit/states/message_dialog.rb +61 -0
- data/lib/fidgit/thumbnail.rb +29 -0
- data/lib/fidgit/version.rb +5 -0
- data/lib/fidgit/window.rb +19 -0
- data/media/images/arrow.png +0 -0
- data/media/images/file_directory.png +0 -0
- data/media/images/file_file.png +0 -0
- data/media/images/pixel.png +0 -0
- data/spec/fidgit/elements/helpers/helper.rb +3 -0
- data/spec/fidgit/elements/label_spec.rb +49 -0
- data/spec/fidgit/event_spec.rb +149 -0
- data/spec/fidgit/gosu_ext/color_spec.rb +130 -0
- data/spec/fidgit/gosu_ext/helpers/helper.rb +3 -0
- data/spec/fidgit/helpers/helper.rb +4 -0
- data/spec/fidgit/helpers/tex_play_helper.rb +9 -0
- data/spec/fidgit/history_spec.rb +144 -0
- data/spec/fidgit/redirector_spec.rb +78 -0
- data/spec/fidgit/schema_spec.rb +67 -0
- data/spec/fidgit/schema_test.yml +32 -0
- data/spec/fidgit/thumbnail_spec.rb +50 -0
- metadata +177 -0
@@ -0,0 +1,144 @@
|
|
1
|
+
require_relative 'helpers/helper'
|
2
|
+
|
3
|
+
require 'history'
|
4
|
+
|
5
|
+
module Fidgit
|
6
|
+
class History
|
7
|
+
class Maths < Action
|
8
|
+
def initialize(value)
|
9
|
+
@value = value
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
class Add < Maths
|
14
|
+
def do
|
15
|
+
$x += @value
|
16
|
+
end
|
17
|
+
|
18
|
+
def undo
|
19
|
+
$x -= @value
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
class Sub < Maths
|
24
|
+
def do
|
25
|
+
$x -= @value
|
26
|
+
end
|
27
|
+
|
28
|
+
def undo
|
29
|
+
$x += @value
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe History do
|
35
|
+
before :each do
|
36
|
+
$x = 0 # Used as target of test action.
|
37
|
+
@object = described_class.new
|
38
|
+
end
|
39
|
+
|
40
|
+
describe "initialize()" do
|
41
|
+
it "should produce an object that is not undoable or redoable" do
|
42
|
+
@object.can_undo?.should be_false
|
43
|
+
@object.can_redo?.should be_false
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe "do()" do
|
48
|
+
it "should raise an error if the parameter is incorrect" do
|
49
|
+
lambda { @object.do(12) }.should raise_error ArgumentError
|
50
|
+
end
|
51
|
+
|
52
|
+
it "should perform the action's do() method correctly" do
|
53
|
+
@object.do(History::Add.new(2))
|
54
|
+
|
55
|
+
$x.should == 2
|
56
|
+
@object.can_undo?.should be_true
|
57
|
+
@object.can_redo?.should be_false
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
describe "undo()" do
|
62
|
+
it "should raise an error if there is nothing to undo" do
|
63
|
+
lambda { @object.undo }.should raise_error
|
64
|
+
end
|
65
|
+
|
66
|
+
it "should perform the undo method on the action" do
|
67
|
+
@object.do(History::Add.new(2))
|
68
|
+
@object.undo
|
69
|
+
|
70
|
+
$x.should == 0
|
71
|
+
@object.can_undo?.should be_false
|
72
|
+
@object.can_redo?.should be_true
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe "redo()" do
|
77
|
+
it "should raise an error if there is nothing to redo" do
|
78
|
+
lambda { @object.redo }.should raise_error
|
79
|
+
end
|
80
|
+
|
81
|
+
it "should perform the undo method on the action" do
|
82
|
+
@object.do(History::Add.new(2))
|
83
|
+
@object.undo
|
84
|
+
@object.redo
|
85
|
+
|
86
|
+
$x.should == 2
|
87
|
+
@object.can_undo?.should be_true
|
88
|
+
@object.can_redo?.should be_false
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
describe "replace_last()" do
|
93
|
+
it "should raise an error if there is nothing to redo" do
|
94
|
+
lambda { @object.replace_last(12) }.should raise_error ArgumentError
|
95
|
+
end
|
96
|
+
|
97
|
+
it "should raise an error if there is nothing to replace" do
|
98
|
+
lambda { @object.replace_last(History::Add2.new) }.should raise_error
|
99
|
+
end
|
100
|
+
|
101
|
+
it "should correctly replace the last action" do
|
102
|
+
@object.do(History::Add.new(2))
|
103
|
+
@object.replace_last(History::Sub.new(1))
|
104
|
+
|
105
|
+
$x.should == -1
|
106
|
+
@object.can_redo?.should be_false
|
107
|
+
@object.can_undo?.should be_true
|
108
|
+
end
|
109
|
+
|
110
|
+
it "should not remove redoable actions" do
|
111
|
+
@object.do(History::Add.new(2))
|
112
|
+
@object.do(History::Add.new(8))
|
113
|
+
@object.undo
|
114
|
+
@object.replace_last(History::Sub.new(1))
|
115
|
+
|
116
|
+
$x.should == -1
|
117
|
+
@object.can_redo?.should be_true
|
118
|
+
@object.can_undo?.should be_true
|
119
|
+
|
120
|
+
@object.redo
|
121
|
+
$x.should == 7
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
# Abstract class, so doesn't really do anything.
|
126
|
+
describe History::Action do
|
127
|
+
before :each do
|
128
|
+
@object = described_class.new
|
129
|
+
end
|
130
|
+
|
131
|
+
describe "do()" do
|
132
|
+
it "should raise an error" do
|
133
|
+
lambda { @object.do }.should raise_error NotImplementedError
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
137
|
+
describe "undo()" do
|
138
|
+
it "should raise an error" do
|
139
|
+
lambda { @object.undo }.should raise_error NotImplementedError
|
140
|
+
end
|
141
|
+
end
|
142
|
+
end
|
143
|
+
end
|
144
|
+
end
|
@@ -0,0 +1,78 @@
|
|
1
|
+
require_relative 'helpers/helper'
|
2
|
+
|
3
|
+
require 'redirector'
|
4
|
+
|
5
|
+
include Fidgit
|
6
|
+
|
7
|
+
describe RedirectorMethods do
|
8
|
+
describe "::Object" do
|
9
|
+
subject { Object.new }
|
10
|
+
|
11
|
+
describe '#instance_methods_eval' do
|
12
|
+
it "should fail if a block is not provided" do
|
13
|
+
->{ subject.instance_methods_eval }.should raise_error
|
14
|
+
end
|
15
|
+
|
16
|
+
it "should yield the target" do
|
17
|
+
subject.instance_methods_eval { |target| @frog = target }
|
18
|
+
@frog.should equal subject
|
19
|
+
end
|
20
|
+
|
21
|
+
it "should allow ivars to be read from the calling context" do
|
22
|
+
@frog = 5
|
23
|
+
fish = 0
|
24
|
+
subject.instance_methods_eval { fish = @frog }
|
25
|
+
fish.should equal 5
|
26
|
+
end
|
27
|
+
|
28
|
+
it "should allow ivars to be written to the calling context" do
|
29
|
+
subject.instance_methods_eval { @frog = 10 }
|
30
|
+
@frog.should equal 10
|
31
|
+
end
|
32
|
+
|
33
|
+
it "should not allow access to ivars in the subject" do
|
34
|
+
subject.instance_variable_set :@frog, 5
|
35
|
+
fish = 0
|
36
|
+
subject.instance_methods_eval { fish = @frog }
|
37
|
+
fish.should be_nil
|
38
|
+
end
|
39
|
+
|
40
|
+
it "should allow access to methods in the subject" do
|
41
|
+
subject.should_receive(:frog)
|
42
|
+
subject.instance_methods_eval { frog }
|
43
|
+
end
|
44
|
+
|
45
|
+
it "should allow stacked calls" do
|
46
|
+
object1 = Object.new
|
47
|
+
should_not_receive :frog
|
48
|
+
object1.should_not_receive :frog
|
49
|
+
subject.should_receive :frog
|
50
|
+
|
51
|
+
object1.instance_methods_eval do
|
52
|
+
subject.instance_methods_eval do
|
53
|
+
frog
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
it "should fail if method does not exist on the subject or context" do
|
59
|
+
->{ subject.instance_methods_eval { frog } }.should raise_error NameError
|
60
|
+
end
|
61
|
+
|
62
|
+
it "should call the method on the context, if it doesn't exist on the subject" do
|
63
|
+
should_receive(:frog)
|
64
|
+
subject.instance_methods_eval { frog }
|
65
|
+
end
|
66
|
+
|
67
|
+
[:public, :protected, :private].each do |access|
|
68
|
+
it "should preserve #{access} access for methods redirected on the context" do
|
69
|
+
class << self; def frog; end; end
|
70
|
+
(class << self; self; end).send access, :frog
|
71
|
+
subject.should_receive :frog
|
72
|
+
subject.instance_methods_eval { frog }
|
73
|
+
(send "#{access}_methods").should include :frog
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
@@ -0,0 +1,67 @@
|
|
1
|
+
require_relative 'helpers/helper'
|
2
|
+
|
3
|
+
require 'fidgit'
|
4
|
+
|
5
|
+
SCHEMA_FILE_NAME = File.expand_path(File.join(__FILE__, '..', 'schema_test.yml'))
|
6
|
+
|
7
|
+
include Fidgit
|
8
|
+
|
9
|
+
describe Schema do
|
10
|
+
subject { Schema.new(Hash.new) }
|
11
|
+
|
12
|
+
context "given the default schema" do
|
13
|
+
subject { Schema.new(YAML.load(File.read(SCHEMA_FILE_NAME))) }
|
14
|
+
|
15
|
+
describe "#constant" do
|
16
|
+
it "should have the constant :scroll_bar_thickness" do
|
17
|
+
subject.constant(:scroll_bar_thickness).should equal 12
|
18
|
+
end
|
19
|
+
|
20
|
+
it "should have the color constant :none" do
|
21
|
+
subject.constant(:none).should eq Gosu::Color.rgba(0, 0, 0, 0)
|
22
|
+
end
|
23
|
+
|
24
|
+
it "should have the color constant :white" do
|
25
|
+
subject.constant(:white).should eq Gosu::Color.rgb(255, 255, 255)
|
26
|
+
end
|
27
|
+
|
28
|
+
it "should not have the constant :moon_cow_height" do
|
29
|
+
subject.constant(:moon_cow_height).should be_nil
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
describe "#default" do
|
34
|
+
it "should fail if the class given is not an Element" do
|
35
|
+
->{ subject.default(String, :frog) }.should raise_error ArgumentError
|
36
|
+
end
|
37
|
+
|
38
|
+
it "should fail if the value is not ever defined" do
|
39
|
+
->{ subject.default(Element, :knee_walking_turkey) }.should raise_error
|
40
|
+
end
|
41
|
+
|
42
|
+
it "should give the correct value for a defined color" do
|
43
|
+
subject.default(Element, :color).should eq Gosu::Color.rgb(255, 255, 255)
|
44
|
+
end
|
45
|
+
|
46
|
+
it "should give the symbol name if the value is one" do
|
47
|
+
subject.default(Element, :align_h).should be :left
|
48
|
+
end
|
49
|
+
|
50
|
+
it "should give the correct value for a defined constant" do
|
51
|
+
subject.default(VerticalScrollBar, :width).should equal 12
|
52
|
+
end
|
53
|
+
|
54
|
+
it "should give the correct value for a color defined in an ancestor class" do
|
55
|
+
subject.default(Label, :color).should eq Gosu::Color.rgb(255, 255, 255)
|
56
|
+
end
|
57
|
+
|
58
|
+
it "should give the correct value for a defined nested value" do
|
59
|
+
subject.default(Fidgit::Button, [:disabled, :background_color]).should eq Gosu::Color.rgb(50, 50, 50)
|
60
|
+
end
|
61
|
+
|
62
|
+
it "should give the outer value for an undefined nested value" do
|
63
|
+
subject.default(Element, [:hover, :color]).should eq Gosu::Color.rgb(255, 255, 255)
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# Test case schema
|
2
|
+
---
|
3
|
+
|
4
|
+
# Define all constant values here. For colours, use [R, G, B] or [R, G, B, A].
|
5
|
+
# Reference constants with ?constant_name
|
6
|
+
:constants:
|
7
|
+
# General constants (strings and numbers).
|
8
|
+
:scroll_bar_thickness: 12
|
9
|
+
|
10
|
+
# Gosu::Color constants
|
11
|
+
:none: [0, 0, 0, 0]
|
12
|
+
:white: [255, 255, 255]
|
13
|
+
:gray: [100, 100, 100]
|
14
|
+
:dark_gray: [50, 50, 50]
|
15
|
+
|
16
|
+
# Default element attributes.
|
17
|
+
:elements:
|
18
|
+
:Button:
|
19
|
+
:background_color: ?gray
|
20
|
+
|
21
|
+
:disabled:
|
22
|
+
:background_color: ?dark_gray
|
23
|
+
|
24
|
+
:Element:
|
25
|
+
:color: ?white
|
26
|
+
:align_h: :left
|
27
|
+
|
28
|
+
:HorizontalScrollBar:
|
29
|
+
:height: ?scroll_bar_thickness
|
30
|
+
|
31
|
+
:VerticalScrollBar:
|
32
|
+
:width: ?scroll_bar_thickness
|
@@ -0,0 +1,50 @@
|
|
1
|
+
require_relative 'helpers/helper'
|
2
|
+
require_relative 'helpers/tex_play_helper'
|
3
|
+
|
4
|
+
require 'fidgit'
|
5
|
+
|
6
|
+
def check_thumbnail_is_square(dimension)
|
7
|
+
{square: [10, 10], tall: [5, 12], wide: [6, 5]}.each_pair do |type, dimensions|
|
8
|
+
context "with a #{type} image" do
|
9
|
+
it "should be square and just large enough to contain the image" do
|
10
|
+
subject = described_class.new(Image.create(*dimensions))
|
11
|
+
subject.width.should equal dimensions.max
|
12
|
+
subject.height.should equal dimensions.max
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
module Fidgit
|
19
|
+
describe Thumbnail do
|
20
|
+
before :all do
|
21
|
+
$window = Chingu::Window.new(100, 100, false)
|
22
|
+
@image = Image.create(10, 10)
|
23
|
+
end
|
24
|
+
|
25
|
+
subject { Thumbnail.new(@image) }
|
26
|
+
|
27
|
+
describe '#image' do
|
28
|
+
it "should have the image set" do
|
29
|
+
subject.image.should be @image
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
describe '#image=' do
|
34
|
+
it "should update the height and width" do
|
35
|
+
image = Image.create(8, 2)
|
36
|
+
subject.image = image
|
37
|
+
subject.height.should equal 8
|
38
|
+
subject.width.should equal 8
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe '#width' do
|
43
|
+
check_thumbnail_is_square :width
|
44
|
+
end
|
45
|
+
|
46
|
+
describe '#height' do
|
47
|
+
check_thumbnail_is_square :height
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
metadata
ADDED
@@ -0,0 +1,177 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: fidgit
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2alpha
|
5
|
+
prerelease: 5
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Bil Bas (Spooner)
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2011-03-20 00:00:00.000000000 +00:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: gosu
|
17
|
+
requirement: &26569020 !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '0'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: *26569020
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: chingu
|
28
|
+
requirement: &26568636 !ruby/object:Gem::Requirement
|
29
|
+
none: false
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: *26568636
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: rspec
|
39
|
+
requirement: &26568156 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ! '>='
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '0'
|
45
|
+
type: :development
|
46
|
+
prerelease: false
|
47
|
+
version_requirements: *26568156
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: texplay
|
50
|
+
requirement: &26567820 !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
52
|
+
requirements:
|
53
|
+
- - ! '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
type: :development
|
57
|
+
prerelease: false
|
58
|
+
version_requirements: *26567820
|
59
|
+
description: Fidgit is a GUI library built on Gosu/Chingu
|
60
|
+
email:
|
61
|
+
- bil.bagpuss@gmail.com
|
62
|
+
executables: []
|
63
|
+
extensions: []
|
64
|
+
extra_rdoc_files: []
|
65
|
+
files:
|
66
|
+
- .gitignore
|
67
|
+
- .rspec
|
68
|
+
- COPYING.txt
|
69
|
+
- Gemfile
|
70
|
+
- README.textile
|
71
|
+
- Rakefile
|
72
|
+
- config/default_schema.yml
|
73
|
+
- examples/_all_examples.rb
|
74
|
+
- examples/align_example.rb
|
75
|
+
- examples/button_and_toggle_button_example.rb
|
76
|
+
- examples/color_picker_example.rb
|
77
|
+
- examples/color_well_example.rb
|
78
|
+
- examples/combo_box_example.rb
|
79
|
+
- examples/file_dialog_example.rb
|
80
|
+
- examples/grid_packer_example.rb
|
81
|
+
- examples/helpers/example_window.rb
|
82
|
+
- examples/label_example.rb
|
83
|
+
- examples/list_example.rb
|
84
|
+
- examples/media/images/head_icon.png
|
85
|
+
- examples/menu_pane_example.rb
|
86
|
+
- examples/message_dialog_example.rb
|
87
|
+
- examples/radio_button_example.rb
|
88
|
+
- examples/readme_example.rb
|
89
|
+
- examples/scroll_window_example.rb
|
90
|
+
- examples/slider_example.rb
|
91
|
+
- examples/splash_example.rb
|
92
|
+
- examples/text_area_example.rb
|
93
|
+
- fidgit.gemspec
|
94
|
+
- lib/fidgit.rb
|
95
|
+
- lib/fidgit/chingu_ext/window.rb
|
96
|
+
- lib/fidgit/clipboard.rb
|
97
|
+
- lib/fidgit/cursor.rb
|
98
|
+
- lib/fidgit/elements/button.rb
|
99
|
+
- lib/fidgit/elements/color_picker.rb
|
100
|
+
- lib/fidgit/elements/color_well.rb
|
101
|
+
- lib/fidgit/elements/combo_box.rb
|
102
|
+
- lib/fidgit/elements/composite.rb
|
103
|
+
- lib/fidgit/elements/container.rb
|
104
|
+
- lib/fidgit/elements/element.rb
|
105
|
+
- lib/fidgit/elements/file_browser.rb
|
106
|
+
- lib/fidgit/elements/grid_packer.rb
|
107
|
+
- lib/fidgit/elements/group.rb
|
108
|
+
- lib/fidgit/elements/horizontal_packer.rb
|
109
|
+
- lib/fidgit/elements/label.rb
|
110
|
+
- lib/fidgit/elements/list.rb
|
111
|
+
- lib/fidgit/elements/menu_pane.rb
|
112
|
+
- lib/fidgit/elements/packer.rb
|
113
|
+
- lib/fidgit/elements/radio_button.rb
|
114
|
+
- lib/fidgit/elements/scroll_area.rb
|
115
|
+
- lib/fidgit/elements/scroll_bar.rb
|
116
|
+
- lib/fidgit/elements/scroll_window.rb
|
117
|
+
- lib/fidgit/elements/slider.rb
|
118
|
+
- lib/fidgit/elements/text_area.rb
|
119
|
+
- lib/fidgit/elements/toggle_button.rb
|
120
|
+
- lib/fidgit/elements/tool_tip.rb
|
121
|
+
- lib/fidgit/elements/vertical_packer.rb
|
122
|
+
- lib/fidgit/event.rb
|
123
|
+
- lib/fidgit/gosu_ext/color.rb
|
124
|
+
- lib/fidgit/history.rb
|
125
|
+
- lib/fidgit/redirector.rb
|
126
|
+
- lib/fidgit/schema.rb
|
127
|
+
- lib/fidgit/selection.rb
|
128
|
+
- lib/fidgit/standard_ext/hash.rb
|
129
|
+
- lib/fidgit/states/dialog_state.rb
|
130
|
+
- lib/fidgit/states/file_dialog.rb
|
131
|
+
- lib/fidgit/states/gui_state.rb
|
132
|
+
- lib/fidgit/states/message_dialog.rb
|
133
|
+
- lib/fidgit/thumbnail.rb
|
134
|
+
- lib/fidgit/version.rb
|
135
|
+
- lib/fidgit/window.rb
|
136
|
+
- media/images/arrow.png
|
137
|
+
- media/images/file_directory.png
|
138
|
+
- media/images/file_file.png
|
139
|
+
- media/images/pixel.png
|
140
|
+
- spec/fidgit/elements/helpers/helper.rb
|
141
|
+
- spec/fidgit/elements/label_spec.rb
|
142
|
+
- spec/fidgit/event_spec.rb
|
143
|
+
- spec/fidgit/gosu_ext/color_spec.rb
|
144
|
+
- spec/fidgit/gosu_ext/helpers/helper.rb
|
145
|
+
- spec/fidgit/helpers/helper.rb
|
146
|
+
- spec/fidgit/helpers/tex_play_helper.rb
|
147
|
+
- spec/fidgit/history_spec.rb
|
148
|
+
- spec/fidgit/redirector_spec.rb
|
149
|
+
- spec/fidgit/schema_spec.rb
|
150
|
+
- spec/fidgit/schema_test.yml
|
151
|
+
- spec/fidgit/thumbnail_spec.rb
|
152
|
+
has_rdoc: true
|
153
|
+
homepage: http://github.com/Spooner/fidgit/
|
154
|
+
licenses: []
|
155
|
+
post_install_message:
|
156
|
+
rdoc_options: []
|
157
|
+
require_paths:
|
158
|
+
- lib
|
159
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
160
|
+
none: false
|
161
|
+
requirements:
|
162
|
+
- - ~>
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: 1.9.2
|
165
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
166
|
+
none: false
|
167
|
+
requirements:
|
168
|
+
- - ! '>'
|
169
|
+
- !ruby/object:Gem::Version
|
170
|
+
version: 1.3.1
|
171
|
+
requirements: []
|
172
|
+
rubyforge_project: fidgit
|
173
|
+
rubygems_version: 1.5.2
|
174
|
+
signing_key:
|
175
|
+
specification_version: 3
|
176
|
+
summary: Fidgit is a GUI library built on Gosu/Chingu
|
177
|
+
test_files: []
|