| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
#ifndef _BLT_GR_LEGEND_H |
| 26 |
#define _BLT_GR_LEGEND_H |
| 27 |
|
| 28 |
#define LEGEND_RIGHT (1<<0) |
| 29 |
#define LEGEND_LEFT (1<<1) |
| 30 |
#define LEGEND_BOTTOM (1<<2) |
| 31 |
#define LEGEND_TOP (1<<3) |
| 32 |
#define LEGEND_PLOT (1<<4) |
| 33 |
#define LEGEND_XY (1<<5) |
| 34 |
|
| 35 |
#define LEGEND_WINDOW (1<<6) |
| 36 |
#define LEGEND_IN_MARGIN \ |
| 37 |
(LEGEND_RIGHT | LEGEND_LEFT | LEGEND_BOTTOM | LEGEND_TOP) |
| 38 |
#define LEGEND_IN_PLOT (LEGEND_PLOT | LEGEND_XY) |
| 39 |
|
| 40 |
extern int Blt_CreateLegend _ANSI_ARGS_((Graph *graphPtr)); |
| 41 |
extern void Blt_DestroyLegend _ANSI_ARGS_((Graph *graphPtr)); |
| 42 |
extern void Blt_DrawLegend _ANSI_ARGS_((Legend *legendPtr, Drawable drawable)); |
| 43 |
extern void Blt_MapLegend _ANSI_ARGS_((Legend *legendPtr, int width, |
| 44 |
int height)); |
| 45 |
extern int Blt_LegendOp _ANSI_ARGS_((Graph *graphPtr, Tcl_Interp *interp, |
| 46 |
int argc, char **argv)); |
| 47 |
extern int Blt_LegendSite _ANSI_ARGS_((Legend *legendPtr)); |
| 48 |
extern int Blt_LegendWidth _ANSI_ARGS_((Legend *legendPtr)); |
| 49 |
extern int Blt_LegendHeight _ANSI_ARGS_((Legend *legendPtr)); |
| 50 |
extern int Blt_LegendIsHidden _ANSI_ARGS_((Legend *legendPtr)); |
| 51 |
extern int Blt_LegendIsRaised _ANSI_ARGS_((Legend *legendPtr)); |
| 52 |
extern int Blt_LegendX _ANSI_ARGS_((Legend *legendPtr)); |
| 53 |
extern int Blt_LegendY _ANSI_ARGS_((Legend *legendPtr)); |
| 54 |
extern void Blt_LegendRemoveElement _ANSI_ARGS_((Legend *legendPtr, |
| 55 |
Element *elemPtr)); |
| 56 |
#endif |