/*
* 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,
- ITWindowPositionCenter,
- ITWindowPositionRight,
+ ITWindowPositionLeft = 0,
+ ITWindowPositionCenter = 1,
+ ITWindowPositionRight = 2
} ITHorizontalWindowPosition;
typedef enum {
- ITWindowPositionTop,
- ITWindowPositionMiddle,
- ITWindowPositionBottom,
+ 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