pimento 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -0
- data/{spec/spec.opts → .rspec} +0 -0
- data/Gemfile +4 -0
- data/README.rdoc +6 -5
- data/Rakefile +6 -41
- data/examples/banner.rb +74 -0
- data/lib/pimento.rb +4 -2
- data/lib/pimento/canvas.rb +55 -13
- data/lib/pimento/component.rb +69 -0
- data/lib/pimento/component/bevel_button.rb +5 -0
- data/lib/pimento/component/check_box.rb +5 -0
- data/lib/pimento/component/circular_progress_indicator.rb +7 -0
- data/lib/pimento/component/disclosure_button.rb +5 -0
- data/lib/pimento/component/disclosure_triangle.rb +5 -0
- data/lib/pimento/component/help_button.rb +5 -0
- data/lib/pimento/component/horizontal_slider.rb +5 -0
- data/lib/pimento/component/popup_button.rb +5 -0
- data/lib/pimento/component/progress_indicator.rb +7 -0
- data/lib/pimento/component/round_button.rb +5 -0
- data/lib/pimento/component/rounded_rect_button.rb +5 -0
- data/lib/pimento/component/search_field.rb +5 -0
- data/lib/pimento/component/vertical_slider.rb +5 -0
- data/lib/pimento/renderable.rb +8 -0
- data/lib/pimento/util.rb +11 -0
- data/pimento.gemspec +17 -59
- data/spec/fixtures/1dot.xib +207 -222
- data/spec/fixtures/empty.xib +164 -174
- data/spec/pimento_spec.rb +2 -0
- data/spec/spec_helper.rb +7 -4
- data/template/bevel_button_ro.xml.erb +24 -0
- data/template/{canvas.xib.erb → canvas.xml.erb} +15 -52
- data/template/check_box_ro.xml.erb +31 -0
- data/template/circular_progress_indicator_ro.xml.erb +10 -0
- data/template/disclosure_button_ro.xml.erb +44 -0
- data/template/disclosure_triangle_ro.xml.erb +24 -0
- data/template/help_button_ro.xml.erb +24 -0
- data/template/horizontal_slider_ro.xml.erb +27 -0
- data/template/or_1.xml.erb +5 -0
- data/template/or_2.xml.erb +14 -0
- data/template/popup_button_ro.xml.erb +23 -0
- data/template/progress_indicator_ro.xml.erb +10 -0
- data/template/round_button_ro.xml.erb +24 -0
- data/template/rounded_rect_button_ro.xml.erb +24 -0
- data/template/search_field_ro.xml.erb +39 -0
- data/template/vertical_slider_ro.xml.erb +26 -0
- metadata +98 -69
- data/.document +0 -5
- data/examples/hello.rb +0 -32
- data/lib/pimento/dot.rb +0 -12
@@ -0,0 +1,31 @@
|
|
1
|
+
<object class="NSButton" id="<%= options[:id_offset] %>">
|
2
|
+
<reference key="NSNextResponder" ref="1006"/>
|
3
|
+
<int key="NSvFlags">268</int>
|
4
|
+
<string key="NSFrame">{{<%= x - 9 %>, <%= @canvas.height - y - 9 %>}, {18, 18}}</string>
|
5
|
+
<reference key="NSSuperview" ref="1006"/>
|
6
|
+
<bool key="NSEnabled">YES</bool>
|
7
|
+
<object class="NSButtonCell" key="NSCell" id="<%= options[:id_offset] + 1 %>">
|
8
|
+
<int key="NSCellFlags"><%= rand > 0.5 ? 67239424 : -2080244224 %></int>
|
9
|
+
<int key="NSCellFlags2">0</int>
|
10
|
+
<string key="NSContents"></string>
|
11
|
+
<object class="NSFont" key="NSSupport">
|
12
|
+
<string key="NSName">LucidaGrande</string>
|
13
|
+
<double key="NSSize">1.300000e+01</double>
|
14
|
+
<int key="NSfFlags">1044</int>
|
15
|
+
</object>
|
16
|
+
<reference key="NSControlView" ref="<%= options[:id_offset] %>"/>
|
17
|
+
<int key="NSButtonFlags">1211912703</int>
|
18
|
+
<int key="NSButtonFlags2">130</int>
|
19
|
+
<object class="NSCustomResource" key="NSNormalImage">
|
20
|
+
<string key="NSClassName">NSImage</string>
|
21
|
+
<string key="NSResourceName">NSSwitch</string>
|
22
|
+
</object>
|
23
|
+
<object class="NSButtonImageSource" key="NSAlternateImage">
|
24
|
+
<string key="NSImageName">NSSwitch</string>
|
25
|
+
</object>
|
26
|
+
<string key="NSAlternateContents"/>
|
27
|
+
<string key="NSKeyEquivalent"/>
|
28
|
+
<int key="NSPeriodicDelay">200</int>
|
29
|
+
<int key="NSPeriodicInterval">25</int>
|
30
|
+
</object>
|
31
|
+
</object>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<object class="NSProgressIndicator" id="<%= options[:id_offset] %>">
|
2
|
+
<reference key="NSNextResponder" ref="1006"/>
|
3
|
+
<int key="NSvFlags">1292</int>
|
4
|
+
<object class="NSPSMatrix" key="NSDrawMatrix"/>
|
5
|
+
<string key="NSFrame">{{<%= x - 8 %>, <%= @canvas.height - y - 8 %>}, {16, 16}}</string>
|
6
|
+
<reference key="NSSuperview" ref="1006"/>
|
7
|
+
<int key="NSpiFlags">20746</int>
|
8
|
+
<double key="NSMinValue">1.600000e+01</double>
|
9
|
+
<double key="NSMaxValue">1.000000e+02</double>
|
10
|
+
</object>
|
@@ -0,0 +1,44 @@
|
|
1
|
+
<object class="NSButton" id="<%= options[:id_offset] %>">
|
2
|
+
<reference key="NSNextResponder" ref="1006"/>
|
3
|
+
<int key="NSvFlags">268</int>
|
4
|
+
<string key="NSFrame">{{<%= x - 14 %>, <%= @canvas.height - y - 13 %>}, {29, 26}}</string>
|
5
|
+
<reference key="NSSuperview" ref="1006"/>
|
6
|
+
<bool key="NSEnabled">YES</bool>
|
7
|
+
<object class="NSButtonCell" key="NSCell" id="<%= options[:id_offset] + 1 %>">
|
8
|
+
<int key="NSCellFlags"><%= rand > 0.5 ? 67239424 : -2080244224 %></int>
|
9
|
+
<int key="NSCellFlags2">134217728</int>
|
10
|
+
<string key="NSContents"/>
|
11
|
+
<object class="NSFont" key="NSSupport">
|
12
|
+
<string key="NSName">LucidaGrande</string>
|
13
|
+
<double key="NSSize">1.300000e+01</double>
|
14
|
+
<int key="NSfFlags">1044</int>
|
15
|
+
</object>
|
16
|
+
<reference key="NSControlView" ref="<%= options[:id_offset] %>"/>
|
17
|
+
<int key="NSButtonFlags">918831359</int>
|
18
|
+
<int key="NSButtonFlags2">166</int>
|
19
|
+
<object class="NSImage" key="NSNormalImage">
|
20
|
+
<int key="NSImageFlags">549650432</int>
|
21
|
+
<string key="NSSize">{1, 1}</string>
|
22
|
+
<object class="NSMutableArray" key="NSReps">
|
23
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
24
|
+
<object class="NSArray">
|
25
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
26
|
+
<integer value="0"/>
|
27
|
+
<object class="NSBitmapImageRep">
|
28
|
+
<object class="NSData" key="NSTIFFRepresentation">
|
29
|
+
<bytes key="NS.bytes">TU0AKgAAAAoAAAANAQAAAwAAAAEAAQAAAQEAAwAAAAEAAQAAAQIAAwAAAAIACAAIAQMAAwAAAAEAAQAAAQYAAwAAAAEAAQAAAREABAAAAAEAAAAIARIAAwAAAAEAAQAAARUAAwAAAAEAAgAAARYAAwAAAAEgAAAAARcABAAAAAEAAAACARwAAwAAAAEAAQAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
|
30
|
+
</object>
|
31
|
+
</object>
|
32
|
+
</object>
|
33
|
+
</object>
|
34
|
+
<object class="NSColor" key="NSColor">
|
35
|
+
<int key="NSColorSpace">3</int>
|
36
|
+
<bytes key="NSWhite">MCAwAA</bytes>
|
37
|
+
</object>
|
38
|
+
</object>
|
39
|
+
<string key="NSAlternateContents"/>
|
40
|
+
<string key="NSKeyEquivalent"/>
|
41
|
+
<int key="NSPeriodicDelay">400</int>
|
42
|
+
<int key="NSPeriodicInterval">75</int>
|
43
|
+
</object>
|
44
|
+
</object>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<object class="NSButton" id="<%= options[:id_offset] %>">
|
2
|
+
<reference key="NSNextResponder" ref="1006"/>
|
3
|
+
<int key="NSvFlags">268</int>
|
4
|
+
<string key="NSFrame">{{<%= x - 6 %>, <%= @canvas.height - y - 6 %>}, {13, 14}}</string>
|
5
|
+
<reference key="NSSuperview" ref="1006"/>
|
6
|
+
<bool key="NSEnabled">YES</bool>
|
7
|
+
<object class="NSButtonCell" key="NSCell" id="<%= options[:id_offset] + 1 %>">
|
8
|
+
<int key="NSCellFlags"><%= rand > 0.5 ? 67239424 : -2080244224 %></int>
|
9
|
+
<int key="NSCellFlags2">0</int>
|
10
|
+
<string key="NSContents"/>
|
11
|
+
<object class="NSFont" key="NSSupport">
|
12
|
+
<string key="NSName">LucidaGrande</string>
|
13
|
+
<double key="NSSize">1.300000e+01</double>
|
14
|
+
<int key="NSfFlags">1044</int>
|
15
|
+
</object>
|
16
|
+
<reference key="NSControlView" ref="<%= options[:id_offset] %>"/>
|
17
|
+
<int key="NSButtonFlags">-1198767873</int>
|
18
|
+
<int key="NSButtonFlags2">133</int>
|
19
|
+
<string key="NSAlternateContents"/>
|
20
|
+
<string key="NSKeyEquivalent"/>
|
21
|
+
<int key="NSPeriodicDelay">200</int>
|
22
|
+
<int key="NSPeriodicInterval">25</int>
|
23
|
+
</object>
|
24
|
+
</object>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<object class="NSButton" id="<%= options[:id_offset] %>">
|
2
|
+
<reference key="NSNextResponder" ref="1006"/>
|
3
|
+
<int key="NSvFlags">268</int>
|
4
|
+
<string key="NSFrame">{{<%= x - 12 %>, <%= @canvas.height - y - 12 %>}, {25, 25}}</string>
|
5
|
+
<reference key="NSSuperview" ref="1006"/>
|
6
|
+
<bool key="NSEnabled">YES</bool>
|
7
|
+
<object class="NSButtonCell" key="NSCell" id="<%= options[:id_offset] + 1 %>">
|
8
|
+
<int key="NSCellFlags">67239424</int>
|
9
|
+
<int key="NSCellFlags2">134217728</int>
|
10
|
+
<string key="NSContents"/>
|
11
|
+
<object class="NSFont" key="NSSupport">
|
12
|
+
<string key="NSName">LucidaGrande</string>
|
13
|
+
<double key="NSSize">1.300000e+01</double>
|
14
|
+
<int key="NSfFlags">1044</int>
|
15
|
+
</object>
|
16
|
+
<reference key="NSControlView" ref="<%= options[:id_offset] %>"/>
|
17
|
+
<int key="NSButtonFlags">-2038415105</int>
|
18
|
+
<int key="NSButtonFlags2">161</int>
|
19
|
+
<string key="NSAlternateContents"/>
|
20
|
+
<string key="NSKeyEquivalent"/>
|
21
|
+
<int key="NSPeriodicDelay">200</int>
|
22
|
+
<int key="NSPeriodicInterval">25</int>
|
23
|
+
</object>
|
24
|
+
</object>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<object class="NSSlider" id="<%= options[:id_offset] %>">
|
2
|
+
<reference key="NSNextResponder" ref="1006"/>
|
3
|
+
<int key="NSvFlags">268</int>
|
4
|
+
<string key="NSFrame">{{<%= x - 10 %>, <%= @canvas.height - y - 10 %>}, {<%= width + 21 %>, 21}}</string>
|
5
|
+
<reference key="NSSuperview" ref="1006"/>
|
6
|
+
<bool key="NSEnabled">YES</bool>
|
7
|
+
<object class="NSSliderCell" key="NSCell" id="<%= options[:id_offset] + 1 %>">
|
8
|
+
<int key="NSCellFlags">-2080244224</int>
|
9
|
+
<int key="NSCellFlags2">0</int>
|
10
|
+
<string key="NSContents"/>
|
11
|
+
<object class="NSFont" key="NSSupport">
|
12
|
+
<string key="NSName">Helvetica</string>
|
13
|
+
<double key="NSSize">1.200000e+01</double>
|
14
|
+
<int key="NSfFlags">16</int>
|
15
|
+
</object>
|
16
|
+
<reference key="NSControlView" ref="<%= options[:id_offset] %>"/>
|
17
|
+
<double key="NSMaxValue">1.000000e+02</double>
|
18
|
+
<double key="NSMinValue">0.000000e+00</double>
|
19
|
+
<double key="NSValue"><%= rand(100) %></double>
|
20
|
+
<double key="NSAltIncValue">0.000000e+00</double>
|
21
|
+
<int key="NSNumberOfTickMarks">0</int>
|
22
|
+
<int key="NSTickMarkPosition">1</int>
|
23
|
+
<bool key="NSAllowsTickMarkValuesOnly">NO</bool>
|
24
|
+
<bool key="NSVertical">NO</bool>
|
25
|
+
</object>
|
26
|
+
</object>
|
27
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<object class="IBObjectRecord">
|
2
|
+
<int key="objectID"><%= options[:obj_offset] %></int>
|
3
|
+
<reference key="object" ref="<%= options[:id_offset] %>"/>
|
4
|
+
<object class="NSMutableArray" key="children">
|
5
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
6
|
+
<reference ref="<%= options[:id_offset] + 1 %>"/>
|
7
|
+
</object>
|
8
|
+
<reference key="parent" ref="1006"/>
|
9
|
+
</object>
|
10
|
+
<object class="IBObjectRecord">
|
11
|
+
<int key="objectID"><%= options[:obj_offset] + 1 %></int>
|
12
|
+
<reference key="object" ref="<%= options[:id_offset] + 1 %>"/>
|
13
|
+
<reference key="parent" ref="<%= options[:id_offset] %>"/>
|
14
|
+
</object>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<object class="NSPopUpButton" id="<%= options[:id_offset] %>">
|
2
|
+
<reference key="NSNextResponder" ref="1006"/>
|
3
|
+
<int key="NSvFlags">268</int>
|
4
|
+
<string key="NSFrame">{{<%= x - 13 %>, <%= @canvas.height - y - 13 %>}, {<%= width + 26 %>, 26}}</string>
|
5
|
+
<reference key="NSSuperview" ref="1006"/>
|
6
|
+
<bool key="NSEnabled">YES</bool>
|
7
|
+
<object class="NSPopUpButtonCell" key="NSCell" id="<%= options[:id_offset] + 1 %>">
|
8
|
+
<int key="NSCellFlags">-2076049856</int>
|
9
|
+
<int key="NSCellFlags2">2048</int>
|
10
|
+
<object class="NSFont" key="NSSupport">
|
11
|
+
<string key="NSName">LucidaGrande</string>
|
12
|
+
<double key="NSSize">1.300000e+01</double>
|
13
|
+
<int key="NSfFlags">1044</int>
|
14
|
+
</object>
|
15
|
+
<reference key="NSControlView" ref="<%= options[:id_offset] %>"/>
|
16
|
+
<int key="NSButtonFlags">109199615</int>
|
17
|
+
<int key="NSButtonFlags2">129</int>
|
18
|
+
<string key="NSAlternateContents"/>
|
19
|
+
<string key="NSKeyEquivalent"/>
|
20
|
+
<int key="NSPeriodicDelay">400</int>
|
21
|
+
<int key="NSPeriodicInterval">75</int>
|
22
|
+
</object>
|
23
|
+
</object>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<object class="NSProgressIndicator" id="<%= options[:id_offset] %>">
|
2
|
+
<reference key="NSNextResponder" ref="1006"/>
|
3
|
+
<int key="NSvFlags">1292</int>
|
4
|
+
<object class="NSPSMatrix" key="NSDrawMatrix"/>
|
5
|
+
<string key="NSFrame">{{<%= x - 12 %>, <%= @canvas.height - y - 12 %>}, {<%= width + 25 %>, 25}}</string>
|
6
|
+
<reference key="NSSuperview" ref="1006"/>
|
7
|
+
<int key="NSpiFlags">16394</int>
|
8
|
+
<double key="NSMinValue">2.000000e+01</double>
|
9
|
+
<double key="NSMaxValue">1.000000e+02</double>
|
10
|
+
</object>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<object class="NSButton" id="<%= options[:id_offset] %>">
|
2
|
+
<reference key="NSNextResponder" ref="1006"/>
|
3
|
+
<int key="NSvFlags">268</int>
|
4
|
+
<string key="NSFrame">{{<%= x - 19 %>, <%= @canvas.height - y - 19 %>}, {39, 38}}</string>
|
5
|
+
<reference key="NSSuperview" ref="1006"/>
|
6
|
+
<bool key="NSEnabled">YES</bool>
|
7
|
+
<object class="NSButtonCell" key="NSCell" id="<%= options[:id_offset] + 1 %>">
|
8
|
+
<int key="NSCellFlags">67239424</int>
|
9
|
+
<int key="NSCellFlags2">0</int>
|
10
|
+
<string key="NSContents"/>
|
11
|
+
<object class="NSFont" key="NSSupport">
|
12
|
+
<string key="NSName">LucidaGrande</string>
|
13
|
+
<double key="NSSize">1.000000e+01</double>
|
14
|
+
<int key="NSfFlags">2843</int>
|
15
|
+
</object>
|
16
|
+
<reference key="NSControlView" ref="<%= options[:id_offset] %>"/>
|
17
|
+
<int key="NSButtonFlags">-2037645057</int>
|
18
|
+
<int key="NSButtonFlags2">135</int>
|
19
|
+
<string key="NSAlternateContents"/>
|
20
|
+
<string key="NSKeyEquivalent"/>
|
21
|
+
<int key="NSPeriodicDelay">200</int>
|
22
|
+
<int key="NSPeriodicInterval">25</int>
|
23
|
+
</object>
|
24
|
+
</object>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<object class="NSButton" id="<%= options[:id_offset] %>">
|
2
|
+
<reference key="NSNextResponder" ref="1006"/>
|
3
|
+
<int key="NSvFlags">268</int>
|
4
|
+
<string key="NSFrame">{{<%= x - 9 %>, <%= @canvas.height - y - 9 %>}, {<%= width + 19 %>, 19}}</string>
|
5
|
+
<reference key="NSSuperview" ref="1006"/>
|
6
|
+
<bool key="NSEnabled">YES</bool>
|
7
|
+
<object class="NSButtonCell" key="NSCell" id="<%= options[:id_offset] + 1 %>">
|
8
|
+
<int key="NSCellFlags">-2080244224</int>
|
9
|
+
<int key="NSCellFlags2">134217728</int>
|
10
|
+
<string key="NSContents"></string>
|
11
|
+
<object class="NSFont" key="NSSupport">
|
12
|
+
<string key="NSName">LucidaGrande</string>
|
13
|
+
<double key="NSSize">1.200000e+01</double>
|
14
|
+
<int key="NSfFlags">16</int>
|
15
|
+
</object>
|
16
|
+
<reference key="NSControlView" ref="<%= options[:id_offset] %>"/>
|
17
|
+
<int key="NSButtonFlags">-2038152961</int>
|
18
|
+
<int key="NSButtonFlags2">164</int>
|
19
|
+
<string key="NSAlternateContents"/>
|
20
|
+
<string key="NSKeyEquivalent"/>
|
21
|
+
<int key="NSPeriodicDelay">400</int>
|
22
|
+
<int key="NSPeriodicInterval">75</int>
|
23
|
+
</object>
|
24
|
+
</object>
|
@@ -0,0 +1,39 @@
|
|
1
|
+
<object class="NSSearchField" id="<%= options[:id_offset] %>">
|
2
|
+
<reference key="NSNextResponder" ref="1006"/>
|
3
|
+
<int key="NSvFlags">268</int>
|
4
|
+
<string key="NSFrame">{{<%= x - 11 %>, <%= @canvas.height - y - 11 %>}, {<%= width + 22 %>, 22}}</string>
|
5
|
+
<reference key="NSSuperview" ref="1006"/>
|
6
|
+
<bool key="NSEnabled">YES</bool>
|
7
|
+
<object class="NSSearchFieldCell" key="NSCell" id="<%= options[:id_offset] + 1 %>">
|
8
|
+
<int key="NSCellFlags">343014976</int>
|
9
|
+
<int key="NSCellFlags2">268436480</int>
|
10
|
+
<string key="NSContents"/>
|
11
|
+
<object class="NSFont" key="NSSupport">
|
12
|
+
<string key="NSName">LucidaGrande</string>
|
13
|
+
<double key="NSSize">1.300000e+01</double>
|
14
|
+
<int key="NSfFlags">1044</int>
|
15
|
+
</object>
|
16
|
+
<reference key="NSControlView" ref="<%= options[:id_offset] %>"/>
|
17
|
+
<bool key="NSDrawsBackground">YES</bool>
|
18
|
+
<int key="NSTextBezelStyle">1</int>
|
19
|
+
<object class="NSColor" key="NSBackgroundColor">
|
20
|
+
<int key="NSColorSpace">6</int>
|
21
|
+
<string key="NSCatalogName">System</string>
|
22
|
+
<string key="NSColorName">textBackgroundColor</string>
|
23
|
+
<object class="NSColor" key="NSColor">
|
24
|
+
<int key="NSColorSpace">3</int>
|
25
|
+
<bytes key="NSWhite">MQA</bytes>
|
26
|
+
</object>
|
27
|
+
</object>
|
28
|
+
<object class="NSColor" key="NSTextColor">
|
29
|
+
<int key="NSColorSpace">6</int>
|
30
|
+
<string key="NSCatalogName">System</string>
|
31
|
+
<string key="NSColorName">controlTextColor</string>
|
32
|
+
<object class="NSColor" key="NSColor">
|
33
|
+
<int key="NSColorSpace">3</int>
|
34
|
+
<bytes key="NSWhite">MAA</bytes>
|
35
|
+
</object>
|
36
|
+
</object>
|
37
|
+
<int key="NSMaximumRecents">255</int>
|
38
|
+
</object>
|
39
|
+
</object>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<object class="NSSlider" id="<%= options[:id_offset] %>">
|
2
|
+
<reference key="NSNextResponder" ref="1006"/>
|
3
|
+
<int key="NSvFlags">268</int>
|
4
|
+
<string key="NSFrame">{{<%= x - 10 %>, <%= @canvas.height - y - height - 10 %>}, {21, <%= height + 21 %>}}</string>
|
5
|
+
<reference key="NSSuperview" ref="1006"/>
|
6
|
+
<bool key="NSEnabled">YES</bool>
|
7
|
+
<object class="NSSliderCell" key="NSCell" id="<%= options[:id_offset] + 1 %>">
|
8
|
+
<int key="NSCellFlags">67239424</int>
|
9
|
+
<int key="NSCellFlags2">0</int>
|
10
|
+
<string key="NSContents"/>
|
11
|
+
<object class="NSFont" key="NSSupport">
|
12
|
+
<string key="NSName">Helvetica</string>
|
13
|
+
<double key="NSSize">1.200000e+01</double>
|
14
|
+
<int key="NSfFlags">16</int>
|
15
|
+
</object>
|
16
|
+
<reference key="NSControlView" ref="<%= options[:id_offset] %>"/>
|
17
|
+
<double key="NSMaxValue">1.000000e+02</double>
|
18
|
+
<double key="NSMinValue">0.000000e+00</double>
|
19
|
+
<double key="NSValue"><%= rand(100) %></double>
|
20
|
+
<double key="NSAltIncValue">0.000000e+00</double>
|
21
|
+
<int key="NSNumberOfTickMarks">0</int>
|
22
|
+
<int key="NSTickMarkPosition">0</int>
|
23
|
+
<bool key="NSAllowsTickMarkValuesOnly">NO</bool>
|
24
|
+
<bool key="NSVertical">YES</bool>
|
25
|
+
</object>
|
26
|
+
</object>
|
metadata
CHANGED
@@ -1,106 +1,135 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: pimento
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
version: 0.0.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- youpy
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
date: 2012-04-24 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: libxml-ruby
|
16
|
+
requirement: &70242273764320 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70242273764320
|
25
|
+
- !ruby/object:Gem::Dependency
|
21
26
|
name: rspec
|
27
|
+
requirement: &70242290327340 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 2.8.0
|
33
|
+
type: :development
|
22
34
|
prerelease: false
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
version:
|
35
|
+
version_requirements: *70242290327340
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: rake
|
38
|
+
requirement: &70242290325460 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
32
44
|
type: :development
|
33
|
-
version_requirements: *id001
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
name: libxml-ruby
|
36
45
|
prerelease: false
|
37
|
-
|
38
|
-
requirements:
|
39
|
-
- - ">="
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
segments:
|
42
|
-
- 0
|
43
|
-
version: "0"
|
44
|
-
type: :runtime
|
45
|
-
version_requirements: *id002
|
46
|
+
version_requirements: *70242290325460
|
46
47
|
description: Draw graphics using Mac OS X GUI Components
|
47
|
-
email:
|
48
|
+
email:
|
49
|
+
- youpy@buycheapviagraonlinenow.com
|
48
50
|
executables: []
|
49
|
-
|
50
51
|
extensions: []
|
51
|
-
|
52
|
-
|
53
|
-
- LICENSE
|
54
|
-
- README.rdoc
|
55
|
-
files:
|
56
|
-
- .document
|
52
|
+
extra_rdoc_files: []
|
53
|
+
files:
|
57
54
|
- .gitignore
|
55
|
+
- .rspec
|
56
|
+
- Gemfile
|
58
57
|
- LICENSE
|
59
58
|
- README.rdoc
|
60
59
|
- Rakefile
|
61
60
|
- VERSION
|
62
|
-
- examples/
|
61
|
+
- examples/banner.rb
|
63
62
|
- lib/pimento.rb
|
64
63
|
- lib/pimento/canvas.rb
|
65
|
-
- lib/pimento/
|
64
|
+
- lib/pimento/component.rb
|
65
|
+
- lib/pimento/component/bevel_button.rb
|
66
|
+
- lib/pimento/component/check_box.rb
|
67
|
+
- lib/pimento/component/circular_progress_indicator.rb
|
68
|
+
- lib/pimento/component/disclosure_button.rb
|
69
|
+
- lib/pimento/component/disclosure_triangle.rb
|
70
|
+
- lib/pimento/component/help_button.rb
|
71
|
+
- lib/pimento/component/horizontal_slider.rb
|
72
|
+
- lib/pimento/component/popup_button.rb
|
73
|
+
- lib/pimento/component/progress_indicator.rb
|
74
|
+
- lib/pimento/component/round_button.rb
|
75
|
+
- lib/pimento/component/rounded_rect_button.rb
|
76
|
+
- lib/pimento/component/search_field.rb
|
77
|
+
- lib/pimento/component/vertical_slider.rb
|
78
|
+
- lib/pimento/renderable.rb
|
79
|
+
- lib/pimento/util.rb
|
66
80
|
- pimento.gemspec
|
67
81
|
- spec/fixtures/1dot.xib
|
68
82
|
- spec/fixtures/empty.xib
|
69
83
|
- spec/pimento_spec.rb
|
70
|
-
- spec/spec.opts
|
71
84
|
- spec/spec_helper.rb
|
72
|
-
- template/
|
73
|
-
|
74
|
-
|
85
|
+
- template/bevel_button_ro.xml.erb
|
86
|
+
- template/canvas.xml.erb
|
87
|
+
- template/check_box_ro.xml.erb
|
88
|
+
- template/circular_progress_indicator_ro.xml.erb
|
89
|
+
- template/disclosure_button_ro.xml.erb
|
90
|
+
- template/disclosure_triangle_ro.xml.erb
|
91
|
+
- template/help_button_ro.xml.erb
|
92
|
+
- template/horizontal_slider_ro.xml.erb
|
93
|
+
- template/or_1.xml.erb
|
94
|
+
- template/or_2.xml.erb
|
95
|
+
- template/popup_button_ro.xml.erb
|
96
|
+
- template/progress_indicator_ro.xml.erb
|
97
|
+
- template/round_button_ro.xml.erb
|
98
|
+
- template/rounded_rect_button_ro.xml.erb
|
99
|
+
- template/search_field_ro.xml.erb
|
100
|
+
- template/vertical_slider_ro.xml.erb
|
101
|
+
homepage: ''
|
75
102
|
licenses: []
|
76
|
-
|
77
103
|
post_install_message:
|
78
|
-
rdoc_options:
|
79
|
-
|
80
|
-
require_paths:
|
104
|
+
rdoc_options: []
|
105
|
+
require_paths:
|
81
106
|
- lib
|
82
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
107
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
108
|
+
none: false
|
109
|
+
requirements:
|
110
|
+
- - ! '>='
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0'
|
113
|
+
segments:
|
87
114
|
- 0
|
88
|
-
|
89
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
115
|
+
hash: -1230431651702992525
|
116
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
117
|
+
none: false
|
118
|
+
requirements:
|
119
|
+
- - ! '>='
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '0'
|
122
|
+
segments:
|
94
123
|
- 0
|
95
|
-
|
124
|
+
hash: -1230431651702992525
|
96
125
|
requirements: []
|
97
|
-
|
98
126
|
rubyforge_project:
|
99
|
-
rubygems_version: 1.
|
127
|
+
rubygems_version: 1.8.10
|
100
128
|
signing_key:
|
101
129
|
specification_version: 3
|
102
130
|
summary: Draw graphics using Mac OS X GUI Components
|
103
|
-
test_files:
|
131
|
+
test_files:
|
132
|
+
- spec/fixtures/1dot.xib
|
133
|
+
- spec/fixtures/empty.xib
|
104
134
|
- spec/pimento_spec.rb
|
105
135
|
- spec/spec_helper.rb
|
106
|
-
- examples/hello.rb
|