Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef __OUT_H__
- #define __OUT_H__
- #define NUM_IMAGES 4
- typedef struct imgs {
- char *name;
- float x, y, w, h;
- };
- imgs out[NUM_IMAGES] = {
- { "somefile1.png", 0.0f, 0.0f, 0.5f, 0.5f },
- { "somefile2.png", 0.5f, 0.0f, 1.0f, 0.5f },
- { "somefile3.png", 0.0f, 0.5f, 0.5f, 1.0f },
- { "somefile4.png", 0.5f, 0.5f, 1.0f, 1.0f },
- };
- #endif /* __OUT_H__ */
Add Comment
Please, Sign In to add comment