Removing support for multiple screens in ITTransientStatusWindow, being
authorJoseph Spiros <joseph.spiros@ithinksw.com>
Thu, 13 Nov 2003 06:30:37 +0000 (06:30 +0000)
committerJoseph Spiros <joseph.spiros@ithinksw.com>
Thu, 13 Nov 2003 06:30:37 +0000 (06:30 +0000)
as the current implementation is volitile with the way screens are
added/removed dynamically to a system. Considering that positioning is
more important anyway, and that if someone does set this to a screen, and
then that screen disappears, we'll have all sorts of problems, I'm
recommending we keep this functionality out until we can figure out a
better way of implementing it.

ITTransientStatusWindow.h
ITTransientStatusWindow.m
ITWindowPositioning.h

index 021c8a7..39f637e 100755 (executable)
@@ -55,7 +55,7 @@ typedef enum {
     ITVerticalWindowPosition               _verticalPosition;
     ITHorizontalWindowPosition             _horizontalPosition;
     float                                  _screenPadding;
-    int                                    _screenNumber;
+//    int                                    _screenNumber;
 
     BOOL _reallyIgnoresEvents;
     
index 3730c02..92eba65 100755 (executable)
@@ -81,7 +81,7 @@ static ITTransientStatusWindow *staticWindow = nil;
         _verticalPosition    = ITWindowPositionBottom;
         _horizontalPosition  = ITWindowPositionLeft;
         _screenPadding       = 32.0;
-        _screenNumber        = 0;
+        //_screenNumber        = 0;
         _entryEffect         = nil;
         _exitEffect          = nil;
         _reallyIgnoresEvents = YES;
@@ -281,7 +281,7 @@ static ITTransientStatusWindow *staticWindow = nil;
     _screenPadding = newPadding;
 }
 
-- (int)screenNumber
+/*- (int)screenNumber
 {
     return _screenNumber;
 }
@@ -289,7 +289,7 @@ static ITTransientStatusWindow *staticWindow = nil;
 - (void)setScreenNumber:(int)newNumber
 {
     _screenNumber = newNumber;
-}
+}*/
 
 - (ITWindowEffect *)entryEffect
 {
index 61095c7..bdb28f3 100755 (executable)
@@ -35,7 +35,7 @@ typedef enum {
 - (void)setHorizontalPosition:(ITHorizontalWindowPosition)newPosition;
 - (float)screenPadding;
 - (void)setScreenPadding:(float)newPadding;
-- (int)screenNumber;
-- (void)setScreenNumber:(int)newNumber;
+/*- (int)screenNumber;
+- (void)setScreenNumber:(int)newNumber;*/
 
 @end