📄 axesp.h
字号:
/* Copyright (c) Colorado School of Mines, 1990./* All rights reserved. *//******************************************************************************AxesP.h: Private header file for Axes Widget*******************************************************************************Author: Dave Hale, Colorado School of Mines, 08/28/90******************************************************************************/#ifndef AXESP_H#define AXESP_Htypedef struct _XcwpAxesClassPart { int ignore;} XcwpAxesClassPart;typedef struct _XcwpAxesClassRec { CoreClassPart core_class; XcwpAxesClassPart axes_class;} XcwpAxesClassRec;extern XcwpAxesClassRec XcwpaxesClassRec;typedef struct _XcwpAxesPart { int style; /* normal or seismic */ Position x,y; /* axes box upper-left corner */ Dimension width,height; /* axes box dimensions */ float x1beg,x1end; /* axes values for dimension 1 */ float x2beg,x2end; /* axes values for dimension 2 */ float p1beg,p1end; /* axes pads for dimension 1 */ float p2beg,p2end; /* axes pads for dimension 2 */ int grid1,grid2; /* none, dot, dash, or solid */ int n1tic,n2tic; /* tics per numbered tic */ char *label1,*label2; /* axes labels */ char *title; /* axes title */ Pixel axescolor; /* for box, tics, and labels */ Pixel gridcolor; /* for grid lines */ Pixel titlecolor; /* for grid lines */ Font labelfont; /* font for axes labels */ Font titlefont; /* font for title */ XtCallbackList resize; /* callback list */ XtCallbackList expose; /* callback list */ XtCallbackList input; /* callback list */} XcwpAxesPart;typedef struct _XcwpAxesRec { CorePart core; XcwpAxesPart axes;} XcwpAxesRec;#endif /* AXESP_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -