#ifndef NGUTILITIES_H
#define NGUTILITIES_H

// System Header Files --------------------
#ifdef _WIN32
#include <windows.h>
#endif // _WIN32
#include <iostream>
#include <string>
#include <gl/gl.h>
#include <gl/glu.h>
#include <sdl.h>
#include <FTGLExtrdFont.h>
#include <FTGLPixmapFont.h>

// Program Header Files -------------------
#include "glObjects.h"

namespace ngObjects
{
	static FTFont* fontData; // This gives me unresolved external in a class so its out here
	static FTFont* pixmapFontData; // This gives me unresolved external in a class so its out here
	class Font
	{
		public:
			Font(std::string fontFilePath, int size, float depth, bool extrudeFont, GLfloat r, GLfloat g, GLfloat b);
			Font(){fontOpen = false;}
			void open(std::string fontFilePath, int size, float depth, bool extrudeFont, GLfloat r, GLfloat g, GLfloat b);
			void render(std::string);
			void setColor(GLfloat r, GLfloat g, GLfloat b);
			void setSize(int size, float depth);
			bool isOpen(){return fontOpen;}
		private:
			char *renderString;
			bool fontOpen;
			glObjects::glMaterial material;

	};
}

#endif // NGUTILITIES_H
