Skip to content

Commit

Permalink
Shadowless StatusWindow graphics, as well as an ITImageView which cas…
Browse files Browse the repository at this point in the history
…ts a shadow.
  • Loading branch information
Matthew Judy committed Dec 3, 2003
1 parent 7252593 commit 78d39c7
Show file tree
Hide file tree
Showing 28 changed files with 2 additions and 1 deletion.
Binary file modified CD.tiff
Binary file not shown.
Binary file modified Library.tiff
Binary file not shown.
Binary file modified MP3Player.tiff
Binary file not shown.
Binary file added NetLibrary.tiff
Binary file not shown.
Binary file modified Radio.tiff
Binary file not shown.
Binary file modified Rating.tiff
Binary file not shown.
Binary file modified Register.tiff
Binary file not shown.
Binary file modified Repeat.tiff
Binary file not shown.
Binary file modified Setup.tiff
Binary file not shown.
Binary file added ShadowedImages/CD.tiff
Binary file not shown.
Binary file added ShadowedImages/Library.tiff
Binary file not shown.
Binary file added ShadowedImages/MP3Player.tiff
Binary file not shown.
Binary file added ShadowedImages/NetLibrary.tiff
Binary file not shown.
Binary file added ShadowedImages/Radio.tiff
Binary file not shown.
Binary file added ShadowedImages/Rating.tiff
Binary file not shown.
Binary file added ShadowedImages/Register.tiff
Binary file not shown.
Binary file added ShadowedImages/Repeat.tiff
Binary file not shown.
Binary file added ShadowedImages/Setup.tiff
Binary file not shown.
Binary file added ShadowedImages/Shuffle.tiff
Binary file not shown.
Binary file added ShadowedImages/Upcoming.tiff
Binary file not shown.
Binary file added ShadowedImages/Volume.tiff
Binary file not shown.
File renamed without changes.
Binary file modified Shuffle.tiff
Binary file not shown.
3 changes: 2 additions & 1 deletion StatusWindow.m
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,10 @@ - (NSRect)setupWindowWithDataSize:(NSSize)dataSize
((SW_PAD / divisor) + ((contentHeight - imageHeight) / 2)),
imageWidth,
imageHeight );
imageView = [[[NSImageView alloc] initWithFrame:imageRect] autorelease];
imageView = [[[ITImageView alloc] initWithFrame:imageRect] autorelease];
[imageView setAutoresizingMask:(NSViewMinYMargin | NSViewMaxYMargin)];
[imageView setImage:_image];
[imageView setCastsShadow:YES];
[[self contentView] addSubview:imageView];

return NSMakeRect( ((SW_PAD / divisor) + imageWidth + (SW_SPACE / divisor)),
Expand Down
Binary file modified Upcoming.tiff
Binary file not shown.
Binary file modified Volume.tiff
Binary file not shown.
Binary file added iPod.tiff
Binary file not shown.
Binary file modified libValidate.a
Binary file not shown.

0 comments on commit 78d39c7

Please sign in to comment.