winmain.h

来自「通过人工智能算法快速实现神经网络识别」· C头文件 代码 · 共 31 行

H
31
字号
#ifndef _WINMAINHEADER
#define _WINMAINHEADER


// Windows Header Files:
#include <windows.h>
#include <windef.h>
#include <commctrl.h>
#include <commdlg.h>
#include <wingdi.h> 

#define	_WINWIDTH	1024
#define	_WINHEIGHT	768

extern	bool	ShowTrails;
extern	bool	ShowVectors;
extern	bool	BasicChase;
extern	bool	BasicEvade;
extern	bool	InterceptChase;
extern	bool	PotentialChase;


void	CopyBackBufferToWindow(void);
void	DrawLine(int x1, int y1, int x2, int y2, int thk, COLORREF clr);
void	DrawRectangle(RECT *r, int thk, COLORREF borderCLR, COLORREF fillCLR);
void	DrawEllipse(RECT *r, int thk, COLORREF clr);
void	ClearBackBuffer(void);
BOOL	IsKeyDown(short KeyCode);


#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?