41 struct MarkerDescription_t {
42 const char* fFilename;
49 {
"marker1.xpm",
"1", 1},
50 {
"marker6.xpm",
"6", 6},
51 {
"marker7.xpm",
"7", 7},
52 {
"marker2.xpm",
"2", 2},
53 {
"marker3.xpm",
"3", 3},
54 {
"marker4.xpm",
"4", 4},
55 {
"marker5.xpm",
"5", 5},
56 {
"marker20.xpm",
"20", 20},
57 {
"marker21.xpm",
"21", 21},
58 {
"marker22.xpm",
"22", 22},
59 {
"marker23.xpm",
"23", 23},
60 {
"marker24.xpm",
"24", 24},
61 {
"marker25.xpm",
"25", 25},
62 {
"marker26.xpm",
"26", 26},
63 {
"marker27.xpm",
"27", 27},
64 {
"marker28.xpm",
"28", 28},
65 {
"marker29.xpm",
"29", 29},
66 {
"marker30.xpm",
"30", 30},
84 GetDefaultFrameBackground())
90 gClient->GetColorByName(
"white", white);
95 for (
int i = 0;
gMarkers[i].fFilename != 0; i++) {
221 out <<
" TGedMarkerSelect *";
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
virtual const char * GetName() const
Return unique name, used in SavePrimitive methods.
virtual void DoRedraw()
Draw selected marker type as current one.
virtual Bool_t InheritsFrom(const char *classname) const
Returns kTRUE if object inherits from class "classname".
ClassImp(TSeqCollection) Int_t TSeqCollection TIter next(this)
Return index of object in collection.
const TGPicture * fPicture
void SetMarkerStyle(Style_t pattern)
Set marker.
virtual TList * GetList() const
virtual void SetLayoutManager(TGLayoutManager *l)
Set the layout manager for the composite frame.
TGedMarkerSelect(const TGWindow *p, Style_t markerStyle, Int_t id)
Create and show marker popup window.
ClassImp(TGedMarkerSelect) ClassImp(TGedMarkerPopup) struct MarkerDescription_t
void Draw(Option_t *="")
Default Draw method for all objects.
virtual void MarkerSelected(Style_t marker=0)
void FreePicture(const TGPicture *pic)
Free picture resource.
virtual void SetPopup(TGedPopup *p)
virtual void SendMessage(const TGWindow *w, Long_t msg, Long_t parm1, Long_t parm2)
Send message (i.e.
virtual void SetBackgroundColor(Pixel_t back)
Set background color (override from TGWindow base class).
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
Process messages according to the user input.
static MarkerDescription_t * GetMarkerByNumber(Int_t number)
virtual void DoRedraw()
Draw separator and arrow.
virtual void SavePrimitive(std::ostream &out, Option_t *="")
Save the pattern select widget as a C++ statement(s) on output stream out.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual void MapSubwindows()
Map all sub windows that are part of the composite frame.
virtual void Draw3dRectangle(UInt_t type, Int_t x, Int_t y, UInt_t w, UInt_t h)
Draw 3D rectangle on the frame border.
virtual void Cleanup()
Cleanup and delete all objects contained in this composite frame.
static MarkerDescription_t gMarkers[]
static const TGGC & GetShadowGC()
Get shadow color graphics context.