TGScrollBar
class description - source file - inheritance tree
public:
virtual void ~TGScrollBar()
TClass* Class()
virtual void DrawBorder()
virtual Int_t GetPosition()
virtual Bool_t HandleButton(Event_t* event)
virtual Bool_t HandleMotion(Event_t* event)
virtual Bool_t HandleTimer(TTimer* t)
virtual TClass* IsA()
virtual void Layout()
virtual void MapSubwindows()
virtual void SetPosition(Int_t pos)
virtual void SetRange(Int_t range, Int_t page_size)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
protected:
Int_t fX0
Int_t fY0 current slider position in pixels
Int_t fXp
Int_t fYp previous slider position in pixels
Bool_t fDragging in dragging mode?
Int_t fRange logical upper range of scrollbar
Int_t fPsize logical page size of scrollbar
Int_t fPos logical current position
Int_t fSliderSize logical slider size
Int_t fSliderRange logical slider range
TGScrollBarElement* fHead head button of scrollbar
TGScrollBarElement* fTail tail button of scrollbar
TGScrollBarElement* fSlider slider
static const TGPicture* fHeadPic picture in head (up or left arrow)
static const TGPicture* fTailPic picture in tail (down or right arrow)
TTimer* fRepeat repeat rate timer (when mouse stays pressed)
Window_t fSubw sub window in which mouse is pressed
static Pixmap_t fgBckgndPixmap
static Int_t fgScrollBarWidth
See also
-
TGHScrollBar, TGVScrollBar
TGScrollBar and TGScrollBarElement
The classes in this file implement scrollbars. Scrollbars can be
either placed horizontal or vertical. A scrollbar contains three
TGScrollBarElements: The "head", "tail" and "slider". The head and
tail are fixed at either end and have the typical arrows in them.
~TGScrollBar()
Delete a scrollbar (either horizontal or vertical).
Bool_t HandleTimer(TTimer *t)
Handle repeat timer for horizontal or vertical scrollbar. Every time
timer times out we move slider.
Inline Functions
void DrawBorder()
Bool_t HandleButton(Event_t* event)
Bool_t HandleMotion(Event_t* event)
void Layout()
void SetRange(Int_t range, Int_t page_size)
void SetPosition(Int_t pos)
Int_t GetPosition()
void MapSubwindows()
TClass* Class()
TClass* IsA()
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
Author: Fons Rademakers 10/01/98
Last update: 2.00/06 26/04/98 17.25.24 by Fons Rademakers
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *
ROOT page - Class index - Top of the page
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.