📄 editoptions.h
字号:
#ifndef LEARN_KEYS_H#define LEARN_KEYS_H#include "coolwidget.h"/* each command can be bound to three different keys */struct key_list { char key_name[64]; int command; unsigned int keycode0, state0; unsigned int keycode1, state1; unsigned int keycode2, state2;};#ifndef EDIT_OPTIONS_Cextern struct key_list klist[];#endifint get_defined_key (struct key_list k_list[], unsigned int state, unsigned int keycode);char *find_section (char *t, const char *section);#ifdef HAVE_MAD#define get_options_section(f,s) mad_get_options_section(f,s,__FILE__,__LINE__)char *mad_get_options_section (const char *file, const char *section, char *cfile, int line);#elsechar *get_options_section (const char *file, const char *section);#endifint save_options_section (const char *file, const char *section, const char *text);int load_user_defined_keys (struct key_list k_list[], const char *file);int save_user_defined_keys (struct key_list k_list[], const char *file);CWidget *Cdrawlearnkeys (Window parent, int x, int y, int width, int height);int user_defined_key (unsigned int state, unsigned int keycode, KeySym keysym);int load_keys (const char *file);void draw_switches_dialog (Window parent, int x, int y);struct key_list *get_command_list (void);#endif /* LEARN_KEYS_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -