X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=mac%2Fmac.h;h=29abf4c3b69ac1f2ddb80cae1a961cead567821a;hb=340afa273366858ad2a243b200a77b8fb3a1429a;hp=30796a9371a6d536139346e9d551620ed0f31f10;hpb=53b61424bcf72987d9261eb85decfbc49115abba;p=PuTTY.git diff --git a/mac/mac.h b/mac/mac.h index 30796a93..29abf4c3 100644 --- a/mac/mac.h +++ b/mac/mac.h @@ -67,9 +67,21 @@ typedef struct { #define mac_windowsession(w) (((WinInfo *)GetWRefCon(w))->s) #define mac_winctrls(w) (((WinInfo *)GetWRefCon(w))->mcs) +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 { @@ -196,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);