2022-11-07 17:06:11 +00:00
|
|
|
#ifndef _CGUIGROUP
|
|
|
|
#define _CGUIGROUP
|
|
|
|
|
|
|
|
#include "GuiSys/CGuiCompoundWidget.hpp"
|
|
|
|
|
|
|
|
class CGuiGroup : public CGuiCompoundWidget {
|
|
|
|
public:
|
2023-02-06 17:01:01 +00:00
|
|
|
FourCC GetWidgetTypeID() const override { return 'GRUP'; }
|
2022-11-07 17:06:11 +00:00
|
|
|
|
|
|
|
void SelectWorkerWidget(int workerId, bool setActive, bool setVisible);
|
|
|
|
CGuiWidget* GetSelectedWidget();
|
|
|
|
const CGuiWidget* GetSelectedWidget() const;
|
2023-02-06 17:01:01 +00:00
|
|
|
bool AddWorkerWidget(CGuiWidget* worker) override;
|
|
|
|
void OnActivate() override;
|
2022-11-07 17:06:11 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
uint xb8_workerCount;
|
|
|
|
int xbc_selectedWorker;
|
|
|
|
bool xc0_b;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _CGUIGROUP
|