chart.h
来自「开放源码的编译器open watcom 1.6.0版的源代码」· C头文件 代码 · 共 30 行
H
30 行
typedef HANDLE chart_hld;
#ifdef __WINDOWS_386__
#define ChartAdd( fetch_data ) \
InvokeIndirectFunction( ChartAddHandle, fetch_data )
#define ChartDraw( chart, win_hld, win_dc ) \
InvokeIndirectFunction( ChartDrawHandle, chart, win_hld, win_dc )
#define ChartBarClick( x, y, chart ) \
InvokeIndirectFunction( ChartBarClickHandle, x, y, chart )
#define ChartSetBarColor( bar, color, chart ) \
InvokeIndirectFunction( ChartSetBarColorHandle, bar, color, chart )
#define ChartGetBarColor( bar, chart ) \
InvokeIndirectFunction( ChartGetBarColorHandle, bar, chart )
#define ChartDelete( chart ) \
InvokeIndirectFunction( ChartDeleteHandle, chart )
#define ChartCloseUse() InvokeIndirectFunction( ChartCloseUseHandle )
#define ChartInitUse() InvokeIndirectFunction( ChartInitUseHandle )
#else
#define WINEXP __export FAR PASCAL
chart_hld WINEXP ChartAdd( FARPROC fetch_data );
BOOL WINEXP ChartDraw( chart_hld chart, HWND win_hld, HDC win_dc );
int WINEXP ChartBarClick( int x, int y, chart_hld chart );
BOOL WINEXP ChartSetBarColor( int bar, COLORREF color, chart_hld chart );
COLORREF WINEXP ChartGetBarColor( int bar, chart_hld chart );
BOOL WINEXP ChartDelete( chart_hld chart );
void WINEXP ChartCloseUse( void );
void WINEXP ChartInitUse( void );
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?