/TheElements/jni/points.h

http://thelements.googlecode.com/ · C Header · 22 lines · 10 code · 4 blank · 8 comment · 0 complexity · 61cb2c61870e3d1cf34a76a2114d889a MD5 · raw file

  1. /*
  2. * points.h
  3. * ----------------------------
  4. * Declares functions for manipulating data
  5. * for individual points, such as adding and
  6. * deleting points.
  7. */
  8. #ifndef POINTS_H_INCLUDED
  9. #define POINTS_H_INCLUDED
  10. //Include global variables
  11. #include "app.h"
  12. void CreatePoint(int k, int l, int e);
  13. void DeletePoint(int partnum);
  14. void setElement(int particle, int element);
  15. void setBitmapColor(int xpos, int ypos, int element);
  16. void createBitmapFromPoints(void);
  17. void unFreezeParticles(int xcentre, int ycentre);
  18. #endif