#ifndef HSUDIALOGFRAME_H
#define HSUDIALOGFRAME_H

#include "TGFrame.h"
#include "TGLabel.h"

// -----------------------------------------------------------------------------

class TGButton;
class HSUList;
class HSUActiveWidget;
class HSUDialogLabel;

// -----------------------------------------------------------------------------

class HSUDialogFrame : public TGHorizontalFrame
{
protected:
    HSUDialogLabel     *m_pLabel;
    TGFrame            *m_pWidget;
    HSUActiveWidget    *m_pActive;

public:
                        HSUDialogFrame(const TGWindow* p);
    virtual            ~HSUDialogFrame();

    void                Init(const Char_t *pLabel, TGFrame *pWidget,
                                    HSUActiveWidget *pActive);

    UInt_t              GetLabelWidth(void) const;
    UInt_t              GetWidgetWidth(void) const;
    UInt_t              GetWidgetHeight(void) const;

    void                SetSize(UInt_t uiLabel, UInt_t uiWidget);

    HSUActiveWidget*    GetActiveWidget(void)   { return m_pActive; }

    ClassDef(HSUDialogFrame, 0)  // One dialog box row in ShowerUtil GUI
};

// -----------------------------------------------------------------------------

class HSUDialogLabel : public TGLabel
{
public:

                        HSUDialogLabel(const TGWindow* p, const Char_t* text)
                                : TGLabel(p, text) {}

    virtual TGDimension GetDefaultSize() const
                                { return TGDimension(fWidth, fTHeight); }

    ClassDef(HSUDialogLabel, 0)  // A dialog label in ShowerUtil GUI
};

#endif //!HSUDIALOGFRAME_H

Last change: Sat May 22 13:12:40 2010
Last generated: 2010-05-22 13:12

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.