bcsubwindow.h

来自「用你的语音Modem实现像电话一样通话的程序」· C头文件 代码 · 共 57 行

H
57
字号
#ifndef BCSUBWINDOW_H#define BCSUBWINDOW_Hclass BC_SubWindow;class BC_SubWindows;class BC_SubWindowItem;class BC_SubWindowList;#include "bcwindowbase.h"#include "linklist.h"class BC_SubWindow : public BC_WindowBase{public:	BC_SubWindow() {};// create the data for a subwindow to a window	BC_SubWindow(int x, int y, int w, int h, int color);// destroy the subwindow	virtual ~BC_SubWindow();// user routines specific to subwindows	change_x(int distance);                   // change the x position of this window	change_y(int distance);                   // change the y position of this window// ========== called by the parent window to actually create this window	create_objects_(BC_Window *top_level, BC_WindowBase *parent_window);// create the subwindow window	create_window();	BC_SubWindowItem *subwindow_item;      // list item to delete when this is deleted};class BC_SubWindowItem : public ListItem<BC_SubWindowItem>{public:	BC_SubWindowItem(BC_SubWindow *pointer);	~BC_SubWindowItem();		BC_SubWindow *pointer;};class BC_SubWindowList : public List<BC_SubWindowItem>{public:	BC_SubWindowList();	~BC_SubWindowList();		append(BC_SubWindow *subwindow);	remove(BC_SubWindow *subwindow);};#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?