UIObject(float x, float y, float width, float height)
Definition: UIObject.cpp:6
unsigned int GLuint
Definition: glew.h:276
glm::vec2 position
Definition: UIObject.h:20
GLint GLint GLint GLint GLint GLint y
Definition: glew.h:1251
glm::vec2 dimensions
Definition: UIObject.h:18
GLuint shader
Definition: glew.h:1812
glm::vec2 convertToOpenGLCoordinate(glm::vec2 coordinates)
Definition: UIObject.cpp:227
void draw(Shader *shader)
Definition: UIObject.cpp:244
GLuint obj
Definition: UIObject.h:16
A class for the UI Objects.
Definition: UIObject.h:12
Creates a Shader for use with OpenGL. Creates a Shader from an text file, this can then be used with ...
Definition: Shader.h:13
GLint GLint GLint GLint GLint x
Definition: glew.h:1251
GLint GLint GLint GLint GLint GLint GLsizei GLsizei height
Definition: glew.h:1251
GLuint textureID
Definition: UIObject.h:22
void initialiseTexture(SDL_Surface *surfac)
Definition: UIObject.cpp:165
GLint GLint GLint GLint GLint GLint GLsizei width
Definition: glew.h:1251
~UIObject()
Definition: UIObject.cpp:42
bool textureBool
Definition: UIObject.h:24
void initialiseObject()
Definition: UIObject.cpp:52