union macctrl;
struct macctrls {
+ WindowPtr window;
+ void (*end)(WindowPtr, int);
tree234 *byctrl;
void *data; /* private data for config box */
unsigned int npanels;
+ unsigned int curpanel;
union macctrl **panels; /* lists of controls by panel */
+ union macctrl *focus; /* Input focus for System 7 */
+ union macctrl *defbutton; /* Default button */
+ union macctrl *canbutton; /* Cancel button */
};
typedef struct Session {
struct macctrls *);
extern void macctrl_activate(WindowPtr, EventRecord *);
extern void macctrl_click(WindowPtr, EventRecord *);
+extern void macctrl_key(WindowPtr, EventRecord *);
extern void macctrl_update(WindowPtr);
extern void macctrl_adjustmenus(WindowPtr);
extern void macctrl_close(WindowPtr);