pplugins/pui/textures.h

32 lines
406 B
C

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