7// Distributed under the Apache License, Version 2.0.
8// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
9//
10
11#ifndef hifi_OverlayConductor_h
12#define hifi_OverlayConductor_h
13
14#include <cstdint>
15
16class OverlayConductor {
17public:
18 OverlayConductor();
19 ~OverlayConductor();
20
21void update(float dt);
22void centerUI();
23
24private:
25bool headNotCenteredInOverlay() const;
26
27#if !defined(DISABLE_QML)
28bool _hmdMode { false };
29#endif
30
31// This stores value of myAvatar->hasDriveInput() from previous update, so that recentering can be triggered by a rising edge of that function's output