Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
StringArtController.m
// |
// StringArtController.m |
// StringArtPath |
// |
// Created by John C. Randolph on Thu May 02 2002. |
// Copyright (c) 2002 __MyCompanyName__. All rights reserved. |
// |
#import "StringArtController.h" |
#import "StringArtView.h" |
@implementation StringArtController |
- (void) awakeFromNib |
{ |
[self updateUI]; |
} |
- (void) updateUI |
{ |
[sidesSlider setIntValue:[stringArtView sides]]; |
[sidesField setIntValue:[stringArtView sides]]; |
[rotationSlider setFloatValue:[stringArtView rotation]]; |
[rotationField setFloatValue:[stringArtView rotation]]; |
[radiusSlider setFloatValue:[stringArtView radius]]; |
[radiusField setFloatValue:[stringArtView radius]]; |
[fgColorWell setColor:[stringArtView foregroundColor]]; |
[bgColorWell setColor:[stringArtView backgroundColor]]; |
} |
@end |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14