SimpleView.st
changeset 2174 dea03b88b1d1
parent 2173 0686e9f35817
child 2189 86284985c4c0
equal deleted inserted replaced
2173:0686e9f35817 2174:dea03b88b1d1
  6680 flash
  6680 flash
  6681     "flash the view - fill it black, then white, finally
  6681     "flash the view - fill it black, then white, finally
  6682      redraw completely.
  6682      redraw completely.
  6683      Can be used to wakeup the user :-)
  6683      Can be used to wakeup the user :-)
  6684      when problem or warning conditions arise.
  6684      when problem or warning conditions arise.
  6685      Someone may redefine this to flush its contents (instead of black/white)."
  6685      Someone may redefine this to flash its contents (instead of black/white)."
  6686 
  6686 
  6687     self fill:Black.
  6687     self fill:Black.
  6688     Delay waitForSeconds:0.1.
  6688     Delay waitForSeconds:0.1.
  6689     self fill:White.
  6689     self fill:White.
  6690     Delay waitForSeconds:0.1.
  6690     Delay waitForSeconds:0.1.
  6700      v flash.
  6700      v flash.
  6701      Delay waitForSeconds:2.
  6701      Delay waitForSeconds:2.
  6702      v destroy
  6702      v destroy
  6703     "
  6703     "
  6704 
  6704 
  6705     "Modified: / 16.7.1998 / 18:44:01 / cg"
  6705     "Modified: / 16.7.1998 / 18:46:48 / cg"
  6706 !
  6706 !
  6707 
  6707 
  6708 invalidate
  6708 invalidate
  6709     "add a damage to redraw the recevier to its input event queue.
  6709     "add a damage to redraw the recevier to its input event queue.
  6710      This is preferable to calling redraw directly, in that the drawing is done by
  6710      This is preferable to calling redraw directly, in that the drawing is done by
  7817 ! !
  7817 ! !
  7818 
  7818 
  7819 !SimpleView class methodsFor:'documentation'!
  7819 !SimpleView class methodsFor:'documentation'!
  7820 
  7820 
  7821 version
  7821 version
  7822     ^ '$Header: /cvs/stx/stx/libview/SimpleView.st,v 1.261 1998-07-16 16:46:06 cg Exp $'
  7822     ^ '$Header: /cvs/stx/stx/libview/SimpleView.st,v 1.262 1998-07-16 16:47:27 cg Exp $'
  7823 ! !
  7823 ! !
  7824 SimpleView initialize!
  7824 SimpleView initialize!