Fission FSN
Loading...
Searching...
No Matches
gfCWallpaperPopupGui.h
Go to the documentation of this file.
1/********************************************************************
2*
3* File: gfCWallpaperPopupGui.h
4*
5* Purpose: Product information popup with purchase button
6*
7*********************************************************************/
8
9#ifndef gfCWallpaperPopupGuihdr
10#define gfCWallpaperPopupGuihdr
11
13
16class gfCWallpaperGui;
17
19{
20 friend class fsCComponentFactory;
21
22 fsBool onButtonClicked(fsCButtonComponent* pButtonComp) override;
23
24public:
25
26 static const fsCUniqueId mTypeId;
27
28 void informationSetFromItem(gfCWallpaperGui* pShop, const gfICatalogueEntry* pShopItem);
29
30protected:
31
32 virtual void onPurchase();
33
34 static fsIComponent* create(fsCEntity* pParent);
35
37 virtual ~gfCWallpaperPopupGui();
38
40
41private:
42
43 static fsStr infoStrGet(const fsStr& pKey);
44};
45
46#endif
Definition fsCButtonComponent.h:26
Definition fsCEntity.h:39
Definition fsCUniqueId.h:21
fsIComponent(fsCEntity *pParent)
Definition fsIComponent.cpp:86
fsIGuiComponent(fsCEntity *pParent)
Definition fsIGuiComponent.cpp:726
Definition fsStr.h:23
Definition gfCCatalogueItem.h:16
Definition gfCWallpaperGui.h:17
friend class fsCComponentFactory
Definition gfCWallpaperPopupGui.h:20
void informationSetFromItem(gfCWallpaperGui *pShop, const gfICatalogueEntry *pShopItem)
Definition gfCWallpaperPopupGui.cpp:17
const gfCCatalogueItem * mShopItem
Definition gfCWallpaperPopupGui.h:39
virtual void onPurchase()
Definition gfCWallpaperPopupGui.cpp:55
virtual ~gfCWallpaperPopupGui()
Definition gfCWallpaperPopupGui.cpp:71
static fsIComponent * create(fsCEntity *pParent)
Definition gfCWallpaperPopupGui.cpp:60
static const fsCUniqueId mTypeId
Definition gfCWallpaperPopupGui.h:26
gfCWallpaperPopupGui(fsCEntity *pParent)
Definition gfCWallpaperPopupGui.cpp:65
Definition gfICatalogueEntry.h:18
bool fsBool
Definition fsBaseTypes.h:26