Finally fixed this piece of crap so it works on all monitors.
[ITKit.git] / ITWindowPositioning.h
old mode 100755 (executable)
new mode 100644 (file)
index e2e5850..8aea208
@@ -1,41 +1,37 @@
 /*
  *     ITKit
- *  ITWindowPositioning
- *    Protocol which defines methods for window positioning presets.
+ *     ITWindowPositioning.h
  *
- *  Original Author : Kent Sutherland <joseph.spiros@ithinksw.com>
- *  Original Author : Matt Judy <mjudy@ithinksw.com>
- *   Responsibility : Matt Judy <mjudy@ithinksw.com>
- *   Responsibility : Joseph Spiros <joseph.spiros@ithinksw.com>
+ *     Protocol which defines methods for window positioning presets.
  *
- *  Copyright (c) 2002 - 2003 iThink Software.
- *  All Rights Reserved
+ *     Copyright (c) 2005 by iThink Software.
+ *     All Rights Reserved.
+ *
+ *     $Id$
  *
  */
 
-
 typedef enum {
-    ITWindowPositionLeft   = 0,
-    ITWindowPositionCenter = 1,
-    ITWindowPositionRight  = 2,
+       ITWindowPositionLeft = 0,
+       ITWindowPositionCenter = 1,
+       ITWindowPositionRight = 2
 } ITHorizontalWindowPosition;
 
 typedef enum {
-    ITWindowPositionTop    = 0,
-    ITWindowPositionMiddle = 1,
-    ITWindowPositionBottom = 2,
+       ITWindowPositionTop = 0,
+       ITWindowPositionMiddle = 1,
+       ITWindowPositionBottom = 2
 } ITVerticalWindowPosition;
 
-
 @protocol ITWindowPositioning
 
+- (NSScreen *)screen;
+- (void)setScreen:(NSScreen *)newScreen;
 - (ITVerticalWindowPosition)verticalPosition;
 - (void)setVerticalPosition:(ITVerticalWindowPosition)newPosition;
 - (ITHorizontalWindowPosition)horizontalPosition;
 - (void)setHorizontalPosition:(ITHorizontalWindowPosition)newPosition;
 - (float)screenPadding;
 - (void)setScreenPadding:(float)newPadding;
-/*- (int)screenNumber;
-- (void)setScreenNumber:(int)newNumber;*/
 
-@end
+@end
\ No newline at end of file