X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/73dd3a56539012847315b2aacae1de73d5085e74..490cbda59abb52af3c07957ebc50f337799d6bf3:/ITWindowPositioning.h?ds=sidebyside diff --git a/ITWindowPositioning.h b/ITWindowPositioning.h old mode 100755 new mode 100644 index bdb28f3..8aea208 --- a/ITWindowPositioning.h +++ b/ITWindowPositioning.h @@ -1,41 +1,37 @@ /* * ITKit - * ITWindowPositioning - * Protocol which defines methods for window positioning presets. + * ITWindowPositioning.h * - * Original Author : Kent Sutherland - * Original Author : Matt Judy - * Responsibility : Matt Judy - * Responsibility : Joseph Spiros + * 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