Guest User

Untitled

a guest
Jan 13th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.38 KB | None | 0 0
  1. #ifndef __OUT_H__
  2. #define __OUT_H__
  3.  
  4. #define NUM_IMAGES  4
  5.  
  6. typedef struct imgs {
  7.     char *name;
  8.     float x, y, w, h;
  9. };
  10.  
  11. imgs out[NUM_IMAGES] = {
  12.     { "somefile1.png", 0.0f, 0.0f, 0.5f, 0.5f },
  13.     { "somefile2.png", 0.5f, 0.0f, 1.0f, 0.5f },
  14.     { "somefile3.png", 0.0f, 0.5f, 0.5f, 1.0f },
  15.     { "somefile4.png", 0.5f, 0.5f, 1.0f, 1.0f },
  16. };
  17.  
  18. #endif /* __OUT_H__ */
Add Comment
Please, Sign In to add comment