Image library for all the graph. Just test
Diff: Image.h
- Revision:
- 5:2dfd00ecc02e
- Parent:
- 4:c594b8fa4925
- Child:
- 6:100377ba0900
diff -r c594b8fa4925 -r 2dfd00ecc02e Image.h --- a/Image.h Wed May 01 18:13:07 2019 +0000 +++ b/Image.h Mon May 06 13:17:38 2019 +0000 @@ -2,16 +2,20 @@ #define Image_H #include "mbed.h" #include "N5110.h" +#include "Rotate.h" #include "Global_my.h" #include <math.h> - +class Rotate; class Image { public: void draw_1(N5110 &lcd); void draw_2(N5110 &lcd); void draw_3(N5110 &lcd); + void hanging(int x, int y, const int *graph, N5110 &lcd, Image &Image, float time, int new_score, Rotate &Rotate, float angle, float speed, int sizex, int sizey); + void hanging_2(int x, int y, const int *graph, N5110 &lcd, Image &Image, float time, int new_score, Rotate &Rotate, float angle, float speed, int sizex, int sizey); + void hanging_3(int x, int y, const int *graph, N5110 &lcd, Image &Image, float time, int new_score, Rotate &Rotate, float angle, float speed, int sizex, int sizey); };