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
| #pragma once
| #include <wx/wx.h>
| #include<list>
| #include "DataStruct.h"
| #include "../common_nopch/WidgetsRenderUtil.h"
| class TradeQueueListControl : public wxControl {
| private:
| std::list<TradeQueue> queueList;
| int contentHeight;// ÄÚÈݵĸ߶È
| bool suitHeight;
| wxSize queueItemSize;
|
|
|
| public:
| TradeQueueListControl(wxWindow* parent, wxWindowID id,
| const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,wxSize queueItemSize = wxSize(50,22));
|
| void OnPaint(wxPaintEvent& event);
|
| void setTradeQueue(std::list<TradeQueue> queueList);
|
| int getContentHeight();
|
| int getDataCount();
|
|
| };
|
|