CmTestTextSprite.h 539 B

1234567891011121314151617181920212223242526
  1. #include "BsPrerequisites.h"
  2. #include "BsGUIWidget.h"
  3. namespace CamelotFramework
  4. {
  5. class TestTextSprite : public BansheeEngine::GUIWidget
  6. {
  7. protected:
  8. friend class CM::SceneObject;
  9. TestTextSprite(const HSceneObject& parent, CM::Viewport* target);
  10. public:
  11. ~TestTextSprite();
  12. virtual void update();
  13. void init(const BS::HCamera& camera, const String& text, CM::RenderTexturePtr sceneView);
  14. private:
  15. BS::GUILabel* mLabel;
  16. BS::GUIListBox* mListBox;
  17. HString labelString;
  18. void dbgBtn();
  19. };
  20. }