📄 dialog_frame.h
字号:
#ifndef _DIALOG_FRAME_H
#define _DIALOG_FRAME_H
#include <ncurses.h>
#include "button.h"
#include "frame.h"
#include "input.h"
#include "link.h"
typedef struct dialog
{
FRAME **f;
INPUT **i;
BUTTON **b;
LINK *link;
char **str;
void (*show)(struct dialog *,void (*fun)(void *));
void (*free)(struct dialog **,void (*fun)(void **));
int (*control)(struct dialog *,int (*fun)(void *));
}DIALOG;
DIALOG *create_dialog(FRAME **f,INPUT **i,BUTTON **b,char **str,LINK *link);
#endif /*_DIALOG_FRAME_H*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -