// @(#)root/ged:$Id$
// Author: Ilka  Antcheva 11/05/04

/*************************************************************************
 * Copyright (C) 1995-2002, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TAttMarkerEditor
#define ROOT_TAttMarkerEditor

//////////////////////////////////////////////////////////////////////////
//                                                                      //
//  TAttMarkerEditor                                                    //
//                                                                      //
//  Implements GUI for editing marker attributes.                       //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

#ifndef ROOT_TGedFrame
#include "TGedFrame.h"
#endif

#include "TGSlider.h"

class TGNumberEntry;
class TGColorSelect;
class TGedMarkerSelect;
class TAttMarker;
class TGNumberEntryField;

class TAttMarkerEditor : public TGedFrame {

protected:
   TAttMarker          *fAttMarker;       // marker attribute object
   TGNumberEntry       *fMarkerSize;      // marker size combo box
   TGColorSelect       *fColorSelect;     // marker color
   TGedMarkerSelect    *fMarkerType;      // marker type
   Bool_t              fSizeForText;      // true if "text" draw option uses marker size
   TGHSlider           *fAlpha;           // fill opacity
   TGNumberEntryField  *fAlphaField;

   virtual void        ConnectSignals2Slots();

public:
   TAttMarkerEditor(const TGWindow *p = 0,
                    Int_t width = 140, Int_t height = 30,
                    UInt_t options = kChildFrame,
                    Pixel_t back = GetDefaultFrameBackground());
   virtual ~TAttMarkerEditor();

   virtual void     SetModel(TObject* obj);
   virtual void     DoMarkerColor(Pixel_t color);
   virtual void     DoMarkerAlphaColor(ULong_t p);
   virtual void     DoMarkerSize();
   virtual void     DoMarkerStyle(Style_t style);
   virtual void     DoAlpha();
   virtual void     DoAlphaField();
   virtual void     DoLiveAlpha(Int_t a);
   virtual void     GetCurAlpha();

   ClassDef(TAttMarkerEditor,0)  // GUI for editing marker attributes
};

#endif
 TAttMarkerEditor.h:1
 TAttMarkerEditor.h:2
 TAttMarkerEditor.h:3
 TAttMarkerEditor.h:4
 TAttMarkerEditor.h:5
 TAttMarkerEditor.h:6
 TAttMarkerEditor.h:7
 TAttMarkerEditor.h:8
 TAttMarkerEditor.h:9
 TAttMarkerEditor.h:10
 TAttMarkerEditor.h:11
 TAttMarkerEditor.h:12
 TAttMarkerEditor.h:13
 TAttMarkerEditor.h:14
 TAttMarkerEditor.h:15
 TAttMarkerEditor.h:16
 TAttMarkerEditor.h:17
 TAttMarkerEditor.h:18
 TAttMarkerEditor.h:19
 TAttMarkerEditor.h:20
 TAttMarkerEditor.h:21
 TAttMarkerEditor.h:22
 TAttMarkerEditor.h:23
 TAttMarkerEditor.h:24
 TAttMarkerEditor.h:25
 TAttMarkerEditor.h:26
 TAttMarkerEditor.h:27
 TAttMarkerEditor.h:28
 TAttMarkerEditor.h:29
 TAttMarkerEditor.h:30
 TAttMarkerEditor.h:31
 TAttMarkerEditor.h:32
 TAttMarkerEditor.h:33
 TAttMarkerEditor.h:34
 TAttMarkerEditor.h:35
 TAttMarkerEditor.h:36
 TAttMarkerEditor.h:37
 TAttMarkerEditor.h:38
 TAttMarkerEditor.h:39
 TAttMarkerEditor.h:40
 TAttMarkerEditor.h:41
 TAttMarkerEditor.h:42
 TAttMarkerEditor.h:43
 TAttMarkerEditor.h:44
 TAttMarkerEditor.h:45
 TAttMarkerEditor.h:46
 TAttMarkerEditor.h:47
 TAttMarkerEditor.h:48
 TAttMarkerEditor.h:49
 TAttMarkerEditor.h:50
 TAttMarkerEditor.h:51
 TAttMarkerEditor.h:52
 TAttMarkerEditor.h:53
 TAttMarkerEditor.h:54
 TAttMarkerEditor.h:55
 TAttMarkerEditor.h:56
 TAttMarkerEditor.h:57
 TAttMarkerEditor.h:58
 TAttMarkerEditor.h:59
 TAttMarkerEditor.h:60
 TAttMarkerEditor.h:61
 TAttMarkerEditor.h:62
 TAttMarkerEditor.h:63
 TAttMarkerEditor.h:64
 TAttMarkerEditor.h:65
 TAttMarkerEditor.h:66
 TAttMarkerEditor.h:67
 TAttMarkerEditor.h:68