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
 * shoes/ruby.c: remove the animation interval cap.
 * samples/good-follow.rb: speed up the sample.
why (author)
Fri May 09 23:06:40 -0700 2008
commit  b9ad2c0648d9fcd3445e8ed799f0470dedc856c0
tree    b2e8b064c1a8ec33f88eb4d475932f8aacf279cc
parent  6b8a425a3c08bd1d46cb2549cb3780bad919ed48
...
1
2
 
3
4
5
6
7
 
8
9
10
...
1
 
2
3
4
5
6
 
7
8
9
10
0
@@ -1,10 +1,10 @@
0
 trails = [[0, 0]] * 60
0
-Shoes.app do
0
+Shoes.app :width => 400, :height => 400, :resizable => false do
0
   nostroke
0
   fill rgb(0x30, 0xFF, 0xFF, 0.6)
0
 
0
   # animation at 24 frames per second
0
- animate(24) do
0
+ animate(100) do
0
     trails.shift
0
     trails << self.mouse[1, 2]
0
 
...
4055
4056
4057
4058
4059
4060
4061
...
4055
4056
4057
 
4058
4059
4060
0
@@ -4055,7 +4055,6 @@ shoes_timer_start(VALUE self)
0
 {
0
   GET_STRUCT(timer, self_t);
0
   unsigned int interval = self_t->rate;
0
- if (interval < 32) interval = 32;
0
   if (self_t->started != ANIM_STARTED)
0
   {
0
 #ifdef SHOES_GTK

Comments

    No one has commented yet.