]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - putty.h
No longer assume the values of '\n' and '\r', so CR and LF don't get swapped on
[PuTTY.git] / putty.h
diff --git a/putty.h b/putty.h
index ab8b42ef31f5cf6bbd85ff674d4fe9064760ecdc..2a7a8e3a17545abfd288a72547628adecd5daecd 100644 (file)
--- a/putty.h
+++ b/putty.h
@@ -3,8 +3,13 @@
 
 #define PUTTY_REG_POS "Software\\SimonTatham\\PuTTY"
 
+#ifdef macintosh
+#define OPTIMISE_SCROLL
+#endif
+
 #ifdef macintosh
 #include <MacTypes.h>
+#include <Palettes.h>
 typedef UInt32 DWORD;
 struct mac_session;
 #endif /* macintosh */
@@ -147,9 +152,15 @@ typedef struct {
     /* Colour options */
     int try_palette;
     int bold_colour;
+#ifdef macintosh
+    PaletteHandle colours;
+#else /* not macintosh */
     unsigned char colours[22][3];
+#endif /* not macintosh */
     /* Selection options */
+#ifndef macintosh
     int mouse_is_xterm;
+#endif
     short wordness[256];
 } Config;
 
@@ -189,6 +200,7 @@ void palette_reset (void);
 void write_clip (void *, int);
 void get_clip (void **, int *);
 void optimised_move (int, int, int);
+void do_scroll(int, int, int);
 void fatalbox (const char *, ...);
 void beep (void);
 #define OPTIMISE_IS_SCROLL 1