Warning, file /include/root/TGShapedFrame.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_TGShapedFrame
0013 #define ROOT_TGShapedFrame
0014
0015 #include "TGFrame.h"
0016
0017 #include "TImage.h"
0018
0019 #include "TGPicture.h"
0020
0021 class TGShapedFrame : public TGCompositeFrame {
0022
0023 private:
0024 TGShapedFrame(const TGShapedFrame&) = delete;
0025 TGShapedFrame& operator=(const TGShapedFrame&) = delete;
0026
0027 protected:
0028 const TGPicture *fBgnd;
0029 TImage *fImage;
0030
0031 void DoRedraw() override {}
0032
0033 public:
0034 TGShapedFrame(const char *fname = nullptr, const TGWindow *p = nullptr, UInt_t w = 1, UInt_t h = 1, UInt_t options = 0);
0035 ~TGShapedFrame() override;
0036
0037 const TGPicture GetPicture() const { return *fBgnd; }
0038 TImage GetImage() const { return *fImage; }
0039
0040 void SavePrimitive(std::ostream &out, Option_t *option = "") override;
0041
0042 ClassDefOverride(TGShapedFrame, 0)
0043 };
0044
0045 #endif