mirror of https://github.com/PrimeDecomp/prime.git
23 lines
508 B
C++
23 lines
508 B
C++
#ifndef _CGUIGROUP
|
|
#define _CGUIGROUP
|
|
|
|
#include "GuiSys/CGuiCompoundWidget.hpp"
|
|
|
|
class CGuiGroup : public CGuiCompoundWidget {
|
|
public:
|
|
FourCC GetWidgetTypeID() const { return 'GRUP'; }
|
|
|
|
void SelectWorkerWidget(int workerId, bool setActive, bool setVisible);
|
|
CGuiWidget* GetSelectedWidget();
|
|
const CGuiWidget* GetSelectedWidget() const;
|
|
bool AddWorkerWidget(CGuiWidget* worker);
|
|
void OnActivate();
|
|
|
|
private:
|
|
uint xb8_workerCount;
|
|
int xbc_selectedWorker;
|
|
bool xc0_b;
|
|
};
|
|
|
|
#endif // _CGUIGROUP
|