41 lines
678 B
C
41 lines
678 B
C
|
#pragma once
|
|||
|
|
|||
|
|
|||
|
// C runtime header
|
|||
|
#include <stdlib.h>
|
|||
|
#include <malloc.h>
|
|||
|
#include <memory.h>
|
|||
|
#include <tchar.h>
|
|||
|
|
|||
|
// base header
|
|||
|
#include "base/base.h"
|
|||
|
|
|||
|
// duilib
|
|||
|
#include "duilib/UIlib.h"
|
|||
|
|
|||
|
// ui components
|
|||
|
#include "ui_components/ui_components.h"
|
|||
|
|
|||
|
// <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>
|
|||
|
void InitSubControls(const std::wstring& img, const std::wstring& title);
|
|||
|
|
|||
|
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_;
|
|||
|
};
|
|||
|
|