File:  [NeXTSTEP 3.3 examples] / Examples / AppKit / Graph / ThreeDPanel.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:48:25 2018 UTC (8 years, 1 month ago) by root
Branches: NeXT, MAIN
CVS tags: NeXTSTEP33, HEAD
Sample Programs from NeXSTEP 3.3


#import <appkit/Panel.h>
@class NXColorWell, Matrix, Slider, N3DCamera;

@interface ThreeDPanel : Panel {
    NXColorWell *surfaceColorWell;
    NXColorWell *backgroundColorWell;
    Matrix *rotateSliders;
    Matrix *shadingButtons;
    Slider *zoomSlider;
    N3DCamera *camera;
}

- changeSurfaceColor:sender;
- changeBackgroundColor:sender;
- changeZoom:sender;
- changeShading:sender;
- setCamera:obj;

@end

/* messages sent to the delegate of the window of the camera we are tracking.
   Since these messages are of interest to the objects managing the individual
   documents, it makes more sense to send them to camera's window's delegate
   instead of the delegate of the panel itself.
 */
@interface Object(ThreeDPanelDelegate)
- threeDPanelDidChangeDoc:(ThreeDPanel *)sender;
@end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.