mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
Add the ability to configure the Console key through the openspace.cfg (closes #2573)
This commit is contained in:
@@ -58,6 +58,8 @@ public:
|
||||
void render();
|
||||
float currentHeight() const;
|
||||
|
||||
void setCommandInputButton(Key key);
|
||||
|
||||
private:
|
||||
void parallelConnectionChanged(const ParallelConnection::Status& status);
|
||||
|
||||
@@ -71,6 +73,8 @@ private:
|
||||
properties::Vec4Property _historyTextColor;
|
||||
properties::IntProperty _historyLength;
|
||||
|
||||
Key _commandInputButton = Key::GraveAccent;
|
||||
|
||||
size_t _inputPosition = 0;
|
||||
std::vector<std::string> _commandsHistory;
|
||||
size_t _activeCommand = 0;
|
||||
|
||||
Reference in New Issue
Block a user