main.h

来自「monqueror一个很具有参考价值的源玛」· C头文件 代码 · 共 28 行

H
28
字号
#ifndef __main_h__#define __main_h__// ---------- this section is for system setup --------------------#define CONF_FILENAME	"browser.conf"	// configure file// ------------------- system setup section ends ------------------// --------- this section is for tool bar -------------------------// if you add or remove the id, should change the code in main.c#define BMP_W  	        30      		// bitmap width for toolbar#define BMP_H			20     			// bitmap hight for toolbar#define BMP_PATH		"res/"#define TOOLBAR_NUMBER	6				// the number of bitmap in toolbar#define TOOLBAR_BASE	1000			// the initial ID for tool bar#define IDM_BACK		TOOLBAR_BASE + 0#define IDM_FORWARD		TOOLBAR_BASE + 1#define IDM_HOME		TOOLBAR_BASE + 2#define	IDM_RELOAD		TOOLBAR_BASE + 3#define IDM_STOP		TOOLBAR_BASE + 4#define IDM_OPTION		TOOLBAR_BASE + 5 // ------------- Tool bar section ends ----------------------------void InitGlobalInfo(MainWndAttr *);void OpenHTMLFile(HWND);            // open a file from menu.#endif // __main_h__

⌨️ 快捷键说明

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