Adding API to ITStatusItem for callbacks to get dynamic menus.
[ITKit.git] / ITWindowEffect.m
old mode 100755 (executable)
new mode 100644 (file)
index 5745bd7..54a73bf
@@ -12,6 +12,9 @@
         NSClassFromString(@"ITSlideHorizontallyWindowEffect"),
         NSClassFromString(@"ITSlideVerticallyWindowEffect"),
         NSClassFromString(@"ITPivotWindowEffect"),
+        NSClassFromString(@"ITZoomWindowEffect"),
+        NSClassFromString(@"ITSpinWindowEffect"),
+        NSClassFromString(@"ITSpinAndZoomWindowEffect"),
         nil];
         
     return classes;
@@ -27,7 +30,6 @@
         __idle                  = YES;
 
         if ( [window conformsToProtocol:@protocol(ITWindowPositioning)] ) {
-                                                           // Casts so the compiler won't gripe
             _verticalPosition   = (ITVerticalWindowPosition)[(ITTransientStatusWindow *)window verticalPosition];
             _horizontalPosition = (ITHorizontalWindowPosition)[(ITTransientStatusWindow *)window horizontalPosition];
         } else {