--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/PopUpBanner.st Wed Jan 26 15:14:02 2000 +0100
@@ -0,0 +1,45 @@
+PopUpView subclass:#PopUpBanner
+ instanceVariableNames:''
+ classVariableNames:''
+ poolDictionaries:''
+ category:'Views-Basic'
+!
+
+
+!PopUpBanner class methodsFor:'instance creation'!
+
+forImage:anImage
+ |v|
+
+ v := self new.
+ v viewBackground:anImage.
+ ^ v
+! !
+
+!PopUpBanner methodsFor:'activation'!
+
+open
+ "default for popUpBanners is to come up modeless"
+
+ self openModeless
+
+!
+
+showCentered
+ self extent:viewBackground extent.
+ self showAt:((self device extent // 2) - (viewBackground extent // 2))
+
+
+! !
+
+!PopUpBanner methodsFor:'queries'!
+
+grabWhenMapped
+ ^ false
+! !
+
+!PopUpBanner class methodsFor:'documentation'!
+
+version
+ ^ '$Header: /cvs/stx/stx/libview2/PopUpBanner.st,v 1.1 2000-01-26 14:14:02 cg Exp $'
+! !