public void render(TrueTypeFont font) {
		glDisable(GL_ALPHA_TEST);
		if(state == "up")
			glColor3f(57 / 255.0f, 65 / 255.0f, 101 / 255.0f);
		else if(state == "down")
			glColor3f(72 / 255.0f, 57 / 255.0f, 101 / 255.0f);
		else if(state == "hover")
			glColor3f(80 / 255.0f, 88 / 255.0f, 124 / 255.0f);

		glRecti(rect.getX(), rect.getY(), rect.getX() + rect.getWidth(), rect.getY() + rect.getHeight());
		glEnable(GL_ALPHA_TEST);

		font.drawString(rect.getX() + xshift, rect.getY() + yshift, text, Color.white);
	}