📄 userlist_view.h
字号:
/*
Simple GUI & Network demo application,
Copyright (c) 2000 by Magnus Norddahl and Kenneth Gangstoe.
*/
#ifndef _USERLIST_VIEW_H_
#define _USERLIST_VIEW_H_
#include "mainframe.h"
#include "view.h"
class UserListView : public View
{
public:
// Construction:
UserListView(MainFrame *parent);
~UserListView();
// Attributes:
// Operations:
// Signals:
// implementation:
private:
// The list of users
CL_ListBox *list;
// events:
void on_paint();
CL_Slot slot_paint;
void on_user_added(const std::string &user);
CL_Slot slot_user_added;
void on_user_removed(const std::string &user);
CL_Slot slot_user_removed;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -