Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TGeoPgonEditor.h
Go to the documentation of this file.
1// @(#):$Id$
2// Author: M.Gheata
3/*************************************************************************
4 * Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. *
5 * All rights reserved. *
6 * *
7 * For the licensing terms see $ROOTSYS/LICENSE. *
8 * For the list of contributors see $ROOTSYS/README/CREDITS. *
9 *************************************************************************/
10
11#ifndef ROOT_TGeoPgonEditor
12#define ROOT_TGeoPgonEditor
13
14#include "TGWidget.h"
15#include "TGeoPconEditor.h"
16
17class TGNumberEntry;
18class TGTab;
19
21
22protected:
23 Int_t fNedgesi; // Initial number of edges
24 TGNumberEntry *fENedges; // Number entry for nsections
25
26 virtual void CreateEdges();
27
28public:
29 TGeoPgonEditor(const TGWindow *p = nullptr,
30 Int_t width = 140, Int_t height = 30,
31 UInt_t options = kChildFrame,
33 virtual ~TGeoPgonEditor();
34 virtual void SetModel(TObject *obj);
35
36 void DoNedges();
37 virtual void DoApply();
38 virtual void DoUndo();
39
40 ClassDef(TGeoPgonEditor,0) // TGeoPgon editor
41};
42#endif
@ kChildFrame
Definition GuiTypes.h:379
ULong_t Pixel_t
Pixel value.
Definition GuiTypes.h:40
#define ClassDef(name, id)
Definition Rtypes.h:337
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t width
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition TGFrame.cxx:683
TGNumberEntry is a number entry input widget with up/down buttons.
A tab widget contains a set of composite frames each with a little tab with a name (like a set of fol...
Definition TGTab.h:46
ROOT GUI Window base class.
Definition TGWindow.h:23
Editor for a TGeoPcon.
Editor for a TGeoPgon.
virtual void SetModel(TObject *obj)
Connect to a given pgon.
virtual void DoApply()
Slot for applying modifications.
virtual ~TGeoPgonEditor()
Destructor.
virtual void DoUndo()
Slot for undoing last operation.
TGNumberEntry * fENedges
virtual void CreateEdges()
Create number entry for Nedges.
void DoNedges()
Change number of edges.
Mother of all ROOT objects.
Definition TObject.h:41