| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f676038 commit 8330d7f
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,5 @@ | |||
| 1 | 1 | /* | |
| 2 | - * $Id: plot.h,v 1.25 1999/11/08 19:24:16 lhecking Exp $ | ||
| 2 | + * $Id: plot.h,v 1.26 1999/11/15 22:02:51 lhecking Exp $ | ||
| 3 | 3 | * | |
| 4 | 4 | */ | |
| 5 | 5 | ||
@@ -74,8 +74,14 @@ | |||
| 74 | 74 | # define TRUE 1 | |
| 75 | 75 | # define FALSE 0 | |
| 76 | 76 | #endif | |
| 77 | + | ||
| 78 | + #ifndef __cplusplus | ||
| 79 | + #undef bool | ||
| 80 | + typedef unsigned int bool; | ||
| 81 | + #endif | ||
| 82 | + | ||
| 77 | 83 | /* TRUE or FALSE */ | |
| 78 | - typedef int TBOOLEAN; | ||
| 84 | + #define TBOOLEAN bool | ||
| 79 | 85 | ||
| 80 | 86 | /* double true, used in autoscale: 1=autoscale ?min, 2=autoscale ?max */ | |
| 81 | 87 | #define DTRUE 3 | |
@@ -544,7 +550,7 @@ struct lp_style_type { /* contains all Line and Point properties */ | |||
| 544 | 550 | ||
| 545 | 551 | ||
| 546 | 552 | struct curve_points { | |
| 547 | - struct curve_points *next_cp; /* pointer to next plot in linked list */ | ||
| 553 | + struct curve_points *next; /* pointer to next plot in linked list */ | ||
| 548 | 554 | int token; /* last token in re/plot line, for second pass */ | |
| 549 | 555 | enum PLOT_TYPE plot_type; | |
| 550 | 556 | enum PLOT_STYLE plot_style; | |
@@ -628,7 +634,7 @@ struct TERMENTRY { | |||
| 628 | 634 | int (*text_angle) __PROTO((int)); | |
| 629 | 635 | int (*justify_text) __PROTO((enum JUSTIFY)); | |
| 630 | 636 | void (*point) __PROTO((unsigned int, unsigned int,int)); | |
| 631 | - void (*arrow) __PROTO((unsigned int, unsigned int, unsigned int, unsigned int, int)); | ||
| 637 | + void (*arrow) __PROTO((unsigned int, unsigned int, unsigned int, unsigned int, TBOOLEAN)); | ||
| 632 | 638 | int (*set_font) __PROTO((const char *font)); | |
| 633 | 639 | void (*pointsize) __PROTO((double)); /* change pointsize */ | |
| 634 | 640 | int flags; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments