Created
January 29, 2009 07:18
-
-
Save toothrot/54431 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shoes.app do | |
@s0 = stack do | |
background red | |
100.times do | |
para "yay" | |
end | |
end | |
@s = stack do | |
style(:attach => Window, :top => height - 100) | |
background lightblue | |
para app.width | |
para app.height | |
end | |
@height = 0 | |
every(1) do | |
unless app.height == @height | |
@s.clear do | |
background lightblue | |
style(:top => height-100) | |
para app.width | |
para app.height | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment