Logo ROOT  
Reference Guide
TEveTextEditor.h
Go to the documentation of this file.
1// @(#)root/eve:$Id$
2// Authors: Alja & Matevz Tadel 2008
3
4/*************************************************************************
5 * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#ifndef ROOT_TEveTextEditor
13#define ROOT_TEveTextEditor
14
15#include "TGedFrame.h"
16
17class TGComboBox;
18class TGTextEntry;
19class TGCheckButton;
20class TEveGValuator;
21
22class TEveText;
23
25{
26private:
27 TEveTextEditor(const TEveTextEditor&); // Not implemented
28 TEveTextEditor& operator=(const TEveTextEditor&); // Not implemented
29
30 TGComboBox* MakeLabeledCombo(const char* name);
31
32protected:
33 TEveText *fM; // Model object.
34
40
43
44public:
45 TEveTextEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
47 virtual ~TEveTextEditor() {}
48
49 virtual void SetModel(TObject* obj);
50
51 void DoText(const char*);
52
53 void DoFontSize();
54 void DoFontFile();
55 void DoFontMode();
56
57 void DoLighting();
58 void DoAutoLighting();
59 void DoExtrude();
60
61 ClassDef(TEveTextEditor, 0); // GUI editor for TEveText.
62};
63
64#endif
@ kChildFrame
Definition: GuiTypes.h:379
ULong_t Pixel_t
Definition: GuiTypes.h:39
#define ClassDef(name, id)
Definition: Rtypes.h:322
include TDocParser_001 C image html pict1_TDocParser_001 png width
Definition: TDocParser.cxx:121
char name[80]
Definition: TGX11.cxx:109
Composite GUI element for single value selection (supports label, number-entry and slider).
GUI editor for TEveText.
void DoFontMode()
Slot for setting FTGL attributes.
virtual void SetModel(TObject *obj)
Set model object.
TGCheckButton * fLighting
TGComboBox * fSize
void DoText(const char *)
Slot for setting text.
void DoFontFile()
Slot for setting FTGL attributes.
TEveText * fM
TEveTextEditor & operator=(const TEveTextEditor &)
TGCheckButton * fAutoLighting
virtual ~TEveTextEditor()
void DoLighting()
Slot for enabling/disabling GL lighting.
TGComboBox * fFile
TEveGValuator * fExtrude
TGTextEntry * fText
void DoAutoLighting()
Slot for enabling/disabling defaults.
void DoFontSize()
Slot for setting FTGL attributes.
void DoExtrude()
Slot for setting an extrude depth.
TEveTextEditor(const TEveTextEditor &)
TGComboBox * MakeLabeledCombo(const char *name)
Helper function. Creates TGComboBox with fixed size TGLabel.
TGComboBox * fMode
TEveElement class used for displaying FreeType GL fonts.
Definition: TEveText.h:25
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:667
Mother of all ROOT objects.
Definition: TObject.h:37