📄 globals.h
字号:
/* ------------- GLOBALS HERE ----------------------- */typedef struct{ int what2plot, plotline, unitaspect;} PLOTOPT;#ifdef _MAIN_/* The number of our GLUT window */int window; /* rotation angle for the triangle. */float scene_x = 0.0f;float scene_y = 0.0f;float scene_z = 0.0f;int rclick = 0; // false// number of samples in ring buffer (needs to be multiple of NOFCHN)int numSamples = CHN_RBUF_LEN; // selected channelint ch = 0; /* plot type string */char plotType[32];/* data to plot, comma separated list */char *plotDataList[16];char plotDataListRaw[64];int numDataItems;int yNewHead=0;int W=320, H=320;int stop=FALSE;#else/* The number of our GLUT window */extern int window; /* rotation angle for the triangle. */extern float scene_x;extern float scene_y;extern float scene_z;extern int rclick; //falseextern int numSamples;extern int ch;/* plot type string */extern char plotType[];/* data to plot, comma separated list */extern char *plotDataList[];extern char plotDataListRaw[];extern int numDataItems;extern int yNewHead;extern int W, H;extern int stop;#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -