// @(#)root/eve:$Id: TEveTextEditor.h 22539 2008-03-08 14:36:37Z rdm $
// Authors: Alja & Matevz Tadel 2008

/*************************************************************************
 * Copyright (C) 1995-2007, 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_TEveTextEditor
#define ROOT_TEveTextEditor

#include "TGedFrame.h"

class TGComboBox;
class TGTextEntry;
class TGCheckButton;
class TEveGValuator;

class TEveText;

class TEveTextEditor : public TGedFrame
{
private:
   TEveTextEditor(const TEveTextEditor&);            // Not implemented
   TEveTextEditor& operator=(const TEveTextEditor&); // Not implemented

   TGComboBox* MakeLabeledCombo(const char* name);

protected:
   TEveText            *fM;     // Model object.

   TGTextEntry         *fText;
   TGComboBox          *fSize;
   TGComboBox          *fFile;
   TGComboBox          *fMode;
   TEveGValuator       *fExtrude;

   TGCheckButton       *fLighting;
   TGCheckButton       *fAutoLighting;

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

   virtual void SetModel(TObject* obj);

   void DoText(const Text_t*);

   void DoFontSize();
   void DoFontFile();
   void DoFontMode();

   void DoLighting();
   void DoAutoLighting();
   void DoExtrude();

   ClassDef(TEveTextEditor, 0); // GUI editor for TEveText.
};

#endif

Last change: Wed Jun 25 08:38:13 2008
Last generated: 2008-06-25 08:38

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.