📄 main.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -