头文件
#include <d3d9.h>
#include <d3dx9.h>
#include <dwmapi.h>
#pragma comment(lib, "d3d9.lib")
#pragma comment(lib, "d3dx9.lib")
#pragma comment(lib, "dwmapi.lib")
#include "imgui/imgui.h"
#include "imgui/imgui_impl_dx9.h"
#include "imgui/imgui_impl_win32.h"
typedef struct {
BYTE R, G, B, A;
}RGBA;
//画矩形,文字之类的单独放在这个函数里
typedef void(*Draw)();
static Draw Render;
static Draw DrawMenu;
#define KEY_DOWN(VK_NONAME) ((GetAsyncKeyState(VK_NONAME) & 0x8000) ? 1:0)
extern void CreateWindowAndInitImGui(HWND GameHwnd, Draw WndDraw, Draw DrawMenu);
void MessageWhile();
void DrawBox(int x, int y, int w, int h, RGBA color, float T);
void DrawCircle(int