xref: /haiku/src/apps/glteapot/FPS.h (revision be98a6028dd663b62c489fe10a7a1e8be2c32888)
1c8c44fa0SJérôme Duval /*
2c8c44fa0SJérôme Duval 	Copyright 1999, Be Incorporated.   All Rights Reserved.
3c8c44fa0SJérôme Duval 	This file may be used under the terms of the Be Sample Code License.
4c8c44fa0SJérôme Duval */
5c8c44fa0SJérôme Duval 
6c8c44fa0SJérôme Duval #include <GL/gl.h>
7c8c44fa0SJérôme Duval 
8*be98a602SStefano Ceccherini class FPS {
9c8c44fa0SJérôme Duval 	public:
10c8c44fa0SJérôme Duval 		FPS();
11c8c44fa0SJérôme Duval 		~FPS();
12c8c44fa0SJérôme Duval 
13c8c44fa0SJérôme Duval 		static void drawCounter(GLfloat frameRate);
14c8c44fa0SJérôme Duval 
15c8c44fa0SJérôme Duval 	private:
16c8c44fa0SJérôme Duval 		static void drawChar(GLfloat x, GLfloat y, GLint number);
17c8c44fa0SJérôme Duval };
18ca480700SJérôme Duval 
19