daily pastebin goal
6%
SHARE
TWEET

Untitled

a guest Jan 13th, 2018 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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__ */
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top