BotInformations.hpp 915 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #ifndef FREESHOP_BOTINFORMATIONS_HPP
  2. #define FREESHOP_BOTINFORMATIONS_HPP
  3. #include <cpp3ds/Graphics/Drawable.hpp>
  4. #include <cpp3ds/Graphics/Text.hpp>
  5. #include <cpp3ds/Window/Event.hpp>
  6. #include "TweenObjects.hpp"
  7. #include "TitleKeys.hpp"
  8. #include <TweenEngine/Tween.h>
  9. namespace FreeShop {
  10. class BotInformations : public cpp3ds::Drawable, public util3ds::TweenTransformable<cpp3ds::Transformable> {
  11. public:
  12. void update();
  13. BotInformations();
  14. ~BotInformations();
  15. protected:
  16. virtual void draw(cpp3ds::RenderTarget& target, cpp3ds::RenderStates states) const;
  17. private:
  18. cpp3ds::Text m_textSD;
  19. cpp3ds::Text m_textSDStorage;
  20. cpp3ds::Text m_textNAND;
  21. cpp3ds::Text m_textNANDStorage;
  22. gui3ds::NinePatch m_backgroundNAND;
  23. gui3ds::NinePatch m_backgroundSD;
  24. cpp3ds::RectangleShape m_progressBarNAND;
  25. cpp3ds::RectangleShape m_progressBarSD;
  26. };
  27. } // namespace FreeShop
  28. #endif // FREESHOP_BOTINFORMATIONS_HPP