#ifndef TEXTURES_H #define TEXTURES_H enum { TEX_BACKTILE, TEX_BACKGLOW, TEX_SLIDER1, TEX_SLIDER1_PRE, TEX_TROUGH1, TEX_SLIDER2, TEX_SLIDER2_PRE, TEX_TROUGH2, TEX_KNOB, TEX_KNOB_PRE, TEX_KNOB_SEL, TEX_END, }; struct PTextures { bool initialised; GLuint tex[TEX_END]; int w[TEX_END]; int h[TEX_END]; FTFont *font; void InitTextures(); void BindTexture(int texture, int width, int height, const unsigned char *data, int format = GL_RGBA); }; #endif /* TEXTURES_H */