11 #ifndef RNA3D_OPENGLGRAPHICS_HXX
12 #define RNA3D_OPENGLGRAPHICS_HXX
17 ColorRGBf(
float r,
float g,
float b) { red = r; green = g; blue = b; }
20 if ((red == c.
red) && (green == c.
green) && (blue == c.
blue)) {
35 virtual ~OpenGLGraphics();
38 void ScreenToWinCoordinates(
int x,
int y, GLdouble *winPos);
40 void PrintString(
float x,
float y,
float z,
char *
s,
void *font);
42 void init_font(GLuint base,
char* f);
43 void print_string(GLuint base,
char*
s);
44 void InitMainFont(
char* f);
46 void SetOpenGLBackGroundColor();
48 void SetColor(
int gc);
51 void DrawBox(
float x,
float y,
float width,
float height);
55 #error RNA3D_OpenGLGraphics.hxx included twice
56 #endif // RNA3D_OPENGLGRAPHICS_HXX
bool operator==(ColorRGBf c)
ColorRGBf ApplicationBGColor
void WinToScreenCoordinates(int x, int y, GLdouble *screenPos)
ColorRGBf(float r, float g, float b)
GB_write_int const char s