interface.h

来自「Linux 下察看 Chm 文件 的 源码」· C头文件 代码 · 共 65 行

H
65
字号
#ifndef __INTERFACE_H__#define __INTERFACE_H__typedef struct _ChmSee ChmSee;struct _ChmSee {	/* default window */	GtkWidget	*chmsee_window;		/* toolbar */	GtkWidget	*chmsee_toolbar_back;	GtkWidget	*chmsee_toolbar_search;	GtkWidget	*chmsee_toolbar_forward;	GtkWidget	*chmsee_toolbar_home;	GtkWidget	*chmsee_toolbar_small;	GtkWidget	*chmsee_toolbar_big;	GtkWidget	*chmsee_toolbar_reset;	GtkWidget	*chmsee_toolbar_showw;		/* notebook */	GtkWidget	*chm_pw;	GtkWidget	*nb_entry;	GtkWidget	*nb_button_contnts;	/* Contents */	GtkWidget	*chm_tree;		/* bookmark */	GtkWidget	*nb_bookmark_treeview;	GtkWidget	*nb_bookmark_entry;	GtkWidget	*nb_button_bookmark_add;	gchar		*bookmark_title;	const gchar	*bookmark_uri;	gchar		*bookmark_id;		/* htmlview */	GtkWidget	*chm_html;	GList		*link;	guint		link_pos;	gchar		*current_link;	gchar		*home_url;	const gchar	*hhc_name;	const gchar *current_codeset;		/* other */	gchar		*tmpdir;	gchar		*last_dir;	gchar		*bookmarks;	gchar		*last_chm;	const gchar	*chm_name;};enum {	TITLE_COLUMN,	FILENAME_COLUMN,	ID_COLUMN,	NUM_COLUMNS};ChmSee *create_main_window ();#endif /* __INTERFACE_H__ */

⌨️ 快捷键说明

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