| | |
| | | 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); |
| | | 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(); |
| | | |
| | | |
| | | }; |
| | | |