diff options
author | ZephyrLabs <65145081+ZephyrLabs@users.noreply.github.com> | 2020-12-03 20:57:54 +0530 |
---|---|---|
committer | ZephyrLabs <65145081+ZephyrLabs@users.noreply.github.com> | 2020-12-03 20:57:54 +0530 |
commit | ad1a99acac75dbcc5dd248cafdb67eadb04a67ae (patch) | |
tree | 1dd4c09119fe4c861395f853b09b670a70c8add3 /src/displayapp/screens/Paddle.h | |
parent | 09a94ee2b842e7a865cfaa1f04ba4db29879b1ea (diff) |
Update Paddle.h
bugfix: add missing class
Diffstat (limited to 'src/displayapp/screens/Paddle.h')
-rw-r--r-- | src/displayapp/screens/Paddle.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/displayapp/screens/Paddle.h b/src/displayapp/screens/Paddle.h index 09a188b4..6e910415 100644 --- a/src/displayapp/screens/Paddle.h +++ b/src/displayapp/screens/Paddle.h @@ -5,6 +5,9 @@ #include "Screen.h" namespace Pinetime { + namespace Components { + class LittleVgl; + } namespace Applications { namespace Screens { @@ -19,6 +22,8 @@ namespace Pinetime { bool OnTouchEvent(uint16_t x, uint16_t y) override; private: + Pinetime::Components::LittleVgl& lvgl; + const int x_paddle_bottom = 0; int y_paddle_bottom = 90; // bottom extreme of the paddle @@ -139,5 +144,4 @@ const uint8_t ball_map[] = { 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, 0x6f, 0xed, -}; - +}; |