📄 glviewer.h
字号:
//GLViewer.h#ifndef GLVIEWER_H#define GLVIEWER_H#include "Node.h"class GLViewer{ public: GLViewer(); ~GLViewer(); void CreateWin(char *Name, int Width, int Height); //set buffer, backcolor void SetValue(Enum PName, Enum Type); void Init(int argc, char **argv); void Show(Node *N); private: void GLInit(); int ViewerIndex; char *WinName; float BackColor[3]; static Node *Root[3]; static int ViewerNum; static int BufType[3]; static int WinWidth[3]; static int WinHeight[3]; static void Reshape0(int w, int h); static void Display0(); static void Reshape1(int w, int h); static void Display1(); static void Reshape2(int w, int h); static void Display2(); };#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -