📄 gllocator.h
字号:
/*************************************************************************** gltorch.h - description ------------------- begin : Sat Sep 20 2003 copyright : (C) 2003 by Gabor Torok email : cctorok@yahoo.com ***************************************************************************//*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/#ifndef GLLOCATOR_H#define GLLOCATOR_H#include "glshape.h"class GLShape;/** *@author Gabor Torok */class GLLocator : public GLShape {private: public: GLLocator(GLuint texture[], int width, int depth, int height, char *name, int descriptionGroup, Uint32 color, GLuint display_list, Uint8 shapePalIndex=0); ~GLLocator(); void draw(); inline bool drawFirst() { return false; } // if true, the next two functions are called inline bool drawLater() { return true; } inline void setupBlending() { glBlendFunc(GL_SRC_ALPHA, GL_ONE); } protected:};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -