prime/include/GuiSys/CGuiGroup.hpp

23 lines
535 B
C++
Raw Normal View History

2022-11-07 17:06:11 +00:00
#ifndef _CGUIGROUP
#define _CGUIGROUP
#include "GuiSys/CGuiCompoundWidget.hpp"
class CGuiGroup : public CGuiCompoundWidget {
public:
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;
2023-01-19 09:15:00 +00:00
void OnActivate() override;
2022-11-07 17:06:11 +00:00
private:
uint xb8_workerCount;
int xbc_selectedWorker;
bool xc0_b;
};
#endif // _CGUIGROUP