blob: 98cf71d56496a827967a10eabfcf4d38a1068a7f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
/*
client/trademenu.h
This file is part of the Osirion project and is distributed under
the terms of the GNU General Public License version 2
*/
#ifndef __INCLUDED_CLIENT_TRADEMENU_H__
#define __INCLUDED_CLIENT_TRADEMENU_H__
#include "core/info.h"
#include "ui/container.h"
#include "ui/label.h"
#include "ui/listview.h"
#include "ui/widget.h"
namespace client
{
/// trade menu
class TradeMenu : public ui::Window
{
public:
/// create a new trade menu
TradeMenu(ui::Widget *parent, const char * label = 0);
~TradeMenu();
protected:
/// resize event
virtual void resize();
private:
ui::Window *menu_tradewindow;
ui::ListView *menu_listview;
ui::ScrollPane *menu_scrollpane;
ui::Button *menu_closebutton;
core::Info *menu_inforecord;
ui::Text menu_infotext;
unsigned long menu_infotimestamp;
};
}
#endif // __INCLUDED_CLIENT_TRADEMENU_H__
|