50#include "RConfigure.h"
110 if (!(sboptions &
kNoHSB)) {
118 if (!(sboptions &
kNoVSB)) {
346 Bool_t need_vsb, need_hsb;
349 need_vsb = need_hsb =
kFALSE;
453 if (pos.
fX < 0) pos.
fX = 0;
454 if (pos.
fY < 0) pos.
fY = 0;
465 Int_t xsrc, ysrc, xdest, ydest, cpyheight, cpywidth;
const Mask_t kWABitGravity
const Mask_t kButtonMotionMask
const Mask_t kFocusChangeMask
const Mask_t kButtonPressMask
const Mask_t kWAWinGravity
const Mask_t kAnyModifier
const Mask_t kKeyPressMask
const Mask_t kKeyShiftMask
const Mask_t kKeyControlMask
const Mask_t kLeaveWindowMask
const Mask_t kButtonReleaseMask
const Mask_t kEnterWindowMask
const TGResourcePool * GetResourcePool() const
void NeedRedraw(TGWindow *w, Bool_t force=kFALSE)
Set redraw flags.
TGLayoutManager * fLayoutManager
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual Int_t MustCleanup() const
void AddInput(UInt_t emask)
Add events specified in the emask to the events the frame should handle.
static const TGGC & GetBlackGC()
Get black graphics context.
virtual void MapRaised()
map raised
virtual UInt_t GetDefaultWidth() const
virtual UInt_t GetDefaultHeight() const
virtual void DrawBorder()
Draw frame border.
static const TGGC & GetHilightGC()
Get highlight color graphics context.
virtual void SetBackgroundColor(Pixel_t back)
Set background color (override from TGWindow base class).
static const TGGC & GetShadowGC()
Get shadow color graphics context.
virtual void MoveResize(Int_t x, Int_t y, UInt_t w=0, UInt_t h=0)
Move and/or resize the frame.
virtual void SetWidth(UInt_t w)
virtual void MapWindow()
map window
virtual void SetHeight(UInt_t h)
static const TGGC & GetBckgndGC()
Get background color graphics context.
virtual void UnmapWindow()
unmap window
void SetTileStipYOrigin(Int_t v)
Y offset for tile or stipple operations.
void SetForeground(Pixel_t v)
Set foreground color.
void SetTileStipXOrigin(Int_t v)
X offset for tile or stipple operations.
void SetBackground(Pixel_t v)
Set background color.
void SetGraphicsExposures(Bool_t v)
True if graphics exposure should be generated.
void Merge(const TGRectangle &r)
Atom_t GetClipboard() const
TGViewFrame(const TGViewFrame &)
virtual ~TGView()
Delete view.
virtual Bool_t ItemLayout()
virtual Bool_t HandleButton(Event_t *event)
handle button
virtual void Layout()
layout view
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
Process scrollbar messages.
void ScrollUp(Int_t pixels)
void ScrollDown(Int_t pixels)
virtual void UpdateBackgroundStart()
set some gc values
virtual void DrawBorder()
Draw the border of the text edit widget.
virtual void SetVisibleStart(Int_t newTop, Int_t direction)
Scroll view in specified direction to make newTop the visible location.
virtual void SetBackgroundColor(Pixel_t)
Set background color of the canvas frame.
TGLongPosition fScrollVal
virtual void ChangeBackground(Pixel_t)
Change background color of the canvas frame.
virtual void UpdateRegion(Int_t x, Int_t y, UInt_t w, UInt_t h)
update a part of view
virtual void ScrollCanvas(Int_t newTop, Int_t direction)
Scroll the canvas to new_top in the kVertical or kHorizontal direction.
virtual void DrawRegion(Int_t x, Int_t y, UInt_t width, UInt_t height)
Draw region.
virtual void DoRedraw()
redraw
virtual Bool_t HandleExpose(Event_t *event)
Handle expose events.
virtual void ScrollToPosition(TGLongPosition newPos)
Scroll the canvas to pos.
virtual void Clear(Option_t *="")
Clear view.
TGRectangle fExposedRegion
virtual void SetBackgroundPixmap(Pixmap_t p)
Set backgound pixmap.
virtual void SetBackgroundPixmap(Pixmap_t pixmap)
set background pixmap
virtual void SetEditDisabled(UInt_t on=kEditDisable)
virtual Bool_t HandleExpose(Event_t *event)
Short_t Max(Short_t a, Short_t b)