userlist_view.h

来自「这是一款2d游戏引擎」· C头文件 代码 · 共 43 行

H
43
字号
/*
	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 + =
减小字号Ctrl + -
显示快捷键?