Former-commit-id:a02aeb236c
[formerly9f19e3f712
] [formerly06a8b51d6d
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]] Former-commit-id:06a8b51d6d
Former-commit-id:3360eb6c5f
41 lines
569 B
C
41 lines
569 B
C
/*
|
|
File: rc_crosshairs.c
|
|
Date: 12/19/1994
|
|
Author: Chip Gobs
|
|
|
|
Purpose: Provide support for the Rating Curve DS.
|
|
|
|
*/
|
|
|
|
#ifndef rc_crosshairs_h
|
|
#define rc_crosshairs_h
|
|
|
|
|
|
/*
|
|
Data definition.
|
|
*/
|
|
typedef struct _RcCrossHairs {
|
|
int startx;
|
|
int starty;
|
|
int endx;
|
|
int endy;
|
|
GC gc;
|
|
} RcCrossHairs;
|
|
|
|
|
|
/*
|
|
Data declaration.
|
|
*/
|
|
RcCrossHairs rc_ch_data;
|
|
|
|
|
|
/*
|
|
Function prototypes.
|
|
*/
|
|
GC rc_setup_crosshairs(Widget widget);
|
|
void rc_start_crosshairs();
|
|
void rc_track_crosshairs();
|
|
void rc_stop_crosshairs();
|
|
int rc_get_pixel_name(Widget widget, char *name);
|
|
|
|
#endif
|