|
Last change
on this file was
2175,
checked in by westram, 22 years ago
|
|
upgrade to PHYLIP 3.6
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
|
File size:
886 bytes
|
| Line | |
|---|
| 1 | |
|---|
| 2 | #ifndef _INTERFACE_H_ |
|---|
| 3 | #define _INTERFACE_H_ |
|---|
| 4 | |
|---|
| 5 | /* interface.h: access to interface.c, a 2 window text/graphics |
|---|
| 6 | environment, with a scrolling text window and c-like I/O functions. |
|---|
| 7 | This also sets up some defines for the standard c stuff. */ |
|---|
| 8 | |
|---|
| 9 | /* function prototypes */ |
|---|
| 10 | void macsetup(char *,char *); |
|---|
| 11 | void queryevent(); |
|---|
| 12 | void eventloop(); |
|---|
| 13 | void process_window_closure(); |
|---|
| 14 | int handleevent(); |
|---|
| 15 | void textmode(); |
|---|
| 16 | void gfxmode(); |
|---|
| 17 | pascal void scroll(); |
|---|
| 18 | int process_char(); |
|---|
| 19 | void paint_gfx_window(); |
|---|
| 20 | void resize_gfx_window(EventRecord ev); |
|---|
| 21 | void menu_select(long what); |
|---|
| 22 | /*debug void fixmacfile(char *);*/ |
|---|
| 23 | |
|---|
| 24 | |
|---|
| 25 | |
|---|
| 26 | typedef struct { |
|---|
| 27 | char* fn; |
|---|
| 28 | double* xo; |
|---|
| 29 | double* yo; |
|---|
| 30 | double* scale; |
|---|
| 31 | long nt; |
|---|
| 32 | void* root; |
|---|
| 33 | |
|---|
| 34 | } mpreviewparams; |
|---|
| 35 | |
|---|
| 36 | extern mpreviewparams macpreviewparms; |
|---|
| 37 | |
|---|
| 38 | /* function prototypes */ |
|---|
| 39 | |
|---|
| 40 | |
|---|
| 41 | #ifdef __MWERKS__ |
|---|
| 42 | #define MAC |
|---|
| 43 | #endif |
|---|
| 44 | #endif |
|---|
Note: See
TracBrowser
for help on using the repository browser.