Fission
FSN
Loading...
Searching...
No Matches
gameModules
gfCatalogue
src
wallpaper
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
12
#include <
fsAppCore/src/components/gui/fsIGuiComponent.h
>
13
14
class
gfICatalogueEntry
;
15
class
gfCCatalogueItem
;
16
class
gfCWallpaperGui
;
17
18
class
gfCWallpaperPopupGui
:
public
fsIGuiComponent
19
{
20
friend
class
fsCComponentFactory
;
21
22
fsBool
onButtonClicked(
fsCButtonComponent
* pButtonComp)
override
;
23
24
public
:
25
26
static
const
fsCUniqueId
mTypeId
;
27
28
void
informationSetFromItem
(
gfCWallpaperGui
* pShop,
const
gfICatalogueEntry
* pShopItem);
29
30
protected
:
31
32
virtual
void
onPurchase
();
33
34
static
fsIComponent
*
create
(
fsCEntity
* pParent);
35
36
gfCWallpaperPopupGui
(
fsCEntity
* pParent);
37
virtual
~gfCWallpaperPopupGui
();
38
39
const
gfCCatalogueItem
*
mShopItem
;
40
41
private
:
42
43
static
fsStr
infoStrGet(
const
fsStr
& pKey);
44
};
45
46
#endif
fsCButtonComponent
Definition
fsCButtonComponent.h:26
fsCEntity
Definition
fsCEntity.h:39
fsCUniqueId
Definition
fsCUniqueId.h:21
fsIComponent::fsIComponent
fsIComponent(fsCEntity *pParent)
Definition
fsIComponent.cpp:86
fsIGuiComponent::fsIGuiComponent
fsIGuiComponent(fsCEntity *pParent)
Definition
fsIGuiComponent.cpp:726
fsStr
Definition
fsStr.h:23
gfCCatalogueItem
Definition
gfCCatalogueItem.h:16
gfCWallpaperGui
Definition
gfCWallpaperGui.h:17
gfCWallpaperPopupGui::fsCComponentFactory
friend class fsCComponentFactory
Definition
gfCWallpaperPopupGui.h:20
gfCWallpaperPopupGui::informationSetFromItem
void informationSetFromItem(gfCWallpaperGui *pShop, const gfICatalogueEntry *pShopItem)
Definition
gfCWallpaperPopupGui.cpp:17
gfCWallpaperPopupGui::mShopItem
const gfCCatalogueItem * mShopItem
Definition
gfCWallpaperPopupGui.h:39
gfCWallpaperPopupGui::onPurchase
virtual void onPurchase()
Definition
gfCWallpaperPopupGui.cpp:55
gfCWallpaperPopupGui::~gfCWallpaperPopupGui
virtual ~gfCWallpaperPopupGui()
Definition
gfCWallpaperPopupGui.cpp:71
gfCWallpaperPopupGui::create
static fsIComponent * create(fsCEntity *pParent)
Definition
gfCWallpaperPopupGui.cpp:60
gfCWallpaperPopupGui::mTypeId
static const fsCUniqueId mTypeId
Definition
gfCWallpaperPopupGui.h:26
gfCWallpaperPopupGui::gfCWallpaperPopupGui
gfCWallpaperPopupGui(fsCEntity *pParent)
Definition
gfCWallpaperPopupGui.cpp:65
gfICatalogueEntry
Definition
gfICatalogueEntry.h:18
fsIGuiComponent.h
fsBool
bool fsBool
Definition
fsBaseTypes.h:26
Generated on
for Fission by
1.16.1