Mana
Loading...
Searching...
No Matches
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
25class Being;
26class Label;
27
31class 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:
48};
A popup that displays information about a being.
Definition beingpopup.h:32
Label * mBeingParty
Definition beingpopup.h:47
void show(int x, int y, Being *b)
Sets the info to be displayed given a particular player.
Label * mBeingName
Definition beingpopup.h:46
~BeingPopup() override
Definition being.h:65
Label widget.
Definition label.h:34
A light version of the Window class.
Definition popup.h:48