library: libGui #include "TGMdiDecorFrame.h"

# TGMdiWinResizer

class description - source file - inheritance tree (.pdf)

## class TGMdiWinResizer : public TGFrame, public TGWidget

| Inheritance Chart:
`TObject`
| <- | `TGObject`
| <- | `TGWindow`
`TQObject`
| <- | `TGFrame`
`TGWidget`
| <- | `TGMdiWinResizer` |
<- |
`TGMdiCornerWinResizer` |
`TGMdiHorizontalWinResizer` |
`TGMdiVerticalWinResizer` |

        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)

### Data Members

        protected:

          const TGWindow* fMdiWin
                    Int_t fWinX
                    Int_t fWinY
                    Int_t fWinW
                    Int_t fWinH
                    Int_t fOldX
                    Int_t fOldY
                    Int_t fOldW
                    Int_t fOldH
                    Int_t fNewX
                    Int_t fNewY
                    Int_t fNewW
                    Int_t fNewH
                    Int_t fMinW
                    Int_t fMinH
                    Int_t fMdiOptions
                    Int_t fPos
                    Int_t fX0
                    Int_t fY0
                   Bool_t fLeftButPressed
                   Bool_t fRightButPressed
                   Bool_t fMidButPressed
              const TGGC* fBoxGC
                    Int_t fLineW

## Class Description

     TGMdiDecorFrame, TGMdiTitleBar, TGMdiButtons, TGMdiTitleIcon,
     TGMdiWinResizer, TGMdiVerticalWinResizer, TGMdiHorizontalWinResizer,
     and TGMdiCornerWinResizer.

     This file contains all different MDI frame decoration classes.

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) : TGFrame(p, w, h, options)

Bool_t HandleButton(Event_t *event)

void DrawBox(Int_t x, Int_t y, UInt_t width, UInt_t height)

void MoveResizeIt()

### Inline Functions

                       void ~TGMdiWinResizer()
                       void DrawBorder()
                       void SetResizeMode(Int_t mode)
                       void SetMinSize(Int_t w = 50, Int_t h = 20)
                    TClass* Class()
                    TClass* IsA() const
                       void ShowMembers(TMemberInspector& insp, char* parent)
                       void Streamer(TBuffer& b)
                       void StreamerNVirtual(TBuffer& b)
            TGMdiWinResizer TGMdiWinResizer(const TGMdiWinResizer&)

Author: Bertrand Bellenot 20/08/2004
Last update: root/gui:$Name: $:$Id: TGMdiDecorFrame.cxx,v 1.12 2005/01/12 18:39:29 brun Exp $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *