comparison Samples/Sdl/TrackerSampleApp.h @ 891:0aff28f15ea2

new abstraction: IViewport
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 10 Jul 2019 18:18:42 +0200
parents e3c56d4f863f
children 0c5201499af8
comparison
equal deleted inserted replaced
890:77c96ba899f9 891:0aff28f15ea2
62 TrackerSampleApp(MessageBroker& broker); 62 TrackerSampleApp(MessageBroker& broker);
63 void PrepareScene(); 63 void PrepareScene();
64 void Run(); 64 void Run();
65 void SetInfoDisplayMessage(std::string key, std::string value); 65 void SetInfoDisplayMessage(std::string key, std::string value);
66 void DisableTracker(); 66 void DisableTracker();
67
68 boost::shared_ptr<Scene2D> GetScene();
69 boost::shared_ptr<const Scene2D> GetScene() const;
70 67
71 void HandleApplicationEvent(const SDL_Event& event); 68 void HandleApplicationEvent(const SDL_Event& event);
72 69
73 /** 70 /**
74 This method is called when the scene transform changes. It allows to 71 This method is called when the scene transform changes. It allows to