X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/0a33efe12a62e0bbe703bb213933c617a6b45cde..a460b361fe6734325bead016ef2dd39e4da302f4:/mac/mac.h?ds=sidebyside diff --git a/mac/mac.h b/mac/mac.h index 0e747817..d453de74 100644 --- a/mac/mac.h +++ b/mac/mac.h @@ -70,11 +70,13 @@ typedef struct { 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 { @@ -201,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);