15#ifndef TRGCDCDisplayDrawingArea_FLAG_
16#define TRGCDCDisplayDrawingArea_FLAG_
21#ifdef TRGCDC_SHORT_NAMES
22#define TCDDArea TRGCDCDisplayDrawingArea
34 class TRGCDCDisplayDrawingArea :
public Gtk::DrawingArea {
39 TRGCDCDisplayDrawingArea(TRGCDCDisplay&,
int size,
double outerR);
42 virtual ~TRGCDCDisplayDrawingArea();
47 TRGCDCDisplay& display(
void);
50 double scale(
void)
const;
51 virtual void resetPosition(
void) = 0;
52 bool axial(
void)
const;
54 bool stereo(
void)
const;
56 bool wireName(
void)
const;
58 bool oldCDC(
void)
const;
61 virtual void clear(
void) = 0;
63 virtual bool on_expose_event(GdkEventExpose*) = 0;
64 virtual bool on_button_press_event(GdkEventButton*) = 0;
67 virtual void on_realize() = 0;
85 TRGCDCDisplayDrawingArea::scale(
double a)
92 TRGCDCDisplayDrawingArea::scale(
void)
const
99 TRGCDCDisplayDrawingArea::axial(
void)
const
106 TRGCDCDisplayDrawingArea::axial(
bool a)
113 TRGCDCDisplayDrawingArea::stereo(
void)
const
120 TRGCDCDisplayDrawingArea::stereo(
bool a)
127 TRGCDCDisplayDrawingArea::wireName(
void)
const
134 TRGCDCDisplayDrawingArea::wireName(
bool a)
136 return _wireName = a;
141 TRGCDCDisplayDrawingArea::oldCDC(
void)
const
148 TRGCDCDisplayDrawingArea::oldCDC(
bool a)
155 TRGCDCDisplayDrawingArea::display(
void)
Abstract base class for different kinds of events.