X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/8a7e67ec6766225bff72cf384a82d7647fa65fa0..2dfd068bd7d82b2e78717293451809a88e0a233d:/mac/mac.h diff --git a/mac/mac.h b/mac/mac.h index 30796a93..d453de74 100644 --- a/mac/mac.h +++ b/mac/mac.h @@ -67,9 +67,16 @@ typedef struct { #define mac_windowsession(w) (((WinInfo *)GetWRefCon(w))->s) #define mac_winctrls(w) (((WinInfo *)GetWRefCon(w))->mcs) +union macctrl; + struct macctrls { + WindowPtr window; 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 */ }; typedef struct Session { @@ -196,6 +203,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);