42struct MarkerDescription_t {
43 const char* fFilename;
50 {
"marker1.xpm",
"1", 1},
51 {
"marker6.xpm",
"6", 6},
52 {
"marker7.xpm",
"7", 7},
53 {
"marker2.xpm",
"2", 2},
54 {
"marker3.xpm",
"3", 3},
55 {
"marker4.xpm",
"4", 4},
56 {
"marker5.xpm",
"5", 5},
57 {
"marker20.xpm",
"20", 20},
58 {
"marker21.xpm",
"21", 21},
59 {
"marker22.xpm",
"22", 22},
60 {
"marker23.xpm",
"23", 23},
61 {
"marker24.xpm",
"24", 24},
62 {
"marker25.xpm",
"25", 25},
63 {
"marker26.xpm",
"26", 26},
64 {
"marker27.xpm",
"27", 27},
65 {
"marker28.xpm",
"28", 28},
66 {
"marker29.xpm",
"29", 29},
67 {
"marker30.xpm",
"30", 30},
85 GetDefaultFrameBackground())
91 gClient->GetColorByName(
"white", white);
96 for (
int i = 0;
gMarkers[i].fFilename != 0; i++) {
222 out <<
" TGedMarkerSelect *";
ULong_t Pixel_t
Pixel value.
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.
Pixmap_t GetPicture() const
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".