📄 utils.h
字号:
#pragma once
#include "Color.h"
//#include "AutoFont.h"
#include <math.h>
#include "PerfTimer.h"
#include "AutoFont.h"
int RandomInteger(int x,int y);
double RandomFloat();
bool RandBool();
enum ViewMode{vmTour,vmGraph,vmAll};
enum PlotMode {pmCircular,pmRandom};
class CGlobals
{
public:
static int WIN_WIDTH;
static int WIN_HEIGHT;
static CPerfTimer TIMER;
static long INFINITY;
static double EPSILON;
static double PI;
};
extern CAutoFont gFont;
//extern CPerfTimer Timer;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -