📄 font.h
字号:
#ifdef __cplusplus
extern "C" {
#endif
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
//#include "winmain.h"
#include <gl\gl.h>
#include <gl\glu.h>
#include <gl\glaux.h>
#define MAX_CHARS 256
void CreateOpenGLFont(LPSTR strFontName, int height);
void PositionText( int x, int y );
void glDrawText(int x, int y, const char *strString, ...);
void DestroyFont();
void ShowLabelText(int x, int y, char * OutString, int r, int g, int b);
void ShowLabelInt(int x, int y, int mes, int r, int g, int b);
#ifdef __cplusplus
}
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -