X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/ee10bc568f6fda7e253621d78c3b267a660dd52b..8f1612752a89ea821dbd63491aef858f7f7e5bef:/mac/mac.h diff --git a/mac/mac.h b/mac/mac.h index 9ec3ebe7..29abf4c3 100644 --- a/mac/mac.h +++ b/mac/mac.h @@ -70,10 +70,18 @@ typedef struct { 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 */ + Boolean gotcolour; + RGBColor thecolour; }; typedef struct Session { @@ -200,6 +208,7 @@ extern void macctrl_layoutbox(struct controlbox *, WindowPtr, 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);