Warning, file /include/root/TGedMarkerSelect.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TGedMarkerSelect
0013 #define ROOT_TGedMarkerSelect
0014
0015
0016 #include "TGedPatternSelect.h"
0017
0018 class TGToolTip;
0019 class TGPicture;
0020
0021
0022 class TGedMarkerPopup : public TGedPopup {
0023
0024 protected:
0025 Style_t fCurrentStyle;
0026
0027 public:
0028 TGedMarkerPopup(const TGWindow *p, const TGWindow *m, Style_t markerStyle);
0029 ~TGedMarkerPopup() override;
0030
0031 Bool_t ProcessMessage(Longptr_t msg, Longptr_t parm1, Longptr_t parm2) override;
0032
0033 ClassDefOverride(TGedMarkerPopup,0)
0034 };
0035
0036
0037 class TGedMarkerSelect : public TGedSelect {
0038
0039 protected:
0040 Style_t fMarkerStyle;
0041 const TGPicture *fPicture;
0042
0043 void DoRedraw() override;
0044
0045 public:
0046 TGedMarkerSelect(const TGWindow *p, Style_t markerStyle, Int_t id);
0047 ~TGedMarkerSelect() override { if(fPicture) gClient->FreePicture(fPicture);}
0048
0049 Bool_t ProcessMessage(Longptr_t msg, Longptr_t parm1, Longptr_t parm2) override;
0050 Style_t GetMarkerStyle() const { return fMarkerStyle; }
0051 void SetMarkerStyle(Style_t pattern);
0052 virtual void MarkerSelected(Style_t marker = 0) { Emit("MarkerSelected(Style_t)", marker ? marker : GetMarkerStyle()); }
0053 void SavePrimitive(std::ostream &out, Option_t * = "") override;
0054 TGDimension GetDefaultSize() const override { return TGDimension(38, 21); }
0055
0056 ClassDefOverride(TGedMarkerSelect,0)
0057 };
0058
0059 #endif