📄 dispbar.h
字号:
#ifndef _BAR_H
#define _BAR_H
#define HH_BMP 0
#define H_BMP 1
#define L_BMP 2
#define LL_BMP 3
//棒图相关结构
//用于对棒图显示模式组态
typedef struct{
int h_limit;//500 棒图显示范围的上限,与PV值对应
int l_limit;//5 下限 inited in the bar.c
gal_pixel barcolor;//本 通道棒图颜色
} BARSTRU;
BARSTRU * barstru;
gal_pixel bar_rect_color;
gal_pixel bar_text_color;
gal_pixel bar_back_color;
#define TOPBAROFFSET 10;
void BarDisplayInit(HDC hdc,int channel);
void DrawBar(HDC hdc,int first,int n,int addr_x,int addr_h);
void DispStat(HDC hdc,int mode);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -