|
|
1.1 ! root 1: ! 2: #import <objc/Object.h> ! 3: @class Window, Expression, N3DCamera, FormCell, Matrix, Slider, SliderCell, TextFieldCell, Button, NXDataLinkManager; ! 4: ! 5: @interface Graph3DDoc : Object { ! 6: Window *window; ! 7: Expression *expr[3]; /* Expression objects for evaluation */ ! 8: N3DCamera *camera; /* camera for drawing graph */ ! 9: FormCell *equation[3]; /* forms holding equation text */ ! 10: Matrix *variableSliders; /* outlets to other controls */ ! 11: Matrix *variableTexts; ! 12: Matrix *variableLabels; ! 13: Matrix *variableMinLabels; ! 14: Matrix *variableMaxLabels; ! 15: SliderCell *resolutionSlider; ! 16: TextFieldCell *resolutionText; ! 17: SliderCell *minUVSlider[2]; ! 18: TextFieldCell *minUVText[2]; ! 19: SliderCell *maxUVSlider[2]; ! 20: TextFieldCell *maxUVText[2]; ! 21: char *name; /* the name of the document */ ! 22: char *realName; /* unambiguous name of the document */ ! 23: NXDataLinkManager *linkMgr; ! 24: List *linksTracked; /* active links to this document */ ! 25: } ! 26: ! 27: - init; ! 28: - initFromFile:(const char *)file; ! 29: - free; ! 30: - (const char *)filename; ! 31: /* unambiguous path to this file (no symlinks) */ ! 32: - (const char *)realFilename; ! 33: ! 34: /* target action messages sent from various graph controls */ ! 35: - equationChanged:sender; ! 36: - uRangeSliderChanged:sender; ! 37: - uRangeTextChanged:sender; ! 38: - vRangeSliderChanged:sender; ! 39: - vRangeTextChanged:sender; ! 40: - resolutionChanged:sender; ! 41: - variableSliderChanged:sender; ! 42: - variableTextChanged:sender; ! 43: ! 44: /* target action messages sent menu items */ ! 45: - copyGraph:sender; ! 46: - save:sender; ! 47: - saveAs:sender; ! 48: - saveTo:sender; ! 49: ! 50: /* allows views in the window to notify us when the doc is edited */ ! 51: - docChanged; ! 52: ! 53: @end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.