|
|
1.1 ! root 1: ! 2: #import <objc/Object.h> ! 3: @class Panel, TextField, NXStringTable, ThreeDPanel; ! 4: ! 5: @interface GraphApp : Object { ! 6: Panel *helpPanel; /* outlet to our help panel */ ! 7: Panel *infoPanel; /* outlet to our info panel */ ! 8: ThreeDPanel *threeDPanel; /* outlet to our 3D control panel */ ! 9: TextField *versString; /* outlet to the version string in the panel */ ! 10: NXStringTable *stringTable; /* table of all strings in this app */ ! 11: } ! 12: ! 13: /* action methods for new, open and info menu commands */ ! 14: - open:sender; ! 15: - new2D:sender; ! 16: - new3D:sender; ! 17: - showHelpPanel:sender; ! 18: - showInfoPanel:sender; ! 19: - showThreeDPanel:sender; ! 20: - (ThreeDPanel *)threeDPanel; ! 21: ! 22: /* returns the string table */ ! 23: - (NXStringTable *)stringTable; ! 24: ! 25: ! 26: @end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.