From d0f8aec244a0d71f67863f94cab4c5f84d93de22 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Wed, 24 Apr 2024 07:44:53 +1000 Subject: feat: unicode emoji support + other stuff --- source/frontend/StarMainInterface.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source/frontend/StarMainInterface.cpp') diff --git a/source/frontend/StarMainInterface.cpp b/source/frontend/StarMainInterface.cpp index 533aa58..5163eeb 100644 --- a/source/frontend/StarMainInterface.cpp +++ b/source/frontend/StarMainInterface.cpp @@ -893,6 +893,14 @@ bool MainInterface::fixedCamera() const { return m_clientCommandProcessor->fixedCameraEnabled(); } +bool MainInterface::hudVisible() const { + return !m_disableHud; +} + +void MainInterface::setHudVisible(bool visible) { + m_disableHud = !visible; +} + void MainInterface::warpToOrbitedWorld(bool deploy) { if (m_client->canBeamDown(deploy)) { if (deploy) -- cgit v1.2.3