Fission FSN
Loading...
Searching...
No Matches
gfCParkBuildingInfoGui.h
Go to the documentation of this file.
1#ifndef gfCParkBuildingInfoGuihdr
2#define gfCParkBuildingInfoGuihdr
3
4#include <fsCore/fsStr.h>
7
8// Read-only view of a service slot. The caller sets the slot after creating
9// the GUI; the slot's current state is refreshed while the panel is open.
11{
12 friend class fsCComponentFactory;
13public:
14 static const fsCUniqueId mTypeId;
15 void slotNameSet(const fsStr& pSlotName);
16 void titleSet(const fsStr& pTitle);
17protected:
18 void updateDo(fsS32 pDeltaMs) override;
19 fsBool onButtonClicked(fsCButtonComponent* pButtonComp) override;
20 static fsIComponent* const create(fsCEntity* const pParent);
21 gfCParkBuildingInfoGui(fsCEntity* const pParent);
23private:
24 void displayRefresh();
25 void staffButtonHandle();
26 fsStr mSlotName;
27};
28#endif
Definition fsCButtonComponent.h:27
Definition fsCEntity.h:39
Definition fsCUniqueId.h:21
fsIComponent(fsCEntity *pParent)
Definition fsIComponent.cpp:86
fsIGuiComponent(fsCEntity *pParent)
Definition fsIGuiComponent.cpp:727
Definition fsStr.h:23
friend class fsCComponentFactory
Definition gfCParkBuildingInfoGui.h:12
fsBool onButtonClicked(fsCButtonComponent *pButtonComp) override
Definition gfCParkBuildingInfoGui.cpp:87
void titleSet(const fsStr &pTitle)
Definition gfCParkBuildingInfoGui.cpp:21
void slotNameSet(const fsStr &pSlotName)
Definition gfCParkBuildingInfoGui.cpp:15
virtual ~gfCParkBuildingInfoGui()
Definition gfCParkBuildingInfoGui.cpp:146
static fsIComponent *const create(fsCEntity *const pParent)
Definition gfCParkBuildingInfoGui.cpp:141
void updateDo(fsS32 pDeltaMs) override
Definition gfCParkBuildingInfoGui.cpp:27
gfCParkBuildingInfoGui(fsCEntity *const pParent)
Definition gfCParkBuildingInfoGui.cpp:145
static const fsCUniqueId mTypeId
Definition gfCParkBuildingInfoGui.h:14
bool fsBool
Definition fsBaseTypes.h:26
int fsS32
Definition fsBaseTypes.h:20