Mana
Loading...
Searching...
No Matches
src
gui
beingpopup.h
Go to the documentation of this file.
1
/*
2
* The Mana Client
3
* Copyright (C) 2010-2012 The Mana Developers
4
*
5
* This file is part of The Mana Client.
6
*
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* any later version.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <http://www.gnu.org/licenses/>.
19
*/
20
21
#pragma once
22
23
#include "
gui/widgets/popup.h
"
24
25
class
Being
;
26
class
Label
;
27
31
class
BeingPopup
:
public
Popup
32
{
33
public
:
34
BeingPopup
();
35
36
~BeingPopup
()
override
;
37
41
void
show
(
int
x,
int
y,
Being
*b);
42
43
// TODO: Add a version for monsters, NPCs, etc?
44
45
private
:
46
Label
*
mBeingName
;
47
Label
*
mBeingParty
;
48
};
BeingPopup
A popup that displays information about a being.
Definition
beingpopup.h:32
BeingPopup::mBeingParty
Label * mBeingParty
Definition
beingpopup.h:47
BeingPopup::show
void show(int x, int y, Being *b)
Sets the info to be displayed given a particular player.
Definition
beingpopup.cpp:60
BeingPopup::mBeingName
Label * mBeingName
Definition
beingpopup.h:46
BeingPopup::~BeingPopup
~BeingPopup() override
BeingPopup::BeingPopup
BeingPopup()
Definition
beingpopup.cpp:35
Being
Definition
being.h:65
Label
Label widget.
Definition
label.h:34
Popup
A light version of the Window class.
Definition
popup.h:48
popup.h
Generated by
1.9.8