63 Warning(
"TEveGedEditor::TEveGedEditor",
"Can't fix priority for TAttMarkerEditor.\n");
65 * (
Int_t*) (((
char*)frame) + off) = 1;
78 Info(
"TEveGedEditor::~TEveGedEditor",
"%p going down.",
this);
88 Info(
"TEveGedEditor::CloseWindow",
"%p closing.",
this);
122 static const TEveException eh(
"TEveGedEditor::DisplayElement ");
173 "Maximum number of extra editors reached.",
270 fNCButton->
Connect(
"Clicked()",
"TEveGedNameFrame",
this,
"SpawnEditorClone()");
339 static const TEveException eh(
"TEveGedNameTextButton::HandleButton ");
const Mask_t kButtonPressMask
const Mask_t kAnyModifier
const Mask_t kButtonReleaseMask
void Info(const char *location, const char *msgfmt,...)
Use this function for informational messages.
void Warning(const char *location, const char *msgfmt,...)
Use this function in warning situations.
R__EXTERN TEveManager * gEve
R__EXTERN TGDNDManager * gDNDManager
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
TClass instances represent classes, structs and namespaces in the ROOT type system.
void * New(ENewType defConstructor=kClassNew, Bool_t quiet=kFALSE) const
Return a pointer to a newly allocated object of this class.
Longptr_t GetDataMemberOffset(const char *membername) const
return offset for member name.
static TClass * GetClass(const char *name, Bool_t load=kTRUE, Bool_t silent=kFALSE)
Static method returning pointer to TClass of the specified class name.
virtual Bool_t IsEmpty() const
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
virtual TObject * GetEditorObject(const TEveException &eh) const
virtual void PropagateVizParamsToProjecteds()
Propagate visualization parameters to dependent elements.
virtual void ElementChanged(Bool_t update_scenes=kTRUE, Bool_t redraw=kFALSE)
Call this after an element has been changed so that the state can be propagated around the framework.
virtual TObject * GetObject(const TEveException &eh) const
Get a TObject associated with this render-element.
Exception class thrown by TEve classes and macros.
Specialization of TGedEditor for proper update propagation to TEveManager.
static Int_t fgMaxExtraEditors
TEveElement * GetEveElement() const
Return eve-element if it is the model object.
virtual void SetModel(TVirtualPad *pad, TObject *obj, Int_t event, Bool_t force=kFALSE)
Set model object.
static void ElementDeleted(TEveElement *el)
Element is being deleted. Close editors showing it.
void DisplayElement(TEveElement *re)
Show a TEveElement in editor.
static TContextMenu * GetContextMenu()
Return context menu object shared among eve-ged-editors.
static TContextMenu * fgContextMenu
static TList * fgExtraEditors
virtual TGedFrame * CreateNameFrame(const TGWindow *parent, const char *tab_name)
Create name-frame for a tab.
virtual void Update(TGedFrame *gframe=nullptr)
Virtual method from TGedEditor, called on every change.
static void DestroyEditors()
Destroys all editors. Called from EVE termination.
virtual void CloseWindow()
Called from window-manger close button.
TEveGedEditor(const TEveGedEditor &)
virtual ~TEveGedEditor()
Destructor.
void DisplayObject(TObject *obj)
Show a TObject in editor.
static void ElementChanged(TEveElement *el)
Element was changed. Update editors showing it.
static void SpawnNewEditor(TObject *obj)
Static function to create a new extra editor.
Specialization of TGedNameFrame used in EVE.
void SpawnEditorClone()
Create a new floating editor with current object.
virtual void SetModel(TObject *obj)
Set model object.
virtual ~TEveGedNameFrame()
Destructor.
TEveGedNameFrame(const TEveGedNameFrame &)
Specialization of TGTextButton for EVE name frame.
virtual Bool_t HandleButton(Event_t *event)
Handle button.
TEveGedNameFrame * fFrame
virtual ~TEveGedNameTextButton()
Destructor.
TEveGedNameTextButton(const TEveGedNameTextButton &)
void Redraw3D(Bool_t resetCameras=kFALSE, Bool_t dropLogicals=kFALSE)
TGWindow * GetMainWindow() const
Get the main window, i.e. EVE-browser.
const TGWindow * GetRoot() const
Returns current root (i.e.
void SetRoot(TGWindow *root=nullptr)
Sets the current root (i.e.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
virtual void RemoveAll()
Remove all frames from composite frame.
void SetMainFrame(TGFrame *main)
TGFrame * GetMainFrame() const
virtual void DeleteWindow()
Delete window.
This class describes layout hints used by the layout classes.
void SetWindowName(const char *name=nullptr) override
Set window name. This is typically done via the window manager.
TGClient * fClient
Connection to display server.
Handle_t fId
X11/Win32 Window identifier.
Yield an action as soon as it is clicked.
virtual void SetText(TGHotString *new_label)
Set new button text.
virtual void SetTextColor(Pixel_t color, Bool_t global=kFALSE)
Changes text color.
ROOT GUI Window base class.
TMap fFrameMap
global map of available frames
TVirtualPad * fPad
selected pad
virtual void SetModel(TVirtualPad *pad, TObject *obj, Int_t event, Bool_t force=kFALSE)
Activate object editors according to the selected object.
TGCompositeFrame * fTabContainer
main tab container
TObject * fModel
selected object
static void SetFrameCreator(TGedEditor *e)
Set the TGedEditor that currently creates TGedFrames.
virtual TObject * GetModel() const
Base frame for implementing GUI - a service class.
virtual void SetGedEditor(TGedEditor *ed)
TGedEditor * fGedEditor
manager of this frame
void SetModelClass(TClass *mcl)
TGedEditor * GetGedEditor()
void Add(TObject *obj) override
TObject * Remove(TObject *obj) override
Remove object from the list.
TObject * First() const override
Return the first object in the list. Returns 0 when list is empty.
virtual TObjLink * FirstLink() const
void Add(TObject *obj) override
This function may not be used (but we need to provide it since it is a pure virtual in TCollection).
Wrapper around a TObject so it can be stored in a TList.
TObject * GetObject() const
Mother of all ROOT objects.
virtual const char * GetName() const
Returns name of object.
virtual const char * ClassName() const
Returns name of class to which the object belongs.
virtual const char * GetTitle() const
Returns title of object.
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot.
virtual void RemoveFirst()
TVirtualPad is an abstract base class for the Pad and Canvas classes.