41struct 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 *";
static MarkerDescription_t * GetMarkerByNumber(Int_t number)
static MarkerDescription_t gMarkers[]
void FreePicture(const TGPicture *pic)
Free picture resource.
virtual void SetLayoutManager(TGLayoutManager *l)
Set the layout manager for the composite frame.
virtual TList * GetList() const
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual void Cleanup()
Cleanup and delete all objects contained in this composite frame.
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 SetBackgroundColor(Pixel_t back)
Set background color (override from TGWindow base class).
virtual void SendMessage(const TGWindow *w, Long_t msg, Long_t parm1, Long_t parm2)
Send message (i.e.
static const TGGC & GetShadowGC()
Get shadow color graphics context.
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
void Draw(Option_t *="")
Default Draw method for all objects.
virtual const char * GetName() const
Return unique name, used in SavePrimitive methods.
void SetMarkerStyle(Style_t pattern)
Set marker.
virtual void DoRedraw()
Draw selected marker type as current one.
virtual void SavePrimitive(std::ostream &out, Option_t *="")
Save the pattern select widget as a C++ statement(s) on output stream out.
const TGPicture * fPicture
virtual void MarkerSelected(Style_t marker=0)
TGedMarkerSelect(const TGWindow *p, Style_t markerStyle, Int_t id)
Create and show marker popup window.
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
Process messages according to the user input.
virtual void DoRedraw()
Draw separator and arrow.
virtual void SetPopup(TGedPopup *p)
virtual Bool_t InheritsFrom(const char *classname) const
Returns kTRUE if object inherits from class "classname".