备份
This commit is contained in:
38
demo/kugou/widgets.h
Normal file
38
demo/kugou/widgets.h
Normal file
@@ -0,0 +1,38 @@
|
||||
#pragma once
|
||||
#include "global.h"
|
||||
/// <summary>
|
||||
/// 左侧本地歌曲列表中的Item
|
||||
/// </summary>
|
||||
class LocalItem :public HBox {
|
||||
public:
|
||||
Label songName;
|
||||
Label time;
|
||||
Label del;
|
||||
virtual ~LocalItem();
|
||||
LocalItem(const UIString& _songName, const UIString& _songTime = "03:56");
|
||||
};
|
||||
/// <summary>
|
||||
/// 搜索列表中的Item
|
||||
/// </summary>
|
||||
class SearchItem :public HBox {
|
||||
Label songName;
|
||||
Label AlbumName;
|
||||
Label mv;
|
||||
Label time;
|
||||
Song song;
|
||||
Label del;
|
||||
public:
|
||||
virtual ~SearchItem();
|
||||
SearchItem(const Song& s);
|
||||
};
|
||||
|
||||
//登录窗口
|
||||
class LoginFrm :public LayeredWindow {
|
||||
UIManager umg;
|
||||
protected:
|
||||
virtual void OnNotify(Control* sender, EventArgs& args)override;
|
||||
public:
|
||||
//保存用户名
|
||||
UIString m_userName;
|
||||
LoginFrm(HWND owner);
|
||||
};
|
||||
Reference in New Issue
Block a user