Guest User

Untitled

a guest
Jan 19th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. //this is how it is defined -
  2.  
  3. typedef struct
  4. {
  5. menucommon_s generic;
  6.  
  7. float minvalue;
  8. float maxvalue;
  9. float curvalue;
  10.  
  11. float range;
  12. } menuslider_s;
  13.  
  14. //but if it was like this it wouldn't work, correct?
  15.  
  16. typedef struct
  17. {
  18. float minvalue;
  19. float maxvalue;
  20.  
  21. menucommon_s generic;
  22.  
  23. float curvalue;
  24.  
  25. float range;
  26. } menuslider_s;
Add Comment
Please, Sign In to add comment