Crossfire Server, Branches 1.12
R18729
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
CRETreeItemTreasure.cpp
Go to the documentation of this file.
1
extern
"C"
{
2
#include "
global.h
"
3
#include "
treasure.h
"
4
}
5
6
#include "
CRETreasurePanel.h
"
7
#include "
CRETreeItemTreasure.h
"
8
9
CRETreeItemTreasure::CRETreeItemTreasure
(
const
treasurelist
*
treasure
)
10
{
11
myTreasure
=
treasure
;
12
}
13
14
CRETreeItemTreasure::~CRETreeItemTreasure
()
15
{
16
}
17
18
void
CRETreeItemTreasure::fillPanel
(QWidget* panel)
19
{
20
CRETreasurePanel
* p =
static_cast<
CRETreasurePanel
*
>
(panel);
21
p->
setTreasure
(
myTreasure
);
22
}
CRETreasurePanel
Definition:
CRETreasurePanel.h:11
treasureliststruct
Definition:
treasure.h:111
treasurestruct
Definition:
treasure.h:92
global.h
CRETreasurePanel.h
CRETreeItemTreasure::CRETreeItemTreasure
CRETreeItemTreasure(const treasurelist *treasure)
Definition:
CRETreeItemTreasure.cpp:9
treasure.h
CRETreeItemTreasure::fillPanel
virtual void fillPanel(QWidget *panel)
Definition:
CRETreeItemTreasure.cpp:18
CRETreeItemTreasure::~CRETreeItemTreasure
virtual ~CRETreeItemTreasure()
Definition:
CRETreeItemTreasure.cpp:14
CRETreasurePanel::setTreasure
void setTreasure(const treasurelist *treasure)
Definition:
CRETreasurePanel.cpp:22
treasure
struct treasurestruct treasure
CRETreeItemTreasure::myTreasure
const treasurelist * myTreasure
Definition:
CRETreeItemTreasure.h:23
CRETreeItemTreasure.h
crossfire-code
server
branches
1.12
utils
cre
CRETreeItemTreasure.cpp
Generated on Sun Nov 18 2018 02:40:30 for Crossfire Server, Branches 1.12 by
1.8.6