#include <TGTextView.h>
Inheritance diagram for TGTextView:
Public Member Functions | |
TGTextView (const TGWindow *parent=0, UInt_t w=1, UInt_t h=1, Int_t id=-1, UInt_t sboptions=0, Pixel_t back=GetWhitePixel()) | |
TGTextView (const TGWindow *parent, UInt_t w, UInt_t h, TGText *text, Int_t id=-1, UInt_t sboptions=0, Pixel_t back=GetWhitePixel()) | |
TGTextView (const TGWindow *parent, UInt_t w, UInt_t h, const char *string, Int_t id=-1, UInt_t sboptions=0, Pixel_t back=GetWhitePixel()) | |
virtual | ~TGTextView () |
virtual Bool_t | IsSaved () |
virtual Long_t | ToObjXCoord (Long_t xCoord, Long_t line) |
virtual Long_t | ToObjYCoord (Long_t yCoord) |
virtual Long_t | ToScrXCoord (Long_t xCoord, Long_t line) |
virtual Long_t | ToScrYCoord (Long_t yCoord) |
virtual void | AdjustWidth () |
virtual Bool_t | LoadFile (const char *fname, long startpos=0, long length=-1) |
virtual Bool_t | LoadBuffer (const char *txtbuf) |
virtual void | Clear (Option_t *="") |
virtual Bool_t | Copy () |
virtual Bool_t | SelectAll () |
virtual Bool_t | Search (const char *string, Bool_t direction, Bool_t caseSensitive) |
virtual void | SetFont (FontStruct_t font) |
virtual Long_t | ReturnHeighestColHeight () |
virtual Long_t | ReturnLongestLineWidth () |
virtual Long_t | ReturnLineLength (Long_t line) |
virtual Long_t | ReturnLongestLine () |
virtual Long_t | ReturnLineCount () |
virtual void | SetSBRange (Int_t direction) |
virtual void | SetHsbPosition (Long_t newPos) |
virtual void | SetVsbPosition (Long_t newPos) |
virtual void | ShowBottom () |
virtual void | ShowTop () |
virtual void | SavePrimitive (ostream &out, Option_t *="") |
virtual void | SetText (TGText *text) |
virtual void | AddText (TGText *text) |
virtual void | AddLine (const char *string) |
virtual void | AddLineFast (const char *string) |
virtual void | Update () |
virtual void | Layout () |
virtual void | SetBackground (Pixel_t p) |
virtual void | SetSelectBack (Pixel_t p) |
virtual void | SetSelectFore (Pixel_t p) |
virtual void | SetForegroundColor (Pixel_t) |
TGText * | GetText () const |
virtual void | SetReadOnly (Bool_t on=kTRUE) |
Bool_t | IsReadOnly () const |
Bool_t | IsMarked () const |
virtual Bool_t | HandleDNDDrop (TDNDData *data) |
virtual Atom_t | HandleDNDPosition (Int_t x, Int_t y, Atom_t action, Int_t xroot, Int_t yroot) |
virtual Atom_t | HandleDNDEnter (Atom_t *typelist) |
virtual Bool_t | HandleDNDLeave () |
virtual Bool_t | HandleButton (Event_t *event) |
virtual Bool_t | HandleDoubleClick (Event_t *event) |
virtual Bool_t | HandleSelectionClear (Event_t *event) |
virtual Bool_t | HandleSelectionRequest (Event_t *event) |
virtual Bool_t | HandleMotion (Event_t *event) |
virtual Bool_t | HandleTimer (TTimer *t) |
virtual Bool_t | HandleCrossing (Event_t *event) |
virtual void | DataChanged () |
virtual void | DataDropped (const char *fname) |
virtual void | Marked (Bool_t mark) |
virtual void | Clicked (const char *word) |
virtual void | DoubleClicked (const char *word) |
TGTextView (const TGWindow *parent=0, UInt_t w=1, UInt_t h=1, Int_t id=-1, UInt_t sboptions=0, Pixel_t back=GetWhitePixel()) | |
TGTextView (const TGWindow *parent, UInt_t w, UInt_t h, TGText *text, Int_t id=-1, UInt_t sboptions=0, Pixel_t back=GetWhitePixel()) | |
TGTextView (const TGWindow *parent, UInt_t w, UInt_t h, const char *string, Int_t id=-1, UInt_t sboptions=0, Pixel_t back=GetWhitePixel()) | |
virtual | ~TGTextView () |
virtual Bool_t | IsSaved () |
virtual Long_t | ToObjXCoord (Long_t xCoord, Long_t line) |
virtual Long_t | ToObjYCoord (Long_t yCoord) |
virtual Long_t | ToScrXCoord (Long_t xCoord, Long_t line) |
virtual Long_t | ToScrYCoord (Long_t yCoord) |
virtual void | AdjustWidth () |
virtual Bool_t | LoadFile (const char *fname, long startpos=0, long length=-1) |
virtual Bool_t | LoadBuffer (const char *txtbuf) |
virtual void | Clear (Option_t *="") |
virtual Bool_t | Copy () |
virtual Bool_t | SelectAll () |
virtual Bool_t | Search (const char *string, Bool_t direction, Bool_t caseSensitive) |
virtual void | SetFont (FontStruct_t font) |
virtual Long_t | ReturnHeighestColHeight () |
virtual Long_t | ReturnLongestLineWidth () |
virtual Long_t | ReturnLineLength (Long_t line) |
virtual Long_t | ReturnLongestLine () |
virtual Long_t | ReturnLineCount () |
virtual void | SetSBRange (Int_t direction) |
virtual void | SetHsbPosition (Long_t newPos) |
virtual void | SetVsbPosition (Long_t newPos) |
virtual void | ShowBottom () |
virtual void | ShowTop () |
virtual void | SavePrimitive (ostream &out, Option_t *="") |
virtual void | SetText (TGText *text) |
virtual void | AddText (TGText *text) |
virtual void | AddLine (const char *string) |
virtual void | AddLineFast (const char *string) |
virtual void | Update () |
virtual void | Layout () |
virtual void | SetBackground (Pixel_t p) |
virtual void | SetSelectBack (Pixel_t p) |
virtual void | SetSelectFore (Pixel_t p) |
virtual void | SetForegroundColor (Pixel_t) |
TGText * | GetText () const |
virtual void | SetReadOnly (Bool_t on=kTRUE) |
Bool_t | IsReadOnly () const |
Bool_t | IsMarked () const |
virtual Bool_t | HandleDNDDrop (TDNDData *data) |
virtual Atom_t | HandleDNDPosition (Int_t x, Int_t y, Atom_t action, Int_t xroot, Int_t yroot) |
virtual Atom_t | HandleDNDEnter (Atom_t *typelist) |
virtual Bool_t | HandleDNDLeave () |
virtual Bool_t | HandleButton (Event_t *event) |
virtual Bool_t | HandleDoubleClick (Event_t *event) |
virtual Bool_t | HandleSelectionClear (Event_t *event) |
virtual Bool_t | HandleSelectionRequest (Event_t *event) |
virtual Bool_t | HandleMotion (Event_t *event) |
virtual Bool_t | HandleTimer (TTimer *t) |
virtual Bool_t | HandleCrossing (Event_t *event) |
virtual void | DataChanged () |
virtual void | DataDropped (const char *fname) |
virtual void | Marked (Bool_t mark) |
virtual void | Clicked (const char *word) |
virtual void | DoubleClicked (const char *word) |
Protected Member Functions | |
void | Init (Pixel_t bg) |
virtual void | DrawRegion (Int_t x, Int_t y, UInt_t w, UInt_t h) |
virtual void | Mark (Long_t xPos, Long_t yPos) |
virtual void | UnMark () |
virtual void | Copy (TObject &) const |
virtual void | HLayout () |
virtual void | VLayout () |
void | Init (Pixel_t bg) |
virtual void | DrawRegion (Int_t x, Int_t y, UInt_t w, UInt_t h) |
virtual void | Mark (Long_t xPos, Long_t yPos) |
virtual void | UnMark () |
virtual void | Copy (TObject &) const |
virtual void | HLayout () |
virtual void | VLayout () |
Static Protected Member Functions | |
static FontStruct_t | GetDefaultFontStruct () |
static const TGGC & | GetDefaultGC () |
static const TGGC & | GetDefaultSelectedGC () |
static const TGGC & | GetDefaultSelectedBackgroundGC () |
static FontStruct_t | GetDefaultFontStruct () |
static const TGGC & | GetDefaultGC () |
static const TGGC & | GetDefaultSelectedGC () |
static const TGGC & | GetDefaultSelectedBackgroundGC () |
Protected Attributes | |
TGText * | fText |
TGText * | fClipText |
FontStruct_t | fFont |
Int_t | fMaxAscent |
Int_t | fMaxDescent |
Int_t | fMaxWidth |
TGGC | fNormGC |
TGGC | fSelGC |
TGGC | fSelbackGC |
Bool_t | fMarkedFromX |
Bool_t | fMarkedFromY |
Bool_t | fIsMarked |
Bool_t | fIsMarking |
Bool_t | fIsSaved |
Bool_t | fReadOnly |
TGLongPosition | fMarkedStart |
TGLongPosition | fMarkedEnd |
TViewTimer * | fScrollTimer |
Atom_t * | fDNDTypeList |
TGText * | fText |
TGText * | fClipText |
TViewTimer * | fScrollTimer |
Atom_t * | fDNDTypeList |
Static Protected Attributes | |
static const TGFont * | fgDefaultFont |
static TGGC * | fgDefaultGC |
static TGGC * | fgDefaultSelectedGC |
static const TGGC * | fgDefaultSelectedBackgroundGC |
static const TGFont * | fgDefaultFont |
static TGGC * | fgDefaultGC |
static TGGC * | fgDefaultSelectedGC |
static const TGGC * | fgDefaultSelectedBackgroundGC |
Private Member Functions | |
TGTextView (const TGTextView &) | |
TGTextView & | operator= (const TGTextView &) |
TGTextView (const TGTextView &) | |
TGTextView & | operator= (const TGTextView &) |
Definition at line 37 of file TGTextView.h.
TGTextView::TGTextView | ( | const TGTextView & | ) | [private] |
TGTextView::TGTextView | ( | const TGWindow * | parent = 0 , |
|
UInt_t | w = 1 , |
|||
UInt_t | h = 1 , |
|||
Int_t | id = -1 , |
|||
UInt_t | sboptions = 0 , |
|||
Pixel_t | back = GetWhitePixel() | |||
) |
TGTextView::TGTextView | ( | const TGWindow * | parent, | |
UInt_t | w, | |||
UInt_t | h, | |||
TGText * | text, | |||
Int_t | id = -1 , |
|||
UInt_t | sboptions = 0 , |
|||
Pixel_t | back = GetWhitePixel() | |||
) |
TGTextView::TGTextView | ( | const TGWindow * | parent, | |
UInt_t | w, | |||
UInt_t | h, | |||
const char * | string, | |||
Int_t | id = -1 , |
|||
UInt_t | sboptions = 0 , |
|||
Pixel_t | back = GetWhitePixel() | |||
) |
TGTextView::~TGTextView | ( | ) | [virtual] |
Definition at line 154 of file TGTextView.cxx.
References fClipText, fDNDTypeList, fScrollTimer, and fText.
TGTextView::TGTextView | ( | const TGTextView & | ) | [private] |
TGTextView::TGTextView | ( | const TGWindow * | parent = 0 , |
|
UInt_t | w = 1 , |
|||
UInt_t | h = 1 , |
|||
Int_t | id = -1 , |
|||
UInt_t | sboptions = 0 , |
|||
Pixel_t | back = GetWhitePixel() | |||
) |
TGTextView::TGTextView | ( | const TGWindow * | parent, | |
UInt_t | w, | |||
UInt_t | h, | |||
TGText * | text, | |||
Int_t | id = -1 , |
|||
UInt_t | sboptions = 0 , |
|||
Pixel_t | back = GetWhitePixel() | |||
) |
TGTextView::TGTextView | ( | const TGWindow * | parent, | |
UInt_t | w, | |||
UInt_t | h, | |||
const char * | string, | |||
Int_t | id = -1 , |
|||
UInt_t | sboptions = 0 , |
|||
Pixel_t | back = GetWhitePixel() | |||
) |
virtual TGTextView::~TGTextView | ( | ) | [virtual] |
void TGTextView::Init | ( | Pixel_t | bg | ) | [protected] |
Reimplemented from TGView.
Definition at line 533 of file TGTextView.cxx.
References buffer, TGView::fCanvas, Rectangle_t::fHeight, fIsMarked, fMarkedEnd, fMarkedStart, fMaxDescent, fNormGC, TGView::fScrollVal, fSelbackGC, fSelGC, fText, TGView::fVisible, Rectangle_t::fWidth, TGLongPosition::fX, Rectangle_t::fX, TGLongPosition::fY, Rectangle_t::fY, TGFrame::GetHeight(), TGObject::GetId(), TGText::GetLine(), TGText::GetLineLength(), gVirtualX, i, j, len, TGText::RowCount(), ToObjXCoord(), ToObjYCoord(), ToScrXCoord(), and ToScrYCoord().
Referenced by TGTextEdit::DrawRegion(), and Mark().
Definition at line 1165 of file TGTextView.cxx.
References DrawRegion(), TGView::fCanvas, fIsMarked, fMarkedEnd, fMarkedFromX, fMarkedFromY, fMarkedStart, fText, TGLongPosition::fX, TGLongPosition::fY, TGText::GetLineLength(), TGFrame::GetWidth(), kTRUE, TGText::RowCount(), and ToScrYCoord().
Referenced by HandleCrossing(), TGTextEdit::HandleKey(), HandleMotion(), and HandleTimer().
void TGTextView::UnMark | ( | ) | [protected, virtual] |
Definition at line 1288 of file TGTextView.cxx.
References TGView::fCanvas, fIsMarked, fMarkedEnd, fMarkedStart, TGLongPosition::fX, TGLongPosition::fY, TGFrame::GetWidth(), kFALSE, ToScrYCoord(), TGView::UpdateRegion(), and y.
Referenced by TGTextEdit::Delete(), TGTextEdit::Goto(), HandleButton(), TGTextEdit::HandleKey(), HandleSelectionClear(), TGTextEdit::Replace(), Search(), and TGTextEdit::Search().
virtual void TGTextView::Copy | ( | TObject & | ) | const [inline, protected, virtual] |
Reimplemented from TObject.
Definition at line 69 of file TGTextView.h.
References TObject::MayNotUse().
void TGTextView::HLayout | ( | ) | [protected, virtual] |
Definition at line 1333 of file TGTextView.cxx.
References TGFrame::fBorderWidth, TGView::fCanvas, TGFrame::fHeight, TGView::fHsb, TGView::fScrollVal, TGView::fVsb, TGFrame::fWidth, TGLongPosition::fX, TGView::fXMargin, TGView::fYMargin, TGFrame::GetDefaultHeight(), TGFrame::GetDefaultWidth(), TGWindow::IsMapped(), TGView::kHorizontal, TGFrame::MapWindow(), TGFrame::MoveResize(), TGScrollBar::MoveResize(), ReturnLongestLineWidth(), TGFrame::SetHeight(), TGHScrollBar::SetRange(), TGView::SetVisibleStart(), TGFrame::SetWidth(), TGFrame::UnmapWindow(), and VLayout().
Referenced by Layout(), SetSBRange(), and VLayout().
void TGTextView::VLayout | ( | ) | [protected, virtual] |
Definition at line 1372 of file TGTextView.cxx.
References TGFrame::fBorderWidth, TGView::fCanvas, TGFrame::fHeight, TGView::fHsb, TGView::fScrollVal, TGView::fVsb, TGFrame::fWidth, TGView::fXMargin, TGLongPosition::fY, TGView::fYMargin, TGFrame::GetDefaultHeight(), TGFrame::GetDefaultWidth(), HLayout(), TGWindow::IsMapped(), TGView::kVertical, TGFrame::MapWindow(), TGFrame::MoveResize(), TGScrollBar::MoveResize(), ReturnHeighestColHeight(), TGFrame::SetHeight(), TGVScrollBar::SetRange(), TGView::SetVisibleStart(), TGFrame::SetWidth(), and TGFrame::UnmapWindow().
Referenced by HLayout(), Layout(), and SetSBRange().
FontStruct_t TGTextView::GetDefaultFontStruct | ( | ) | [static, protected] |
Definition at line 1475 of file TGTextView.cxx.
References fgDefaultFont, gClient, TGResourcePool::GetDocumentFixedFont(), TGFont::GetFontStruct(), and TGClient::GetResourcePool().
const TGGC & TGTextView::GetDefaultGC | ( | ) | [static, protected] |
Definition at line 1521 of file TGTextView.cxx.
References fgDefaultFont, fgDefaultGC, gClient, TGFont::GetFontHandle(), TGResourcePool::GetFrameGC(), TGClient::GetResourcePool(), and TGGC::SetFont().
Referenced by TGTextEdit::GetCursor1GC().
const TGGC & TGTextView::GetDefaultSelectedGC | ( | ) | [static, protected] |
Definition at line 1533 of file TGTextView.cxx.
References fgDefaultFont, fgDefaultSelectedGC, gClient, TGFont::GetFontHandle(), TGClient::GetResourcePool(), TGResourcePool::GetSelectedGC(), and TGGC::SetFont().
Referenced by TGTextEdit::GetCursor0GC().
const TGGC & TGTextView::GetDefaultSelectedBackgroundGC | ( | ) | [static, protected] |
Definition at line 1545 of file TGTextView.cxx.
References fgDefaultSelectedBackgroundGC, gClient, TGClient::GetResourcePool(), and TGResourcePool::GetSelectedBckgndGC().
TGTextView& TGTextView::operator= | ( | const TGTextView & | ) | [private] |
virtual Bool_t TGTextView::IsSaved | ( | ) | [inline, virtual] |
Definition at line 92 of file TGTextView.h.
References fIsSaved, fText, and TGText::IsSaved().
Referenced by TGTextEdit::ProcessMessage(), and TGTextEdit::SetMenuState().
Definition at line 388 of file TGTextView.cxx.
References buffer, fFont, fText, TGLongPosition::fX, TGLongPosition::fY, TGText::GetLine(), TGText::GetLineLength(), gVirtualX, len, and TGText::RowCount().
Referenced by TGTextEdit::AdjustPos(), TGTextEdit::Delete(), TGTextEdit::DrawCursor(), DrawRegion(), TGTextEdit::HandleButton(), HandleButton(), HandleCrossing(), TGTextEdit::HandleDoubleClick(), HandleMotion(), TGTextEdit::HandleMotion(), HandleTimer(), TGTextEdit::LineDown(), TGTextEdit::LineUp(), TGTextEdit::Replace(), Search(), and TGTextEdit::Search().
Definition at line 380 of file TGTextView.cxx.
References fMaxAscent, and fMaxDescent.
Referenced by TGTextEdit::AdjustPos(), TGTextEdit::Delete(), TGTextEdit::DrawCursor(), DrawRegion(), TGTextEdit::Goto(), TGTextEdit::HandleButton(), HandleButton(), HandleCrossing(), TGTextEdit::HandleDoubleClick(), HandleMotion(), TGTextEdit::HandleMotion(), HandleTimer(), TGTextEdit::Replace(), TGTextEdit::ScreenDown(), TGTextEdit::ScreenUp(), Search(), and TGTextEdit::Search().
Definition at line 356 of file TGTextView.cxx.
References buffer, fFont, fText, TGView::fVisible, TGLongPosition::fX, TGLongPosition::fY, TGText::GetLine(), TGText::GetLineLength(), gVirtualX, and width.
Referenced by TGTextEdit::AdjustPos(), AdjustWidth(), TGTextEdit::DelChar(), TGTextEdit::Delete(), TGTextEdit::DrawCursor(), DrawRegion(), TGTextEdit::End(), TGTextEdit::HandleMotion(), TGTextEdit::HandleSelection(), HandleTimer(), TGTextEdit::InsChar(), TGTextEdit::LineDown(), TGTextEdit::LineUp(), TGTextEdit::NextChar(), TGTextEdit::PrevChar(), TGTextEdit::Replace(), ReturnLongestLineWidth(), Search(), and TGTextEdit::Search().
Definition at line 342 of file TGTextView.cxx.
References fMaxAscent, fMaxDescent, fText, TGView::fVisible, TGLongPosition::fY, and TGText::RowCount().
Referenced by AddLine(), AddText(), TGTextEdit::AdjustPos(), TGTextEdit::BreakLine(), TGTextEdit::DelChar(), TGTextEdit::Delete(), TGTextEdit::DrawCursor(), DrawRegion(), TGTextEdit::Goto(), HandleButton(), HandleCrossing(), TGTextEdit::HandleDoubleClick(), TGTextEdit::HandleKey(), TGTextEdit::HandleMotion(), TGTextEdit::HandleSelection(), HandleTimer(), TGTextEdit::InsChar(), TGTextEdit::LineDown(), TGTextEdit::LineUp(), Mark(), TGTextEdit::NextChar(), TGTextEdit::PrevChar(), TGTextEdit::Replace(), TGTextEdit::ScreenDown(), Search(), TGTextEdit::Search(), and UnMark().
void TGTextView::AdjustWidth | ( | ) | [virtual] |
Definition at line 1307 of file TGTextView.cxx.
References TGFrame::fBorderWidth, TGFrame::fHeight, fText, TGView::fVisible, TGView::fVsb, TGLongPosition::fX, TGView::fXMargin, TGFrame::GetDefaultWidth(), TGText::GetLineLength(), TGText::GetLongestLine(), if(), TGWindow::IsMapped(), line, TGFrame::Resize(), size, and ToScrXCoord().
Definition at line 448 of file TGTextView.cxx.
References Clear(), fclose(), fopen, fp, fText, kFALSE, kTRUE, TGText::Load(), and Update().
Referenced by TRootBrowserLite::BrowseTextFile(), TGRootIDE::CompileMacro(), MyApplication::DoEnteredCommand(), TGRootIDE::ExecuteMacro(), TGCommandPlugin::HandleCommand(), HandleDNDDrop(), TProofProgressLog::LoadFile(), Editor::LoadFile(), TSessionLogView::LoadFile(), TGTextEditor::LoadFile(), TMemStatViewerGUI::MakePrint(), TSessionFrame::OnCommandLine(), TGDocument::Open(), TGRootIDE::ProcessMessage(), TGTextEdit::ProcessMessage(), TRootBrowserLite::Refresh(), and RootShower::RootShower().
Bool_t TGTextView::LoadBuffer | ( | const char * | txtbuf | ) | [virtual] |
Definition at line 465 of file TGTextView.cxx.
References Clear(), fText, kFALSE, kTRUE, TGText::LoadBuffer(), and Update().
Referenced by EditorWindow::LoadBuffer(), TGRootIDE::LoadBuffer(), TProofProgressLog::LoadBuffer(), TGTextEditor::LoadBuffer(), TSessionLogView::LoadBuffer(), Editor::LoadBuffer(), TRootHelpDialog::SetText(), TSessionQueryFrame::UpdateInfos(), and XSReactionDlg::UpdateReactions().
void TGTextView::Clear | ( | Option_t * | = "" |
) | [virtual] |
Reimplemented from TGView.
Definition at line 425 of file TGTextView.cxx.
References TGView::Clear(), TGText::Clear(), DataChanged(), TGView::fCanvas, fIsMarked, fIsMarking, fIsSaved, fMarkedEnd, fMarkedStart, TGWidget::fMsgWindow, fText, TGWidget::fWidgetId, TGLongPosition::fX, TGLongPosition::fY, TGObject::GetId(), gVirtualX, kC_TEXTVIEW, kFALSE, kTRUE, kTXT_DATACHANGE, kTXT_ISMARKED, Layout(), Marked(), MK_MSG(), and TGFrame::SendMessage().
Referenced by TGTextEdit::Clear(), TProofProgressLog::Clear(), TSessionLogView::ClearLogView(), LoadBuffer(), LoadFile(), TSessionFrame::OnCommandLine(), SetText(), TSessionQueryFrame::UpdateInfos(), and XSReactionDlg::UpdateReactions().
Bool_t TGTextView::Copy | ( | ) | [virtual] |
Definition at line 480 of file TGTextView.cxx.
References fClipText, TGObject::fId, fIsMarked, fMarkedEnd, fMarkedStart, fText, TGLongPosition::fX, TGLongPosition::fY, TGText::GetLineLength(), gVirtualX, TGText::InsText(), kFALSE, and kTRUE.
Referenced by TGTextEdit::Copy(), HandleButton(), TGTextEdit::Paste(), and SelectAll().
Bool_t TGTextView::SelectAll | ( | ) | [virtual] |
Definition at line 511 of file TGTextView.cxx.
References Copy(), TGView::fCanvas, fIsMarked, fMarkedEnd, fMarkedStart, fText, TGLongPosition::fX, TGLongPosition::fY, TGFrame::GetHeight(), TGText::GetLineLength(), TGFrame::GetWidth(), kFALSE, kTRUE, TGText::RowCount(), and TGView::UpdateRegion().
Referenced by TGTextEdit::HandleKey(), TGRootIDE::ProcessMessage(), TGTextEdit::ProcessMessage(), and TGTextEditor::ProcessMessage().
Definition at line 285 of file TGTextView.cxx.
References TGView::fCanvas, fIsMarked, fMarkedEnd, fMarkedStart, TGView::fScrollVal, fText, TGView::fVisible, TGLongPosition::fX, TGLongPosition::fY, TGFrame::GetHeight(), TGFrame::GetWidth(), kFALSE, kTRUE, TGText::Search(), SetHsbPosition(), SetVsbPosition(), ToObjXCoord(), ToObjYCoord(), ToScrXCoord(), ToScrYCoord(), UnMark(), and TGView::UpdateRegion().
void TGTextView::SetFont | ( | FontStruct_t | font | ) | [virtual] |
Definition at line 329 of file TGTextView.cxx.
References TGObject::fClient, fFont, fNormGC, fSelGC, gVirtualX, TGClient::NeedRedraw(), and TGGC::SetFont().
Referenced by TGRootIDE::ProcessMessage(), and TGTextEditor::ProcessMessage().
virtual Long_t TGTextView::ReturnHeighestColHeight | ( | ) | [inline, virtual] |
Definition at line 105 of file TGTextView.h.
References TGView::fScrollVal, fText, TGLongPosition::fY, and TGText::RowCount().
Referenced by SetSBRange(), ShowBottom(), and VLayout().
Long_t TGTextView::ReturnLongestLineWidth | ( | ) | [virtual] |
Definition at line 268 of file TGTextView.cxx.
References fText, TGView::fVisible, TGLongPosition::fX, TGText::GetLineLength(), if(), TGText::RowCount(), ToScrXCoord(), and width.
Referenced by HLayout(), TGTextEdit::ReturnLongestLineWidth(), SetSBRange(), and TabsTest().
Definition at line 107 of file TGTextView.h.
References fText, and TGText::GetLineLength().
Referenced by HandleCrossing(), HandleMotion(), and HandleTimer().
virtual Long_t TGTextView::ReturnLongestLine | ( | ) | [inline, virtual] |
virtual Long_t TGTextView::ReturnLineCount | ( | ) | [inline, virtual] |
Definition at line 109 of file TGTextView.h.
References fText, and TGText::RowCount().
Referenced by TGTextEditor::CompileMacro(), TGRootIDE::CompileMacro(), TGTextEditor::DataDropped(), MyApplication::DoEnteredCommand(), TGRootIDE::ExecuteMacro(), TGTextEditor::ExecuteMacro(), HandleButton(), HandleMotion(), HandleTimer(), TGTextEditor::LoadFile(), TGRootIDE::ProcessMessage(), TGRootIDE::SaveFile(), TGTextEditor::SaveFile(), TGRootIDE::TGRootIDE(), and TGTextEditor::TGTextEditor().
void TGTextView::SetSBRange | ( | Int_t | direction | ) | [virtual] |
Definition at line 1409 of file TGTextView.cxx.
References TGView::fCanvas, TGView::fHsb, TGView::fScrollVal, TGView::fVsb, TGLongPosition::fX, TGLongPosition::fY, TGFrame::GetHeight(), TGFrame::GetWidth(), HLayout(), TGWindow::IsMapped(), TGView::kVertical, ReturnHeighestColHeight(), ReturnLongestLineWidth(), TGHScrollBar::SetRange(), TGVScrollBar::SetRange(), and VLayout().
Referenced by TGTextEdit::BreakLine(), TGTextEdit::DelChar(), TGTextEdit::Delete(), TGTextEdit::HandleSelection(), and TGTextEdit::InsChar().
void TGTextView::SetHsbPosition | ( | Long_t | newPos | ) | [virtual] |
Definition at line 1451 of file TGTextView.cxx.
References TGView::fHsb, TGView::fScrollVal, TGLongPosition::fX, TGWindow::IsMapped(), TGView::kHorizontal, TGHScrollBar::SetPosition(), and TGView::SetVisibleStart().
Referenced by TGTextEdit::BreakLine(), TGTextEdit::DelChar(), TGTextEdit::Delete(), TGTextEdit::End(), TGTextEdit::Goto(), TGTextEdit::HandleKey(), TGTextEdit::HandleSelection(), HandleTimer(), TGTextEdit::Home(), TGTextEdit::InsChar(), TGTextEdit::LineDown(), TGTextEdit::LineUp(), TGTextEdit::NextChar(), TGTextEdit::PrevChar(), TGTextEdit::Replace(), Search(), and TGTextEdit::Search().
void TGTextView::SetVsbPosition | ( | Long_t | newPos | ) | [virtual] |
Definition at line 1463 of file TGTextView.cxx.
References TGView::fScrollVal, TGView::fVsb, TGLongPosition::fY, TGWindow::IsMapped(), TGView::kVertical, TGVScrollBar::SetPosition(), and TGView::SetVisibleStart().
Referenced by TGTextEdit::BreakLine(), TGRootIDE::CompileMacro(), TGTextEdit::DelChar(), TGTextEdit::Delete(), MyApplication::DoEnteredCommand(), TGRootIDE::ExecuteMacro(), TGTextEdit::Goto(), HandleButton(), TGTextEdit::HandleKey(), TGTextEdit::HandleSelection(), HandleTimer(), TGTextEdit::LineDown(), TGTextEdit::LineUp(), TGTextEdit::NextChar(), TGTextEdit::PrevChar(), TGRootIDE::ProcessMessage(), TGTextEdit::Replace(), TGTextEdit::ScreenDown(), TGTextEdit::ScreenUp(), Search(), TGTextEdit::Search(), ShowBottom(), and ShowTop().
void TGTextView::ShowBottom | ( | ) | [virtual] |
Definition at line 1486 of file TGTextView.cxx.
References TGView::fCanvas, TGView::fScrollVal, TGLongPosition::fY, TGFrame::GetHeight(), Layout(), ReturnHeighestColHeight(), and SetVsbPosition().
Referenced by TSessionLogView::AddBuffer(), MyApplication::DoEnteredCommand(), TGCommandPlugin::HandleCommand(), TSessionLogView::LoadBuffer(), TSessionLogView::LoadFile(), and TSessionFrame::OnCommandLine().
void TGTextView::ShowTop | ( | ) | [virtual] |
void TGTextView::SavePrimitive | ( | ostream & | out, | |
Option_t * | = "" | |||
) | [virtual] |
Reimplemented from TGCompositeFrame.
Definition at line 1556 of file TGTextView.cxx.
References TSystem::ExpandPathName(), TGView::fCanvas, TGFrame::fgWhitePixel, TString::Format(), TGWindow::fParent, TGFrame::GetBackground(), TGText::GetFileName(), TGFrame::GetHeight(), TGWindow::GetName(), GetText(), TGFrame::GetWidth(), gSystem, kFALSE, kTRUE, TGText::Save(), and TSystem::UnixPathName().
void TGTextView::SetText | ( | TGText * | text | ) | [virtual] |
Definition at line 193 of file TGTextView.cxx.
References Clear(), fText, Layout(), and text().
Referenced by TGLAnnotation::MakeEditor(), TGTextEditor::SetText(), and TGRootIDE::SetText().
void TGTextView::AddText | ( | TGText * | text | ) | [virtual] |
Definition at line 204 of file TGTextView.cxx.
References TGText::AddText(), TGView::fCanvas, fText, TGFrame::GetHeight(), TGFrame::GetWidth(), h1, h2, Layout(), TGText::RowCount(), text(), ToScrYCoord(), and TGView::UpdateRegion().
Referenced by EditorWindow::AddBuffer(), Editor::AddBuffer(), TSessionLogView::AddBuffer(), TProofProgressLog::AddBuffer(), TGTextEditor::AddText(), TGRootIDE::AddText(), and TRootHelpDialog::AddText().
void TGTextView::AddLine | ( | const char * | string | ) | [virtual] |
Definition at line 225 of file TGTextView.cxx.
References AddLineFast(), TGView::fCanvas, fText, TGFrame::GetHeight(), TGFrame::GetWidth(), h1, h2, Layout(), TGText::RowCount(), ToScrYCoord(), and TGView::UpdateRegion().
Referenced by TGRootIDE::AddLine(), TGTextEditor::AddLine(), TRootGuiBuilder::BuildTextEdit(), HandleDNDDrop(), TabsTest(), TGRootIDE::TGRootIDE(), TGTextEditor::TGTextEditor(), and TGRedirectOutputGuard::Update().
void TGTextView::AddLineFast | ( | const char * | string | ) | [virtual] |
Definition at line 245 of file TGTextView.cxx.
References fText, TGLongPosition::fX, TGLongPosition::fY, TGText::InsText(), and TGText::RowCount().
Referenced by AddLine(), TGRootIDE::AddLineFast(), and TGTextEditor::AddLineFast().
void TGTextView::Update | ( | ) | [virtual] |
Definition at line 258 of file TGTextView.cxx.
References TGRectangle::Empty(), TGView::fCanvas, TGView::fExposedRegion, TGFrame::GetHeight(), TGFrame::GetWidth(), Layout(), and TGView::UpdateRegion().
Referenced by TGTextEdit::HandleButton(), LoadBuffer(), LoadFile(), TDelTextCom::Notify(), TInsTextCom::Notify(), TGRootIDE::ProcessMessage(), TGTextEditor::ProcessMessage(), and TabsTest().
void TGTextView::Layout | ( | ) | [virtual] |
Reimplemented from TGView.
Definition at line 1324 of file TGTextView.cxx.
References HLayout(), and VLayout().
Referenced by AddLine(), AddText(), TRootGuiBuilder::BuildTextEdit(), Clear(), TGTextEditor::LoadFile(), TGDocument::Open(), SetText(), ShowBottom(), ShowTop(), TabsTest(), and Update().
void TGTextView::SetBackground | ( | Pixel_t | p | ) | [virtual] |
Definition at line 165 of file TGTextView.cxx.
References TGView::fCanvas, TGView::fWhiteGC, TGGC::SetBackground(), TGFrame::SetBackgroundColor(), and TGGC::SetForeground().
Referenced by MyApplication::MyApplication().
void TGTextView::SetSelectBack | ( | Pixel_t | p | ) | [virtual] |
Definition at line 175 of file TGTextView.cxx.
References fSelbackGC, TGGC::SetBackground(), and TGGC::SetForeground().
Referenced by TGTextEditor::Build(), TGRootIDE::Build(), EditorWindow::EditorWindow(), and TGDocument::Open().
void TGTextView::SetSelectFore | ( | Pixel_t | p | ) | [virtual] |
Definition at line 184 of file TGTextView.cxx.
References fSelGC, TGGC::SetBackground(), and TGGC::SetForeground().
Referenced by TGTextEditor::Build(), TGRootIDE::Build(), EditorWindow::EditorWindow(), and TGDocument::Open().
void TGTextView::SetForegroundColor | ( | Pixel_t | ) | [virtual] |
Reimplemented from TGFrame.
Definition at line 1512 of file TGTextView.cxx.
References fNormGC, TGGC::SetBackground(), and TGGC::SetForeground().
TGText* TGTextView::GetText | ( | ) | const [inline] |
Definition at line 130 of file TGTextView.h.
References fText.
Referenced by TGRootIDE::GetText(), TGTextEditor::GetText(), TDelTextCom::Notify(), TInsTextCom::Notify(), TGDocument::Open(), TGTextEdit::SavePrimitive(), SavePrimitive(), Editor::SetTitle(), TDelCharCom::TDelCharCom(), and TGLAnnotation::UpdateText().
Definition at line 132 of file TGTextView.h.
References fReadOnly.
Referenced by TRootBrowserLite::BrowseTextFile().
Bool_t TGTextView::IsReadOnly | ( | ) | const [inline] |
Definition at line 133 of file TGTextView.h.
References fReadOnly.
Referenced by TGTextEdit::SavePrimitive().
Bool_t TGTextView::IsMarked | ( | ) | const [inline] |
Definition at line 134 of file TGTextView.h.
References fIsMarked.
Referenced by TGTextEditor::HandleTimer(), TGRootIDE::HandleTimer(), TGRootIDE::ProcessMessage(), and TGTextEditor::ProcessMessage().
Reimplemented from TGFrame.
Definition at line 1082 of file TGTextView.cxx.
References AddLine(), buf, xmlio::Class, TString::Data(), data, DataDropped(), TGObject::fClient, fText, TGWindow::GetMainFrame(), TGClient::GetRoot(), gVirtualX, IsTextFile(), kFALSE, kMBIconExclamation, kMBNo, kMBYes, TBuffer::kRead, kTRUE, TString::Length(), LoadFile(), TString::ReplaceAll(), and TGText::RowCount().
Bool_t TGTextView::HandleDNDLeave | ( | ) | [virtual] |
Reimplemented from TGView.
Definition at line 816 of file TGTextView.cxx.
References Copy(), TGView::fCanvas, Event_t::fCode, fIsMarked, fIsMarking, fMarkedEnd, fMarkedStart, TGView::fMousePos, TGWidget::fMsgWindow, TGView::fScrolling, TGView::fScrollVal, Event_t::fState, Event_t::fType, TGView::fVisible, TGWidget::fWidgetId, Event_t::fWindow, TGLongPosition::fX, Event_t::fX, Event_t::fXRoot, TGLongPosition::fY, Event_t::fY, Event_t::fYRoot, TGFrame::GetHeight(), TGObject::GetId(), HandleMotion(), kButton1, kButton2, kButton3, kButton4, kButton5, kButtonPress, kButtonRelease, kC_TEXTVIEW, kFALSE, kKeyShiftMask, kTRUE, kTXT_CLICK2, kTXT_CLICK3, kTXT_ISMARKED, Marked(), MK_MSG(), ReturnLineCount(), TGFrame::SendMessage(), SetVsbPosition(), size, ToObjXCoord(), ToObjYCoord(), ToScrYCoord(), and UnMark().
Referenced by TGTextEdit::HandleButton().
Reimplemented from TGCompositeFrame.
Definition at line 894 of file TGTextView.cxx.
References TGView::fCanvas, Event_t::fWindow, TGObject::GetId(), and kFALSE.
Reimplemented from TGFrame.
Definition at line 962 of file TGTextView.cxx.
References buffer, fClipText, Event_t::fTime, Event_t::fType, Event_t::fUser, TGLongPosition::fX, TGLongPosition::fY, TGText::GetLine(), TGText::GetLineLength(), gVirtualX, i, j, kFALSE, kSelectionNotify, kTRUE, len, TGText::RowCount(), strcpy(), and type.
Reimplemented from TGCompositeFrame.
Definition at line 905 of file TGTextView.cxx.
References TGView::fCanvas, fIsMarking, TGView::fMousePos, TGView::fScrolling, TGView::fVisible, Event_t::fWindow, TGLongPosition::fX, Event_t::fX, TGLongPosition::fY, Event_t::fY, TGFrame::GetHeight(), TGObject::GetId(), TGFrame::GetWidth(), kTRUE, Mark(), ReturnLineCount(), ReturnLineLength(), ToObjXCoord(), and ToObjYCoord().
Referenced by HandleButton(), and TGTextEdit::HandleMotion().
Reimplemented from TGWindow.
Definition at line 711 of file TGTextView.cxx.
References TMath::Abs(), TGView::fCanvas, TGObject::fId, fIsMarked, fMarkedEnd, fMarkedStart, TGView::fMousePos, TGView::fScrolling, TGView::fScrollVal, Event_t::fState, Event_t::fType, TGView::fVisible, TGLongPosition::fX, Event_t::fXRoot, TGLongPosition::fY, Event_t::fYRoot, TGFrame::GetHeight(), TGFrame::GetWidth(), gVirtualX, kAcceleration, kAutoScrollFudge, kButton1Mask, kButtonPress, kFALSE, kTRUE, Mark(), ReturnLineCount(), ReturnLineLength(), SetHsbPosition(), SetVsbPosition(), size, ToObjXCoord(), ToObjYCoord(), ToScrXCoord(), ToScrYCoord(), x, and y.
Referenced by TGTextEdit::HandleTimer().
Reimplemented from TGCompositeFrame.
Definition at line 666 of file TGTextView.cxx.
References TGView::fCanvas, fIsMarked, fIsMarking, TGView::fMousePos, TGView::fScrolling, Event_t::fState, Event_t::fType, TGView::fVisible, Event_t::fWindow, TGLongPosition::fX, Event_t::fX, TGLongPosition::fY, Event_t::fY, TGFrame::GetHeight(), TGObject::GetId(), TGFrame::GetWidth(), kButton1Mask, kFALSE, kLeaveNotify, kTRUE, Mark(), ReturnLineLength(), ToObjXCoord(), ToObjYCoord(), and ToScrYCoord().
Referenced by TGTextEdit::HandleCrossing().
virtual void TGTextView::DataChanged | ( | ) | [inline, virtual] |
Definition at line 150 of file TGTextView.h.
References TQObject::Emit().
Referenced by Clear(), and TGTextEdit::SetCurrent().
virtual void TGTextView::DataDropped | ( | const char * | fname | ) | [inline, virtual] |
Definition at line 151 of file TGTextView.h.
References TQObject::Emit().
Referenced by HandleDNDDrop().
virtual void TGTextView::Marked | ( | Bool_t | mark | ) | [inline, virtual] |
Definition at line 152 of file TGTextView.h.
References TQObject::Emit().
Referenced by Clear(), HandleButton(), TGTextEdit::HandleDoubleClick(), and TGTextEdit::HandleKey().
virtual void TGTextView::Clicked | ( | const char * | word | ) | [inline, virtual] |
Definition at line 153 of file TGTextView.h.
References TQObject::Emit().
Referenced by TGTextEdit::HandleButton().
virtual void TGTextView::DoubleClicked | ( | const char * | word | ) | [inline, virtual] |
Definition at line 154 of file TGTextView.h.
References TQObject::Emit().
Referenced by TGTextEdit::HandleDoubleClick().
void TGTextView::Init | ( | Pixel_t | bg | ) | [protected] |
Reimplemented from TGView.
virtual void TGTextView::UnMark | ( | ) | [protected, virtual] |
virtual void TGTextView::Copy | ( | TObject & | ) | const [inline, protected, virtual] |
Reimplemented from TObject.
Definition at line 69 of file TGTextView.h.
References TObject::MayNotUse().
virtual void TGTextView::HLayout | ( | ) | [protected, virtual] |
virtual void TGTextView::VLayout | ( | ) | [protected, virtual] |
static FontStruct_t TGTextView::GetDefaultFontStruct | ( | ) | [static, protected] |
static const TGGC& TGTextView::GetDefaultGC | ( | ) | [static, protected] |
static const TGGC& TGTextView::GetDefaultSelectedGC | ( | ) | [static, protected] |
static const TGGC& TGTextView::GetDefaultSelectedBackgroundGC | ( | ) | [static, protected] |
TGTextView& TGTextView::operator= | ( | const TGTextView & | ) | [private] |
virtual Bool_t TGTextView::IsSaved | ( | ) | [inline, virtual] |
virtual void TGTextView::AdjustWidth | ( | ) | [virtual] |
virtual Bool_t TGTextView::LoadFile | ( | const char * | fname, | |
long | startpos = 0 , |
|||
long | length = -1 | |||
) | [virtual] |
virtual Bool_t TGTextView::LoadBuffer | ( | const char * | txtbuf | ) | [virtual] |
virtual Bool_t TGTextView::Copy | ( | ) | [virtual] |
virtual Bool_t TGTextView::SelectAll | ( | ) | [virtual] |
virtual Bool_t TGTextView::Search | ( | const char * | string, | |
Bool_t | direction, | |||
Bool_t | caseSensitive | |||
) | [virtual] |
virtual void TGTextView::SetFont | ( | FontStruct_t | font | ) | [virtual] |
virtual Long_t TGTextView::ReturnHeighestColHeight | ( | ) | [inline, virtual] |
Definition at line 105 of file TGTextView.h.
References TGView::fScrollVal, fText, TGLongPosition::fY, and TGText::RowCount().
virtual Long_t TGTextView::ReturnLongestLineWidth | ( | ) | [virtual] |
virtual Long_t TGTextView::ReturnLongestLine | ( | ) | [inline, virtual] |
virtual Long_t TGTextView::ReturnLineCount | ( | ) | [inline, virtual] |
virtual void TGTextView::SetSBRange | ( | Int_t | direction | ) | [virtual] |
virtual void TGTextView::SetHsbPosition | ( | Long_t | newPos | ) | [virtual] |
virtual void TGTextView::SetVsbPosition | ( | Long_t | newPos | ) | [virtual] |
virtual void TGTextView::ShowBottom | ( | ) | [virtual] |
virtual void TGTextView::ShowTop | ( | ) | [virtual] |
virtual void TGTextView::SavePrimitive | ( | ostream & | out, | |
Option_t * | = "" | |||
) | [virtual] |
Reimplemented from TGCompositeFrame.
virtual void TGTextView::SetText | ( | TGText * | text | ) | [virtual] |
virtual void TGTextView::AddText | ( | TGText * | text | ) | [virtual] |
virtual void TGTextView::AddLine | ( | const char * | string | ) | [virtual] |
virtual void TGTextView::AddLineFast | ( | const char * | string | ) | [virtual] |
virtual void TGTextView::Update | ( | ) | [virtual] |
virtual void TGTextView::Layout | ( | ) | [virtual] |
Reimplemented from TGView.
virtual void TGTextView::SetBackground | ( | Pixel_t | p | ) | [virtual] |
virtual void TGTextView::SetSelectBack | ( | Pixel_t | p | ) | [virtual] |
virtual void TGTextView::SetSelectFore | ( | Pixel_t | p | ) | [virtual] |
TGText* TGTextView::GetText | ( | ) | const [inline] |
Bool_t TGTextView::IsReadOnly | ( | ) | const [inline] |
Bool_t TGTextView::IsMarked | ( | ) | const [inline] |
virtual Atom_t TGTextView::HandleDNDPosition | ( | Int_t | x, | |
Int_t | y, | |||
Atom_t | action, | |||
Int_t | xroot, | |||
Int_t | yroot | |||
) | [virtual] |
Reimplemented from TGFrame.
Reimplemented from TGFrame.
Reimplemented from TGCompositeFrame.
Reimplemented from TGFrame.
Reimplemented from TGFrame.
Reimplemented from TGCompositeFrame.
Reimplemented from TGCompositeFrame.
virtual void TGTextView::DataChanged | ( | ) | [inline, virtual] |
virtual void TGTextView::DataDropped | ( | const char * | fname | ) | [inline, virtual] |
virtual void TGTextView::Marked | ( | Bool_t | mark | ) | [inline, virtual] |
virtual void TGTextView::Clicked | ( | const char * | word | ) | [inline, virtual] |
virtual void TGTextView::DoubleClicked | ( | const char * | word | ) | [inline, virtual] |
TGText* TGTextView::fText [protected] |
Definition at line 40 of file TGTextView.h.
Referenced by AddLine(), AddLineFast(), AddText(), AdjustWidth(), TGTextEdit::BreakLine(), Clear(), Copy(), TGTextEdit::DelChar(), TGTextEdit::Delete(), TGTextEdit::DrawCursor(), DrawRegion(), TGTextEdit::End(), GetText(), TGTextEdit::Goto(), TGTextEdit::HandleButton(), HandleDNDDrop(), TGTextEdit::HandleDoubleClick(), TGTextEdit::HandleKey(), TGTextEdit::HandleMotion(), TGTextEdit::HandleSelection(), TGTextEdit::InsChar(), IsSaved(), TGTextEdit::LineDown(), TGTextEdit::LineUp(), LoadBuffer(), LoadFile(), Mark(), TGTextEdit::NextChar(), TGTextEdit::PrevChar(), TGTextEdit::Print(), TGTextEdit::ProcessMessage(), TGTextEdit::Replace(), ReturnHeighestColHeight(), ReturnLineCount(), ReturnLineLength(), ReturnLongestLine(), ReturnLongestLineWidth(), TGTextEdit::SaveFile(), TGTextEdit::ScreenDown(), TGTextEdit::ScreenUp(), Search(), TGTextEdit::Search(), SelectAll(), TGTextEdit::SetMenuState(), SetText(), ToObjXCoord(), ToScrXCoord(), ToScrYCoord(), and ~TGTextView().
TGText* TGTextView::fClipText [protected] |
Definition at line 41 of file TGTextView.h.
Referenced by TGTextEdit::Copy(), Copy(), TGTextEdit::Delete(), TGTextEdit::HandleSelection(), HandleSelectionRequest(), TGTextEdit::Paste(), and ~TGTextView().
FontStruct_t TGTextView::fFont [protected] |
Definition at line 42 of file TGTextView.h.
Referenced by SetFont(), ToObjXCoord(), and ToScrXCoord().
Int_t TGTextView::fMaxAscent [protected] |
Int_t TGTextView::fMaxDescent [protected] |
Definition at line 44 of file TGTextView.h.
Referenced by TGTextEdit::DrawCursor(), DrawRegion(), TGTextEdit::InsChar(), ToObjYCoord(), and ToScrYCoord().
Int_t TGTextView::fMaxWidth [protected] |
TGGC TGTextView::fNormGC [protected] |
Definition at line 46 of file TGTextView.h.
Referenced by TGTextEdit::BreakLine(), TGTextEdit::DelChar(), TGTextEdit::DrawCursor(), DrawRegion(), TGTextEdit::InsChar(), SetFont(), and SetForegroundColor().
TGGC TGTextView::fSelGC [protected] |
Definition at line 47 of file TGTextView.h.
Referenced by TGTextEdit::DrawCursor(), DrawRegion(), SetFont(), and SetSelectFore().
TGGC TGTextView::fSelbackGC [protected] |
Definition at line 48 of file TGTextView.h.
Referenced by TGTextEdit::DrawCursor(), DrawRegion(), and SetSelectBack().
Bool_t TGTextView::fMarkedFromX [protected] |
Bool_t TGTextView::fMarkedFromY [protected] |
Bool_t TGTextView::fIsMarked [protected] |
Definition at line 51 of file TGTextView.h.
Referenced by Clear(), TGTextEdit::Copy(), Copy(), TGTextEdit::Delete(), TGTextEdit::DrawCursor(), DrawRegion(), TGTextEdit::Goto(), HandleButton(), HandleCrossing(), TGTextEdit::HandleDoubleClick(), TGTextEdit::HandleKey(), TGTextEdit::HandleSelection(), HandleSelectionClear(), HandleTimer(), IsMarked(), Mark(), TGTextEdit::Paste(), TGTextEdit::Replace(), Search(), TGTextEdit::Search(), SelectAll(), TGTextEdit::SetMenuState(), and UnMark().
Bool_t TGTextView::fIsMarking [protected] |
Definition at line 52 of file TGTextView.h.
Referenced by Clear(), HandleButton(), HandleCrossing(), and HandleMotion().
Bool_t TGTextView::fIsSaved [protected] |
Bool_t TGTextView::fReadOnly [protected] |
Definition at line 54 of file TGTextView.h.
Referenced by TGTextEdit::BreakLine(), TGTextEdit::DelChar(), TGTextEdit::Delete(), TGTextEdit::DrawCursor(), TGTextEdit::InsChar(), IsReadOnly(), TGTextEdit::Paste(), and SetReadOnly().
TGLongPosition TGTextView::fMarkedStart [protected] |
Definition at line 55 of file TGTextView.h.
Referenced by Clear(), TGTextEdit::Copy(), Copy(), TGTextEdit::Delete(), TGTextEdit::DrawCursor(), DrawRegion(), TGTextEdit::Goto(), HandleButton(), TGTextEdit::HandleDoubleClick(), TGTextEdit::HandleKey(), HandleTimer(), Mark(), TGTextEdit::Replace(), Search(), TGTextEdit::Search(), SelectAll(), and UnMark().
TGLongPosition TGTextView::fMarkedEnd [protected] |
Definition at line 56 of file TGTextView.h.
Referenced by Clear(), TGTextEdit::Copy(), Copy(), TGTextEdit::Delete(), TGTextEdit::DrawCursor(), DrawRegion(), TGTextEdit::Goto(), HandleButton(), TGTextEdit::HandleDoubleClick(), TGTextEdit::HandleKey(), HandleTimer(), Mark(), TGTextEdit::Replace(), Search(), TGTextEdit::Search(), SelectAll(), and UnMark().
TViewTimer* TGTextView::fScrollTimer [protected] |
Atom_t* TGTextView::fDNDTypeList [protected] |
const TGFont * TGTextView::fgDefaultFont [static, protected] |
Definition at line 60 of file TGTextView.h.
Referenced by GetDefaultFontStruct(), GetDefaultGC(), and GetDefaultSelectedGC().
TGGC * TGTextView::fgDefaultGC [static, protected] |
TGGC * TGTextView::fgDefaultSelectedGC [static, protected] |
const TGGC * TGTextView::fgDefaultSelectedBackgroundGC [static, protected] |
TGText* TGTextView::fText [protected] |
Definition at line 40 of file TGTextView.h.
TGText* TGTextView::fClipText [protected] |
Definition at line 41 of file TGTextView.h.
TViewTimer* TGTextView::fScrollTimer [protected] |
Definition at line 57 of file TGTextView.h.
Atom_t* TGTextView::fDNDTypeList [protected] |
Definition at line 58 of file TGTextView.h.
const TGFont* TGTextView::fgDefaultFont [static, protected] |
Definition at line 60 of file TGTextView.h.
TGGC* TGTextView::fgDefaultGC [static, protected] |
Definition at line 61 of file TGTextView.h.
TGGC* TGTextView::fgDefaultSelectedGC [static, protected] |
Definition at line 62 of file TGTextView.h.
const TGGC* TGTextView::fgDefaultSelectedBackgroundGC [static, protected] |
Definition at line 63 of file TGTextView.h.