winmain.h
来自「3D数学基础:图形与游戏开发书籍源码,里面有很多实用的代码,对做3D的同志很有意」· C头文件 代码 · 共 40 行
H
40 行
/////////////////////////////////////////////////////////////////////////////
//
// 3D Math Primer for Games and Graphics Development
//
// WinMain.h - Windows common stuff
//
// Visit gamemath.com for the latest version of this file.
//
/////////////////////////////////////////////////////////////////////////////
#ifndef __WINMAIN_H_INCLUDED__
#define __WINMAIN_H_INCLUDED__
#include <windows.h>
// Main application window handle
extern HWND gHwndApp;
// Main application instance handle
extern HINSTANCE gHInstApp;
// Should our program idle when we are in the background?
extern bool gIdleInBackground;
// Create/destroy the main application window
void createAppWindow(const char *title);
void destroyAppWindow();
// Perform per-frame tasks. This is called from toggle()
void idle();
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?