#ifndef ROOT_TGedMarkerSelect
#define ROOT_TGedMarkerSelect
#ifndef ROOT_TGedPatternSelect
#include "TGedPatternSelect.h"
#endif
class TGToolTip;
class TGPicture;
class TGedMarkerPopup : public TGedPopup {
protected:
Style_t fCurrentStyle;
public:
TGedMarkerPopup(const TGWindow *p, const TGWindow *m, Style_t markerStyle);
virtual ~TGedMarkerPopup();
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
ClassDef(TGedMarkerPopup,0)
};
class TGedMarkerSelect : public TGedSelect {
protected:
Style_t fMarkerStyle;
const TGPicture *fPicture;
virtual void DoRedraw();
public:
TGedMarkerSelect(const TGWindow *p, Style_t markerStyle, Int_t id);
virtual ~TGedMarkerSelect() { if(fPicture) gClient->FreePicture(fPicture);}
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
Style_t GetMarkerStyle() const { return fMarkerStyle; }
void SetMarkerStyle(Style_t pattern);
virtual void MarkerSelected(Style_t marker = 0) { Emit("MarkerSelected(Style_t)", marker ? marker : GetMarkerStyle()); }
virtual void SavePrimitive(ostream &out, Option_t * = "");
virtual TGDimension GetDefaultSize() const { return TGDimension(38, 21); }
ClassDef(TGedMarkerSelect,0)
};
#endif
Last change: Wed Jun 25 08:43:55 2008
Last generated: 2008-06-25 08:43
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.