|
|
1.1 root 1:
2: #import <appkit/Panel.h>
3: @class NXColorWell, Matrix, Slider, N3DCamera;
4:
5: @interface ThreeDPanel : Panel {
6: NXColorWell *surfaceColorWell;
7: NXColorWell *backgroundColorWell;
8: Matrix *rotateSliders;
9: Matrix *shadingButtons;
10: Slider *zoomSlider;
11: N3DCamera *camera;
12: }
13:
14: - changeSurfaceColor:sender;
15: - changeBackgroundColor:sender;
16: - changeZoom:sender;
17: - changeShading:sender;
18: - setCamera:obj;
19:
20: @end
21:
22: /* messages sent to the delegate of the window of the camera we are tracking.
23: Since these messages are of interest to the objects managing the individual
24: documents, it makes more sense to send them to camera's window's delegate
25: instead of the delegate of the panel itself.
26: */
27: @interface Object(ThreeDPanelDelegate)
28: - threeDPanelDidChangeDoc:(ThreeDPanel *)sender;
29: @end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.