#ifndef HSULISTBOXES
#define HSULISTBOXES
#pragma interface
#include "TGComboBox.h"
#include "TGListBox.h"
#include "hsuactivewidget.h"
class HSUList : public HSUActiveWidget
{
public:
HSUList(){};
virtual ~HSUList(){};
virtual void Add(const Char_t *s, Int_t iId) = 0;
ClassDef(HSUList, 0)
};
class HSUComboBox : public TGComboBox, public HSUList
{
public:
HSUComboBox(Int_t *piVal, const TGWindow* pParent, Int_t iId);
void Reset(void);
void SetData(void);
void Add(const Char_t *s, Int_t iId);
private:
Int_t *m_piVal;
ClassDef(HSUComboBox, 0)
};
class HSUListBox : public TGListBox, public HSUList
{
public:
HSUListBox(Int_t *piVal, const TGWindow* pParent, Int_t iId);
void Reset(void);
void SetData(void);
void Add(const Char_t *s, Int_t iId);
private:
Int_t *m_piVal;
Int_t m_iElements;
ClassDef(HSUListBox, 0)
};
#endif //!HSULISTBOXES
Last change: Sat May 22 13:13:04 2010
Last generated: 2010-05-22 13:13
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.