mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-10 17:19:07 +02:00
36 lines
649 B
C++
36 lines
649 B
C++
//
|
|
// OverlayConductor.h
|
|
// interface/src/ui
|
|
//
|
|
// Copyright 2015 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
#ifndef hifi_OverlayConductor_h
|
|
#define hifi_OverlayConductor_h
|
|
|
|
class OverlayConductor {
|
|
public:
|
|
OverlayConductor();
|
|
~OverlayConductor();
|
|
|
|
void update(float dt);
|
|
void setEnabled(bool enable);
|
|
bool getEnabled() const;
|
|
|
|
private:
|
|
void updateMode();
|
|
|
|
enum Mode {
|
|
FLAT,
|
|
SITTING,
|
|
STANDING
|
|
};
|
|
|
|
Mode _mode { FLAT };
|
|
bool _enabled { false };
|
|
};
|
|
|
|
#endif
|