mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Hook up the back and forward buttons to history traversal in Magic Leap Servo2D
This commit is contained in:
parent
4ead81717a
commit
c8fa64b93a
3 changed files with 67 additions and 25 deletions
|
@ -11,7 +11,7 @@
|
|||
#include <lumin/resource/PlanarResource.h>
|
||||
#include <SceneDescriptor.h>
|
||||
|
||||
typedef void* ServoInstance;
|
||||
typedef struct Opaque ServoInstance;
|
||||
|
||||
/**
|
||||
* Servo2D Landscape Application
|
||||
|
@ -104,5 +104,5 @@ private:
|
|||
lumin::Prism* prism_ = nullptr; // represents the bounded space where the App renders.
|
||||
lumin::PlanarResource* plane_ = nullptr; // the plane we're rendering into
|
||||
lumin::QuadNode* content_node_ = nullptr; // the node containing the plane
|
||||
ServoInstance servo_ = nullptr; // the servo instance we're embedding
|
||||
ServoInstance* servo_ = nullptr; // the servo instance we're embedding
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue