prime/include/GuiSys/CGuiGroup.hpp

23 lines
588 B
C++
Raw Normal View History

#ifndef _CGUIGROUP
#define _CGUIGROUP
#include "GuiSys/CGuiCompoundWidget.hpp"
class CGuiGroup : public CGuiCompoundWidget {
public:
CGuiGroup(const CGuiWidgetParms& parms, int, bool);
FourCC GetWidgetTypeID() const override { return 'GRUP'; }
void SelectWorkerWidget(int workerId, bool setActive, bool setVisible);
CGuiWidget* GetSelectedWidget();
const CGuiWidget* GetSelectedWidget() const;
bool AddWorkerWidget(CGuiWidget* worker) override;
void OnActivate() override;
private:
uint xb8_workerCount;
int xbc_selectedWorker;
bool xc0_b;
};
#endif // _CGUIGROUP