Add crude support for multiple panels in the config dialogue box. There's
[u/mdw/putty] / mac / mac.h
index 30796a9..9ec3ebe 100644 (file)
--- a/mac/mac.h
+++ b/mac/mac.h
@@ -67,9 +67,13 @@ typedef struct {
 #define mac_windowsession(w)   (((WinInfo *)GetWRefCon(w))->s)
 #define mac_winctrls(w)                (((WinInfo *)GetWRefCon(w))->mcs)
 
+union macctrl;
+
 struct macctrls {
     tree234            *byctrl;
     void               *data; /* private data for config box */
+    unsigned int       npanels;
+    union macctrl      **panels; /* lists of controls by panel */
 };    
 
 typedef struct Session {