library: libGui #include "TGMdiDecorFrame.h" |
TGMdiWinResizer
class description - header file - source file - inheritance tree (.pdf)
protected:
void DrawBox(Int_t x, Int_t y, UInt_t width, UInt_t height)
void MoveResizeIt()
public:
TGMdiWinResizer(const TGWindow* p, const TGWindow* mdiwin, Int_t pos, const TGGC* boxGC, Int_t linew, Int_t mdioptions = kMdiDefaultResizeMode, Int_t w = 1, Int_t h = 1, UInt_t options = kOwnBackground)
TGMdiWinResizer(const TGMdiWinResizer&)
~TGMdiWinResizer()
static TClass* Class()
virtual void DrawBorder()
virtual Bool_t HandleButton(Event_t* event)
virtual TClass* IsA() const
void SetMinSize(Int_t w = 50, Int_t h = 20)
void SetResizeMode(Int_t mode)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
const TGWindow* fMdiWin owner MDI Window
Int_t fWinX
Int_t fWinY
Int_t fWinW
Int_t fWinH MDI win position and dimension
Int_t fOldX
Int_t fOldY
Int_t fOldW
Int_t fOldH old MDI win position and dimension
Int_t fNewX
Int_t fNewY
Int_t fNewW
Int_t fNewH new MDI win position and dimension
Int_t fMinW
Int_t fMinH Min width and height of the MDI Win
Int_t fMdiOptions MDI options
Int_t fPos position of the resizer
Int_t fX0
Int_t fY0 initial position of the mouse click
Bool_t fLeftButPressed
Bool_t fRightButPressed
Bool_t fMidButPressed mouse buttons flags
const TGGC* fBoxGC GC used for resizing rectangle
Int_t fLineW line width of resizing rectangle
TGMdiWinResizer(const TGWindow *p, const TGWindow *mdiwin, Int_t pos, const TGGC *boxgc, Int_t linew, Int_t mdioptions, Int_t w, Int_t h, UInt_t options)
TGMdiWinResizer constructor.
The TGMdiWinResizer is a frame allowing to resize MDI window.
Could be horizontal, vertical or corner resizer (see derived classes
TGMdiVerticalWinResizer, TGMdiHorizontalWinResizer, and
TGMdiCornerWinResizer).
Author: Bertrand Bellenot 20/08/2004
Last update: root/gui:$Name: $:$Id: TGMdiDecorFrame.cxx,v 1.17 2006/05/26 15:13:01 rdm Exp $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Class Hierarchy - 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.