2019-07-06 12:45:48 +08:00
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
// <20><> ui::ListContainerElement <20>м̳<D0BC><CCB3><EFBFBD><EFBFBD>п<EFBFBD><D0BF>ù<EFBFBD><C3B9><EFBFBD>
|
|
|
|
|
class Item : public ui::ListContainerElement
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
Item();
|
|
|
|
|
~Item();
|
|
|
|
|
|
|
|
|
|
// <20>ṩ<EFBFBD>ⲿ<EFBFBD><E2B2BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ<EFBFBD><CABC> item <20><><EFBFBD><EFBFBD>
|
2019-07-06 19:42:04 +08:00
|
|
|
|
void InitSubControls(const std::wstring& img, const std::wstring& title, int nDataIndex);
|
2019-07-06 12:45:48 +08:00
|
|
|
|
private:
|
|
|
|
|
bool OnRemove(ui::EventArgs* args);
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
ui::ListBox* list_box_;
|
|
|
|
|
|
|
|
|
|
ui::Control* control_img_;
|
|
|
|
|
ui::Label* label_title_;
|
|
|
|
|
ui::Progress* progress_;
|
|
|
|
|
ui::Button* btn_del_;
|
|
|
|
|
int64_t t_time;
|
2019-07-06 19:42:04 +08:00
|
|
|
|
int m_nDataIndex;
|
2019-07-06 12:45:48 +08:00
|
|
|
|
};
|
|
|
|
|
|