GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: a tiny graphical app kit for ruby
Homepage: http://code.whytheluckystiff.net/shoes
Clone URL: git://github.com/why/shoes.git
 * lib/shoes/setup.rb: lighter colors in the setup.
 * platform/mac/shoes: allow the --ruby passthrough.
why (author)
Thu Aug 28 22:34:25 -0700 2008
commit  fe26f701d2ceefc6e699ebe1ce7620f323b1a4e7
tree    77a3a39d69b74ae83890fbce0c8a3ded16c3d235
parent  37fe248acef9513297cbdee5bdba87998d98e461
...
32
33
34
35
 
36
37
38
39
40
41
 
42
43
44
...
63
64
65
66
 
67
68
69
...
32
33
34
 
35
36
37
38
39
40
 
41
42
43
44
...
63
64
65
 
66
67
68
69
0
@@ -32,13 +32,13 @@ class Shoes::Setup
0
   def self.setup_app(setup)
0
     appt = "Setting up for #{setup.script}"
0
     Shoes.app :width => 370, :height => 158, :resizable => false, :title => appt do
0
- background "#EEC".."#AA9"
0
+ background "#EEE".."#9AA"
0
       image :top => 0, :left => 0 do
0
         stroke "#FFF"; strokewidth 0.1
0
         (0..158).step(3) { |i| line 0, i, 370, i }
0
       end
0
       @pulse = stack :top => 0, :left => 0
0
- @logo = image "#{DIR}/static/shoes-icon.png", :top => -20, :right => -20
0
+ @logo = image "#{DIR}/static/shoes-icon-blue.png", :top => -20, :right => -20
0
       stack :margin => 18 do
0
         title "Shoes Setup", :size => 12, :weight => "bold", :margin => 0
0
         para "Preparing #{setup.script}", :size => 8, :margin => 0, :margin_top => 8, :width => 220
0
@@ -63,7 +63,7 @@ class Shoes::Setup
0
         @pulse.clear do
0
           fill black(0.2 - (i * 0.02))
0
           strokewidth(3.0 - (i * 0.2))
0
- stroke red(1.0 - (i * 0.1))
0
+ stroke rgb(0.7, 0.7, 0.9, 1.0 - (i * 0.1))
0
           oval(@logo.left - i, @logo.top - i, @logo.width + (i * 2))
0
         end
0
       end
...
3
4
5
 
 
 
 
 
6
7
8
...
3
4
5
6
7
8
9
10
11
12
13
0
@@ -3,6 +3,11 @@ APPPATH="${0%/*}"
0
 APPFULLPATH="`cd \"$APPPATH\" 2>/dev/null && pwd`"
0
 RUNPATH="$@"
0
 
0
+if [ $1 = "--ruby" ]; then
0
+ $APPFULLPATH/shoes-bin "$@"
0
+ exit
0
+fi
0
+
0
 while getopts mhv OPTION
0
 do
0
   case $OPTION in

Comments

    No one has commented yet.