📄 roll_frame.h
字号:
#ifndef _ROLL_FRAME_H
#define _ROLL_FRAME_H
#include <ncurses.h>
#include "link.h"
#include "input.h"
#include "frame.h"
#include "message.h"
#include "control_db.h"
typedef struct roll_frame
{
WINDOW *win;
LINK *link;
FRAME *f;
INPUT *i;
int startXY[2];
int height_and_length[2];
int current_place;
int current_suffix;
int (*get_input_string)(struct roll_frame *);
void (*print_info)(struct roll_frame *,EMP *);
void (*free)(struct roll_frame **);
}ROLL;
typedef struct goods_msg
{
int num;
char bar_code[7];
}GMSG;
typedef struct hang_up
{
LINK *link;
char date[15];
char number[5];
}HMSG;
void insert_to_roll(ROLL *r,GMSG *msg);
ROLL *create_roll(LINK *l,INPUT *ip,int x,int y,int h,int len,int color);
#endif /*_ROLL_FRAME_H*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -