CmTestTextSprite.h 497 B

12345678910111213141516171819202122
  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, CM::RenderWindow* ownerWindow);
  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. };
  17. }