📄 about.h
字号:
/* WebDownloader for X-Window * Copyright (C) 1999-2002 Koshelev Maxim * This Program is free but not GPL!!! You can't modify it * without agreement with author. You can't distribute modified * program but you can distribute unmodified program. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */#ifndef MY_GTK_ABOUT#define MY_GTK_ABOUTvoid init_about_window(...);void destroy_about_window();struct tDialog{ GtkWidget *window; GtkWidget *ok_button; tDialog(); virtual void done(); void set_modal(GtkWidget *window); virtual ~tDialog();};struct tDialogWidget:public tDialog{ GtkWidget *label; GtkWidget *cancel_button; GtkWidget *mainvbox; tDialogWidget(); virtual int init(char *ask,char *title); ~tDialogWidget(); protected: virtual void create(char *ask,char *title);};struct tStringDialog:public tDialog{ GtkWidget *entry; GtkWidget *frame; tStringDialog(); int init(char *str,char *title,char *frame_title=(char *)NULL); ~tStringDialog();};struct tConfirmedDialog:public tDialogWidget{ GtkWidget *check; tConfirmedDialog(); int init(char *ask,char *title); ~tConfirmedDialog();};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -