bcprogressbox.h

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

H
65
字号
#ifndef BCPROGRESSBOX_H#define BCPROGRESSBOX_Hclass BC_ProgressWindow;class BC_ProgressBox;#include "bcbutton.h"#include "bckeys.h"#include "bcprogress.h"#include "bcsubwindow.h"#include "bctitle.h"#include "bcwindow.h"#include "thread.h"class BC_ProgressBox : public Thread{public:	BC_ProgressBox(char *display, char *text, long length, int cancel_button = 1);	virtual ~BC_ProgressBox();		void run();	update(long position);    // return 1 if cancelled	update_title(char *title);	update_length(long length);	cancelled();      // return 1 if cancelled		BC_ProgressWindow *pwindow;	char *display;	char *text;	long length;	int cancel_button;};class BC_ProgressWindowCancelButton;class BC_ProgressWindow : public BC_Window{public:	BC_ProgressWindow(char *display = "", int cancel_button = 1);	virtual ~BC_ProgressWindow();		create_objects(char *text, long length);	update(long position);    // return 1 if cancelled		char *text;	BC_ProgressBar *bar;	BC_ProgressWindowCancelButton *cancel;	BC_Title *caption;	int cancelled;	int cancel_button;};class BC_ProgressWindowCancelButton : public BC_BigButton{public:	BC_ProgressWindowCancelButton(BC_ProgressWindow *pwindow);		handle_event();	keypress_event();		BC_ProgressWindow *pwindow;};#endif

⌨️ 快捷键说明

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