The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Out to lunch script

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Out to lunch script Posted: Nov 7, 2007 10:52 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Out to lunch script
Feed Title: Michael Lucas-Smith
Feed URL: http://www.michaellucassmith.com/site.atom
Feed Description: Smalltalk and my misinterpretations of life
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Michael Lucas-Smith

Advertisement
| window tick |
tick := 0.
window := ScheduledWindow new.
window component: (VisualBlock block: 
	[:gc :bounds |
		| label |
		tick := (tick + 1 \\ 128).
		gc paint: (ColorValue red blendWith: (Color brightness: (tick / 256) + 0.5)).
		label := Label with: 'Out to lunch' asText allBold.
		label displayOn: gc at: (bounds extent - label preferredBounds extent) half]).
window open.
[[window isOpen] whileTrue:
[(Delay forMilliseconds: 5) wait.
window invalidateRectangle: window bounds repairNow: true forComponent: window component]] fork

Read: Out to lunch script

Topic: Google Everywhere Previous Topic   Next Topic Topic: What Planet is he from?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use